1.安裝CentOS選擇Desktop for gnome並在開頭時選中文
2.安裝xs-tools.iso
3.
cp /etc/gdm/custom.conf /etc/gdm.conf
4.
vi /etc/gdm/gdm.conf
0=VNC
[server-VNC]
name=VNC Server
command=/usr/bin/Xvnc -SecurityTypes None -geometry 1024x768 -depth 16 \
-BlacklistTimeout 0
flexible=true
[servers]
5.
6.
vi /etc/inittab
改成runlevel 5
7.
system-config-securitylevel-tui
5900
1.安裝EPEL software repository
RHEL5 EPEL rpm來源
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
2.安裝Transmission
3.
注意在script中=兩邊不要有空白,不然在crontab中執行時會錯誤
/etc/httpd/conf/httpd.conf
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 1
/etc/sysctl.conf
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
sysctl -p
加入新安裝的網卡,前提是要先查看os是否認得這張網卡
lspci #查看你的網卡有被認出來嗎
lsmod |grep -i e1000e #該網卡的模組有上了嗎
mii-tool #測試網路有沒有通
ethtool eth1
取得host uuid然後run pif-scan
xe host-list
uuid ( RO) : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
xe pif-scan host-uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
軟體名稱:Free PC Audit
官方網站:按這裡
在客戶主機
以Red Hat Enterprise Linux DVD光碟開機,並在畫面上出現boot:之後輸入
boot: linux vnc ip=192.168.0.100 netmask=255.255.255.0 dns=168.95.192.1 gateway=192.168.0.254 vncpassword=1233211234567
PS:假設192.168.0.100為Public IP:1
在我的電腦
開啟vncviewer(不管Linux或Windows平台皆可),並輸入客戶主機的IP:1,如192.168.0.100
輸入連接VNC Server所需的密碼,本範例為1233211234567
接著客戶端主機的畫面就會呈現在vncviewer上,我們就可以像是坐在客戶主機前面一樣,把系統裝好