特殊:Badtitle/NS100:UbuntuLTSP/LTSPCrossArchSetup:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第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的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/UbuntuLTSP/LTSPCrossArchSetup }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/af | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Afrikaans| [[::UbuntuLTSP/LTSPCrossArchSetup/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ar | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|العربية| [[::UbuntuLTSP/LTSPCrossArchSetup/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/az | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|azərbaycanca| [[::UbuntuLTSP/LTSPCrossArchSetup/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/bcc | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|جهلسری بلوچی| [[::UbuntuLTSP/LTSPCrossArchSetup/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/bg | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|български| [[::UbuntuLTSP/LTSPCrossArchSetup/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/br | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|brezhoneg| [[::UbuntuLTSP/LTSPCrossArchSetup/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ca | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|català| [[::UbuntuLTSP/LTSPCrossArchSetup/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/cs | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|čeština| [[::UbuntuLTSP/LTSPCrossArchSetup/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/de | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Deutsch| [[::UbuntuLTSP/LTSPCrossArchSetup/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/el | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Ελληνικά| [[::UbuntuLTSP/LTSPCrossArchSetup/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/es | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|español| [[::UbuntuLTSP/LTSPCrossArchSetup/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/fa | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|فارسی| [[::UbuntuLTSP/LTSPCrossArchSetup/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/fi | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|suomi| [[::UbuntuLTSP/LTSPCrossArchSetup/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/fr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|français| [[::UbuntuLTSP/LTSPCrossArchSetup/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/gu | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|ગુજરાતી| [[::UbuntuLTSP/LTSPCrossArchSetup/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/he | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|עברית| [[::UbuntuLTSP/LTSPCrossArchSetup/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/hu | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|magyar| [[::UbuntuLTSP/LTSPCrossArchSetup/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/id | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Bahasa Indonesia| [[::UbuntuLTSP/LTSPCrossArchSetup/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/it | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|italiano| [[::UbuntuLTSP/LTSPCrossArchSetup/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ja | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|日本語| [[::UbuntuLTSP/LTSPCrossArchSetup/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ko | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|한국어| [[::UbuntuLTSP/LTSPCrossArchSetup/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ksh | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Ripoarisch| [[::UbuntuLTSP/LTSPCrossArchSetup/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/mr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|मराठी| [[::UbuntuLTSP/LTSPCrossArchSetup/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ms | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Bahasa Melayu| [[::UbuntuLTSP/LTSPCrossArchSetup/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/nl | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Nederlands| [[::UbuntuLTSP/LTSPCrossArchSetup/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/no | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|norsk| [[::UbuntuLTSP/LTSPCrossArchSetup/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/oc | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|occitan| [[::UbuntuLTSP/LTSPCrossArchSetup/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/pl | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|polski| [[::UbuntuLTSP/LTSPCrossArchSetup/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/pt | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|português| [[::UbuntuLTSP/LTSPCrossArchSetup/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ro | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|română| [[::UbuntuLTSP/LTSPCrossArchSetup/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/ru | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|русский| [[::UbuntuLTSP/LTSPCrossArchSetup/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/si | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|සිංහල| [[::UbuntuLTSP/LTSPCrossArchSetup/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/sq | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|shqip| [[::UbuntuLTSP/LTSPCrossArchSetup/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/sr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|српски / srpski| [[::UbuntuLTSP/LTSPCrossArchSetup/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/sv | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|svenska| [[::UbuntuLTSP/LTSPCrossArchSetup/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/th | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|ไทย| [[::UbuntuLTSP/LTSPCrossArchSetup/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/tr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Türkçe| [[::UbuntuLTSP/LTSPCrossArchSetup/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/vi | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|Tiếng Việt| [[::UbuntuLTSP/LTSPCrossArchSetup/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/yue | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|粵語| [[::UbuntuLTSP/LTSPCrossArchSetup/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/zh | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|中文| [[::UbuntuLTSP/LTSPCrossArchSetup/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/zh-hans | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|中文(简体)| [[::UbuntuLTSP/LTSPCrossArchSetup/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup | {{#if: | :}}UbuntuLTSP/LTSPCrossArchSetup}}/zh-hant | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|中文(繁體)| [[::UbuntuLTSP/LTSPCrossArchSetup/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:UbuntuLTSP/LTSPCrossArchSetup|:UbuntuLTSP/LTSPCrossArchSetup|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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.