1.安裝 CentOS-7-x86_64-Minimal-1708.iso
2.安裝相關 rpm
rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y tcsh libhwloc* jemalloc libmunge* perl-Env perl-XML-Simple xterm mailx db4-utils xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi lesstif
yum groupinstall "X Window System" -y
yum install -y java gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts
rpm -ivh https://copr-be.cloud.fedoraproject.org/results/loveshack/SGE/epel-7-x86_64/00164467-gridengine/gridengine-8.1.9-1.el7.centos.x86_64.rpm
rpm -ivh https://copr-be.cloud.fedoraproject.org/results/loveshack/SGE/epel-7-x86_64/00164467-gridengine/gridengine-execd-8.1.9-1.el7.centos.x86_64.rpm
rpm -ivh https://copr-be.cloud.fedoraproject.org/results/loveshack/SGE/epel-7-x86_64/00164467-gridengine/gridengine-qmaster-8.1.9-1.el7.centos.x86_64.rpm
rpm -ivh https://copr-be.cloud.fedoraproject.org/results/loveshack/SGE/epel-7-x86_64/00164467-gridengine/gridengine-qmon-8.1.9-1.el7.centos.x86_64.rpm
rpm -ivh https://copr-be.cloud.fedoraproject.org/results/loveshack/SGE/epel-7-x86_64/00164467-gridengine/gridengine-guiinst-8.1.9-1.el7.centos.noarch.rpm
3.進入 X window
4.執行 /opt/sge/start_gui_installer 安裝 SGE
2018年3月30日 星期五
2018年3月17日 星期六
Ubuntu 16 安裝 Glusterfs 摘要
安裝環境 Ubuntu 16
主機名稱 ubuntu
1.安裝設定
apt-get install glusterfs*
systemctl start glusterfs-server
systemctl enable glusterfs-server
2.建立單一節點 test volume
gluster volume create test ubuntu:/brick1 ubuntu:/brick2 ubuntu:/brick3
3.設定 test volume 支援 NFS 存取
gluster volume start test
systemctl start rpcbind
gluster volume set volume_name nfs.disable off
gluster volume stop test
gluster volume start test
主機名稱 ubuntu
1.安裝設定
apt-get install glusterfs*
systemctl start glusterfs-server
systemctl enable glusterfs-server
2.建立單一節點 test volume
gluster volume create test ubuntu:/brick1 ubuntu:/brick2 ubuntu:/brick3
3.設定 test volume 支援 NFS 存取
gluster volume start test
systemctl start rpcbind
gluster volume set volume_name nfs.disable off
gluster volume stop test
gluster volume start test
2018年3月16日 星期五
Torque 安裝(torque-6.1.2)
1.作業系統環境 CentOS Linux release 7.4.1708 (Core) Minimal 安裝
2.相關開發軟體安裝
yum install -y libtool openssl-devel libxml2-devel gcc gcc-c++ make boost-devel wget libcgroup-tools
3.安裝 hwloc 1.9.1
yum remove hwloc -y
wget https://www.open-mpi.org/software/hwloc/v1.9/downloads/hwloc-1.9.1.tar.gz
tar -xzvf hwloc-1.9.1.tar.gz
cd hwloc-1.9.1
./configure
make
make install
echo /usr/local/lib >/etc/ld.so.conf.d/hwloc.conf
ldconfig
cd $OLDPWD
4.安裝 torque (預設環境變數 /var/spool/torque/)
wget http://wpfilebase.s3.amazonaws.com/torque/torque-6.1.2.tar.gz
tar -xzvf torque-6.1.2.tar.gz
cd torque-6.1.2
./configure --enable-cgroups --with-hwloc-path=/usr/local
make
make install
./torque.setup root
systemctl start pbs_server
systemctl enable pbs_server
systemctl start pbs_mom
systemctl enable pbs_mom
systemctl enable trqauthd
systemctl start trqauthd
systemctl start pbs_sched
systemctl start pbs_sched
5.建立 Torque Package 提供 運算節點軟體安裝
make packages
產生
torque-package-clients-linux-x86_64.sh
torque-package-devel-linux-x86_64.sh
torque-package-doc-linux-x86_64.sh
torque-package-mom-linux-x86_64.sh
torque-package-server-linux-x86_64.sh
6.設定
編輯 /var/spool/torque/server_priv/nodes 內容如下
headnode
n1
n2
編輯 /var/spool/torque/mom_priv/config 內容如下
$pbsserver headnode
$logevent 225
7建立 queue
qmgr -c "create queue dque queue_type=execution"
qmgr -c "set server default_queue=dque"
qmgr -c "set queue dque started=true"
qmgr -c "set queue dque enabled=true"
qmgr -c "set server scheduling=true"
8.測試
pbsnode -a
echo test | qsub
2.相關開發軟體安裝
yum install -y libtool openssl-devel libxml2-devel gcc gcc-c++ make boost-devel wget libcgroup-tools
3.安裝 hwloc 1.9.1
yum remove hwloc -y
wget https://www.open-mpi.org/software/hwloc/v1.9/downloads/hwloc-1.9.1.tar.gz
tar -xzvf hwloc-1.9.1.tar.gz
cd hwloc-1.9.1
./configure
make
make install
echo /usr/local/lib >/etc/ld.so.conf.d/hwloc.conf
ldconfig
cd $OLDPWD
4.安裝 torque (預設環境變數 /var/spool/torque/)
wget http://wpfilebase.s3.amazonaws.com/torque/torque-6.1.2.tar.gz
tar -xzvf torque-6.1.2.tar.gz
cd torque-6.1.2
./configure --enable-cgroups --with-hwloc-path=/usr/local
make
make install
./torque.setup root
systemctl start pbs_server
systemctl enable pbs_server
systemctl start pbs_mom
systemctl enable pbs_mom
systemctl enable trqauthd
systemctl start trqauthd
systemctl start pbs_sched
systemctl start pbs_sched
5.建立 Torque Package 提供 運算節點軟體安裝
make packages
產生
torque-package-clients-linux-x86_64.sh
torque-package-devel-linux-x86_64.sh
torque-package-doc-linux-x86_64.sh
torque-package-mom-linux-x86_64.sh
torque-package-server-linux-x86_64.sh
6.設定
編輯 /var/spool/torque/server_priv/nodes 內容如下
headnode
n1
n2
編輯 /var/spool/torque/mom_priv/config 內容如下
$pbsserver headnode
$logevent 225
7建立 queue
qmgr -c "create queue dque queue_type=execution"
qmgr -c "set server default_queue=dque"
qmgr -c "set queue dque started=true"
qmgr -c "set queue dque enabled=true"
qmgr -c "set server scheduling=true"
8.測試
pbsnode -a
echo test | qsub
Torque 運算節點安裝(torque-6.1.2)
1.作業系統環境 CentOS Linux release 7.4.1708 (Core) Minimal 安裝
2.安裝 hwloc 1.9.1套件
yum remove hwloc -y
yum install -y libcgroup-tools make gcc wget
wget https://www.open-mpi.org/software/hwloc/v1.9/downloads/hwloc-1.9.1.tar.gz
tar -xzvf hwloc-1.9.1.tar.gz||exit 1;
cd hwloc-1.9.1
./configure
make
make install
echo /usr/local/lib >/etc/ld.so.conf.d/hwloc.conf
ldconfig
3.由 pbs_server 複製 torque-package-相關套件
4.安裝 torque 相關套件
./torque-package-clients-linux-x86_64.sh --install
./torque-package-mom-linux-x86_64.sh --install
systemctl enable pbs_mom
systemctl start pbs_mom
systemctl enable trqauthd
systemctl start trqauthd
5.測試
pbsnode -a
2.安裝 hwloc 1.9.1套件
yum remove hwloc -y
yum install -y libcgroup-tools make gcc wget
wget https://www.open-mpi.org/software/hwloc/v1.9/downloads/hwloc-1.9.1.tar.gz
tar -xzvf hwloc-1.9.1.tar.gz||exit 1;
cd hwloc-1.9.1
./configure
make
make install
echo /usr/local/lib >/etc/ld.so.conf.d/hwloc.conf
ldconfig
3.由 pbs_server 複製 torque-package-相關套件
4.安裝 torque 相關套件
./torque-package-clients-linux-x86_64.sh --install
./torque-package-mom-linux-x86_64.sh --install
systemctl enable pbs_mom
systemctl start pbs_mom
systemctl enable trqauthd
systemctl start trqauthd
5.測試
pbsnode -a
2018年3月10日 星期六
Raspberry pi 安裝 danted 摘要
安裝
apt-get install dante-server
cd /lib/arm-linux-gnueabihf
ln -s libc.so.6 libc.so
設定摘要
/etc/danted.conf
logoutput: syslog stdout /var/log/danted.log
internal: 192.168.2.11 port = 1080
external: 192.168.8.105
method: username none
pass {
from: 192.168.0.0/24 to: 0.0.0.0/0
protocol: tcp udp
}
apt-get install dante-server
cd /lib/arm-linux-gnueabihf
ln -s libc.so.6 libc.so
設定摘要
/etc/danted.conf
logoutput: syslog stdout /var/log/danted.log
internal: 192.168.2.11 port = 1080
external: 192.168.8.105
method: username none
pass {
from: 192.168.0.0/24 to: 0.0.0.0/0
protocol: tcp udp
}
Raspberry pi 連線 PPTP
安裝
apt-get update -y
apt-get upgrade -y
apt-get install pptpd
apt-get install -y pptp-linux
設定
pptpsetup --create $TUNNEL--server $SERVER --username $USERNAME --password $PASSWORD --encrypt --
相關設定檔及指令
/etc/ppp/chap-secrets
/etc/ppp/peers/toVigor
pppd call
pkill pppd
apt-get update -y
apt-get upgrade -y
apt-get install pptpd
apt-get install -y pptp-linux
設定
pptpsetup --create $TUNNEL
相關設定檔及指令
/etc/ppp/chap-secrets
/etc/ppp/peers/toVigor
pppd call
pkill pppd
訂閱:
文章 (Atom)