特殊:Badtitle/NS100:UbuntuLTSP/LTSPCrossArchSetup:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第29行: 第29行:
<pre><nowiki>
<pre><nowiki>
sudo apt-get install ltsp-server
sudo apt-get install ltsp-server
</nowiki></pre>
<pre><nowiki>
sudo apt-get install nfs-kernel-server
</nowiki></pre>
</nowiki></pre>
If /opt/ltsp does not exist locally, make it.  
If /opt/ltsp does not exist locally, make it.  
第57行: 第60行:
/!\ Note that powerpc clients need some special options in the servers dhcp setup.
/!\ Note that powerpc clients need some special options in the servers dhcp setup.
----
----
[[category:CategoryDocumentation]]
[[category:CategoryDocumentation]] [[category:CategoryDocumentation]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2008年4月23日 (三) 12:00的版本

{{#ifexist: :UbuntuLTSP/LTSPCrossArchSetup/zh | | {{#ifexist: UbuntuLTSP/LTSPCrossArchSetup/zh | | {{#ifeq: {{#titleparts:UbuntuLTSP/LTSPCrossArchSetup|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UbuntuLTSP/LTSPCrossArchSetup|1|-1|}} | zh | | }}

This page describes how to set up an ubuntu LTSP server with Thin Clients that use a different CPU architecture (for example iMacs as thin clients on an i386 server)

Preparing the Server

First you need to install the essential LTSP services on the server:

sudo apt-get install ltsp-server-standalone openssh-server

Now you need to temporary enable read/write access the the LTSP root to set up the Thin Client environment over the network.

gksudo gedit /etc/exports

edit:

/opt/ltsp       *(ro,no_root_squash,async)

to be:

/opt/ltsp       *(rw,no_root_squash,async)

save the file and run:

sudo /etc/init.d/nfs-kernel-server restart

Follow the instructions on LTSPServerSetup and start the dhcp server. Your server is now prepared for the installation of the Thin Client environment. Attach one of the clients to the network and boot it from an ubuntu live CD.

Installing the Client Environment

Install the ltsp-server package on the liveCD to get the necessary tools you need.

sudo apt-get install ltsp-server
sudo apt-get install nfs-kernel-server

If /opt/ltsp does not exist locally, make it.

mkdir /opt/ltsp

Mount the /opt/ltsp directory from the server on the client via nfs:

sudo mount <yourserverip>:/opt/ltsp /opt/ltsp

Now run:

sudo ltsp-build-client

This will install a Thin Client environment for the clients CPU architecture on the server. You can take a coffeebreak now, building the client takes some time. After the building is finished, you can shut down the client again.

Finishing and cleaning up after you

Back on the server you need to do some cleanup and tell ltsp to use the right kernel for the installed Thin Client architecture. First revert the change you made in /etc/exports before and restart the nfs-kernel-server again, to make sure all is safe. Then run:

sudo ltsp-update-kernels

and

sudo ltsp-update-sshkeys

Thats it, now your ubuntu ltsp server should be able to serve Thin Clients of a different architecture than the LTSP server has. /!\ Note that powerpc clients need some special options in the servers dhcp setup.