LTSP的安装。

简介:
1 安装ltsp。
安装方法参见:
https://help.ubuntu.com/community/UbuntuLTSP/LTSPQuickInstall
或者除Ubuntu其它版本参见:
http://wiki.ltsp.org/twiki/bin/view/Ltsp/DownLoads
桌面版本安装:
运行:
sudo apt-get install ltsp-server-standalone openssh-server
然后运行下面命令编译客户端image:

sudo ltsp-build-client
执行上面第一步时,遇到错误:
正在设置 dhcp3-server (3.1.2-1ubuntu7) ...
Generating /etc/default/dhcp3-server...     
* Starting DHCP server dhcpd3                                                                                                     * check syslog for diagnostics.                                                                                                
                                                                                                                                                  [fail] 
invoke-rc.d: initscript dhcp3-server, action "start" failed.                                        

正在设置 libpulse0 (1:0.9.19-0ubuntu4) ...

正在设置 gstreamer0.10-pulseaudio (0.10.16-1ubuntu3) ...
正在设置 openbsd-inetd (0.20080125-2ubuntu1) ...                
* Stopping internet superserver inetd                                                                     [ OK ] 
* Not starting internet superserver: no services enabled                                             

正在设置 ldm-server (2:2.0.48-0ubuntu1) ...

正在设置 libasound2-plugins (1.0.20-1ubuntu8) ...
正在设置 libpulse-browse0 (1:0.9.19-0ubuntu4) ...

正在设置 libspeexdsp1 (1.2~rc1-1) ...

正在设置 libtdb1 (1.1.5-1) ...

正在设置 debootstrap (1.0.20) ...
正在设置 tftpd-hpa (0.49-1) ...    
tftpd-hpa disabled in /etc/default/tftpd-hpa

正在设置 nbd-server (1:2.9.11-2ubuntu1) ...
正在添加系统用户"nbd" (UID 112)...
正在添加新组"nbd" (GID 120)...
正在将新用户"nbd" (UID 112)添加到组"nbd"...
无法创建主目录"/etc/nbd-server"

** (process:3236): WARNING **: Could not parse config file: Could not open config file.
** Message: Nothing to do! Bye!
nbd-server.

正在设置 squashfs-tools (1:4.0-1) ...
正在设置 ltsp-server (5.1.90-0ubuntu3) ...

正在设置 ltspfs (0.5.13-1) ...

正在设置 openssh-server (1:5.1p1-6ubuntu2) ...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
* Restarting OpenBSD Secure Shell server sshd                                                     [ OK ]

正在设置 xbase-clients (1:7.4+3ubuntu7) ...

正在设置 ltsp-server-standalone (5.1.90-0ubuntu3) ...
* Stopping DHCP server dhcpd3                                                                                      [fail]
* Starting DHCP server dhcpd3                                                                                                     * check syslog for diagnostics.
                                                                                                                                                  [fail]
invoke-rc.d: initscript dhcp3-server, action "force-reload" failed.

正在设置 pulseaudio-utils (1:0.9.19-0ubuntu4) ...
正在设置 pulseaudio-module-udev (1:0.9.19-0ubuntu4) ...
正在设置 pulseaudio (1:0.9.19-0ubuntu4) ...
Adding user pulse to group audio
* PulseAudio configured for per-user sessions

正在设置 pulseaudio-esound-compat (1:0.9.19-0ubuntu4) ...
正在设置 pulseaudio-module-x11 (1:0.9.19-0ubuntu4) ...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
jelly@jelly-kubuntu9:~$

查看syslog:
jelly@jelly-kubuntu9:~$ more /var/log/syslog
Oct 28 23:01:16 jelly-kubuntu9 anacron[838]: Job `cron.daily' terminated
Oct 28 23:01:16 jelly-kubuntu9 anacron[838]: Normal exit (1 job run)        
Oct 28 23:17:02 jelly-kubuntu9 CRON[2397]: (root) CMD (     cd / && run-parts --re
port /etc/cron.hourly)                                                                                                                    
Oct 28 23:20:48 jelly-kubuntu9 kernel: [ 1712.285787] type=1505 audit(1256743248
.788:16): operation="profile_load" pid=2987 name=/usr/sbin/dhcpd3                             
Oct 28 23:20:48 jelly-kubuntu9 dhcpd: Internet Systems Consortium DHCP Server V3
.1.2                                                                                                                                                        
Oct 28 23:20:48 jelly-kubuntu9 dhcpd: Copyright 2004-2008 Internet Systems Conso
rtium.                                                                                                                                                    
Oct 28 23:20:48 jelly-kubuntu9 dhcpd: All rights reserved.                                            
Oct 28 23:20:48 jelly-kubuntu9 dhcpd: For info, please visit http://www.isc.org/
sw/dhcp/                                                                                                                                                
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: Internet Systems Consortium DHCP Server V3
.1.2
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: Copyright 2004-2008 Internet Systems Conso
rtium.
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: All rights reserved.
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: For info, please visit http://www.isc.org/
sw/dhcp/
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: Wrote 0 leases to leases file.
Oct 28 23:20:49 jelly-kubuntu9 dhcpd:
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: No subnet declaration for eth0 (192.168.2.
103).
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: ** Ignoring requests on eth0.    If this is
not what
Oct 28 23:20:49 jelly-kubuntu9 dhcpd:        you want, please write a subnet declara
tion
Oct 28 23:20:49 jelly-kubuntu9 dhcpd:        in your dhcpd.conf file for the network
segment
Oct 28 23:20:49 jelly-kubuntu9 dhcpd:        to which interface eth0 is attached. **
Oct 28 23:20:49 jelly-kubuntu9 dhcpd:
Oct 28 23:20:49 jelly-kubuntu9 dhcpd:
Oct 28 23:20:49 jelly-kubuntu9 dhcpd: Not configured to listen on any interfaces
!
Oct 28 23:21:00 jelly-kubuntu9 dhcpd: Wrote 0 leases to leases file.
Oct 28 23:21:00 jelly-kubuntu9 dhcpd:
Oct 28 23:21:00 jelly-kubuntu9 dhcpd: No subnet declaration for eth0 (192.168.2.
103).
Oct 28 23:21:00 jelly-kubuntu9 dhcpd: ** Ignoring requests on eth0.    If this is
not what
Oct 28 23:21:00 jelly-kubuntu9 dhcpd:        you want, please write a subnet declara
tion
Oct 28 23:21:00 jelly-kubuntu9 dhcpd:        in your dhcpd.conf file for the network
segment
Oct 28 23:21:00 jelly-kubuntu9 dhcpd:        to which interface eth0 is attached. **
Oct 28 23:21:00 jelly-kubuntu9 dhcpd:
Oct 28 23:21:00 jelly-kubuntu9 dhcpd:
Oct 28 23:21:00 jelly-kubuntu9 dhcpd: Not configured to listen on any interfaces
!
jelly@jelly-kubuntu9:~$
jelly@jelly-kubuntu9:~$












本文转sinojelly51CTO博客,原文链接:http://blog.51cto.com/sinojelly/218149 ,如需转载请自行联系原作者
相关文章
|
9月前
|
NoSQL 网络安全 Redis
redisd的简易安装运用
redisd的简易安装运用
46 0
WinDriver 安装
WinDriver 安装
108 0
安装
安装
86 0
安装
|
算法 Ubuntu Linux
fsarchiver安装及使用
fsarchiver安装及使用
567 0
RedisClient 安装
RedisClient 安装
422 0
RedisClient 安装
|
网络协议 MySQL 关系型数据库
|
虚拟化 数据安全/隐私保护 Windows
|
Android开发 uml Windows