利用LTSP建構无硬盘工作站
时间:2006-11-04 来源:0217
首先,我們必須由開發此系統的網站中下載一些軟體,至少需包含下列套件:
ltsp_core-3.0.5-0.i386.rpm - LTSP 套件
ltsp_kernel-3.0.4-0.i386.rpm – 啟動工作站的 linux 核心
ltsp_xcore-3.0.1-1.i386.rpm – 工作站的 X-Windows ( for kernel 4x 版 )
如果你想要用很老舊的個人電腦?碜鞯脑挘惚仨毴ハ螺d一些與 X-Windows 3.3.6有關的套件使我們現有的顯示卡能達到較佳的效果。
至於工作站在音效上的支援,我們所需要的套件為 ltsp_sound-3.0.1.i386.tgz。我個人認為如非必要,不要在上頭使用音效,因為它很?拙W路頻寬。
還有,我們在安裝 LTSP 前必須先裝好 DHCP, tftp-server 及 nfs-utils。
現在讓我們開始架設 LTSP 吧 !!
先安装rpm -ihv ltsp_kernel-3.0.4-0.i386.rpm ltsp_core-3.0.5-0.i386.rpm ltsp_xcore-3.0.1-1.i386.rpm
然后运行:ltspadmin会显示
ltspadmin - v0.17 LTSP dir: /opt/ltsp-4.2
LTSP Administration Utility
Install/Update LTSP Packages
Configure the installer options
Configure LTSP
Quit the administration program
看到这些后,你就可以进行配置
STEP1 :Configure the installer options ENTER
LTSP Installer configuration
会出现如果下配置文件
Where to retrieve packages from?
[http://10.0.2.224/STUDY/LTSP/ltspins/]
STEP2: Install/Update LTSP Packages
会出现如下配置文件:
ltspadmin - v0.17 LTSP dir: /opt/ltsp-4.2
Retrieving list of packages from http://10.0.2.224/STUDY/LTSP/ltspins/...
500 Can't connect to 10.0.2.224:80 (connect: No route to host)
Status: 500 Can't connect to 10.0.2.224:80 (connect: No route to host)
Unable to retrieve list of packages!
Press <enter> to return to main menu
STEP3:
Configure LTSP ENTER
会出现下面的字
ltspcfg - Version 0.16
Checking Runlevel....: 5
Checking Ethernet Interfaces
Checking Dhcpd.....
Checking Tftpd.......
Checking Portmapper...
Checking nfs..../etc/host.conf: line 1: expected service, found `zhanggencai,bind'
Checking xdmcp............Found: xdm, gdm, kdm Using: gdm
Checking /etc/hosts.
Checking /etc/hosts.allow.
Checking /etc/exports.
Checking lts.conf.
Press <enter> to continue..
再按ENTER
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
S - Show the status of all services
C - Configure the services manually
Q - Quit
Make a selection:
step4: 按C一个个的配置 就可以了
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
1 - Runlevel
2 - Interface selection
3 - DHCP configuration
4 - TFTP configuration
5 - Portmapper configuration
6 - NFS configuration
7 - XDMCP configuration
8 - Create /etc/hosts entries
9 - Create /etc/hosts.allow entries
10 - Create /etc/exports entries
11 - Create lts.conf file
R - Return to previous menu
Q - Quit
Make a selection:
注:7第二个(yes/no)这个要选NO
step5:按S可以看到服务的启动情况和配置
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used
eth0 10.0.2.176 255.255.255.0 10.0.2.0 10.0.2.255 <-----
vmnet1 172.16.168.1 255.255.255.0 172.16.168.0 172.16.168.255
vmnet8 192.168.72.1 255.255.255.0 192.168.72.0 192.168.72.255
Service Installed Enabled Running Notes
dhcpd Yes Yes Yes Version 3
tftpd Yes Yes Yes Has '-s' flag
portmapper Yes Yes Yes
nfs Yes Yes Yes
xdmcp Yes Yes Yes xdm, gdm, kdm Using: gdm
File Configured Notes
/etc/hosts Yes
/etc/hosts.allow Yes
/etc/exports no
/opt/ltsp-4.2/i386/etc/lts.conf Yes
Configured runlevel: 5 (value of initdefault in /etc/inittab)
Current runlevel: 5 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp-4.2
Press <enter> to return to the main menu...
最后启动一些那没有启动的文件
这样就完成了!!
ltsp_core-3.0.5-0.i386.rpm - LTSP 套件
ltsp_kernel-3.0.4-0.i386.rpm – 啟動工作站的 linux 核心
ltsp_xcore-3.0.1-1.i386.rpm – 工作站的 X-Windows ( for kernel 4x 版 )
如果你想要用很老舊的個人電腦?碜鞯脑挘惚仨毴ハ螺d一些與 X-Windows 3.3.6有關的套件使我們現有的顯示卡能達到較佳的效果。
至於工作站在音效上的支援,我們所需要的套件為 ltsp_sound-3.0.1.i386.tgz。我個人認為如非必要,不要在上頭使用音效,因為它很?拙W路頻寬。
還有,我們在安裝 LTSP 前必須先裝好 DHCP, tftp-server 及 nfs-utils。
現在讓我們開始架設 LTSP 吧 !!
先安装rpm -ihv ltsp_kernel-3.0.4-0.i386.rpm ltsp_core-3.0.5-0.i386.rpm ltsp_xcore-3.0.1-1.i386.rpm
然后运行:ltspadmin会显示
ltspadmin - v0.17 LTSP dir: /opt/ltsp-4.2
LTSP Administration Utility
Install/Update LTSP Packages
Configure the installer options
Configure LTSP
Quit the administration program
看到这些后,你就可以进行配置
STEP1 :Configure the installer options ENTER
LTSP Installer configuration
会出现如果下配置文件
Where to retrieve packages from?
[http://10.0.2.224/STUDY/LTSP/ltspins/]
STEP2: Install/Update LTSP Packages
会出现如下配置文件:
ltspadmin - v0.17 LTSP dir: /opt/ltsp-4.2
Retrieving list of packages from http://10.0.2.224/STUDY/LTSP/ltspins/...
500 Can't connect to 10.0.2.224:80 (connect: No route to host)
Status: 500 Can't connect to 10.0.2.224:80 (connect: No route to host)
Unable to retrieve list of packages!
Press <enter> to return to main menu
STEP3:
Configure LTSP ENTER
会出现下面的字
ltspcfg - Version 0.16
Checking Runlevel....: 5
Checking Ethernet Interfaces
Checking Dhcpd.....
Checking Tftpd.......
Checking Portmapper...
Checking nfs..../etc/host.conf: line 1: expected service, found `zhanggencai,bind'
Checking xdmcp............Found: xdm, gdm, kdm Using: gdm
Checking /etc/hosts.
Checking /etc/hosts.allow.
Checking /etc/exports.
Checking lts.conf.
Press <enter> to continue..
再按ENTER
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
S - Show the status of all services
C - Configure the services manually
Q - Quit
Make a selection:
step4: 按C一个个的配置 就可以了
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
1 - Runlevel
2 - Interface selection
3 - DHCP configuration
4 - TFTP configuration
5 - Portmapper configuration
6 - NFS configuration
7 - XDMCP configuration
8 - Create /etc/hosts entries
9 - Create /etc/hosts.allow entries
10 - Create /etc/exports entries
11 - Create lts.conf file
R - Return to previous menu
Q - Quit
Make a selection:
注:7第二个(yes/no)这个要选NO
step5:按S可以看到服务的启动情况和配置
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used
eth0 10.0.2.176 255.255.255.0 10.0.2.0 10.0.2.255 <-----
vmnet1 172.16.168.1 255.255.255.0 172.16.168.0 172.16.168.255
vmnet8 192.168.72.1 255.255.255.0 192.168.72.0 192.168.72.255
Service Installed Enabled Running Notes
dhcpd Yes Yes Yes Version 3
tftpd Yes Yes Yes Has '-s' flag
portmapper Yes Yes Yes
nfs Yes Yes Yes
xdmcp Yes Yes Yes xdm, gdm, kdm Using: gdm
File Configured Notes
/etc/hosts Yes
/etc/hosts.allow Yes
/etc/exports no
/opt/ltsp-4.2/i386/etc/lts.conf Yes
Configured runlevel: 5 (value of initdefault in /etc/inittab)
Current runlevel: 5 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp-4.2
Press <enter> to return to the main menu...
最后启动一些那没有启动的文件
这样就完成了!!
相关阅读 更多 +