个人工具

“UbuntuHelp:UbuntuLTSP/BuildLTSPWithAptCacher”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/UbuntuLTSP/BuildLTSPWithAptCacher}} {{Languages|UbuntuHelp:UbuntuLTSP/BuildLTSPWithAptCacher}} If you have a apt proxy, you can use the --mirror o...)
 
第5行: 第5行:
 
sudo ltsp-build-client --mirror http://your.apt-cacher.server:3142/archive.ubuntu.com/ubuntu
 
sudo ltsp-build-client --mirror http://your.apt-cacher.server:3142/archive.ubuntu.com/ubuntu
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Note 1: your.apt-cacher.server should be put as an IP, because dns translation could not work all over the ltsp-build-client script.
 
Note 1: your.apt-cacher.server should be put as an IP, because dns translation could not work all over the ltsp-build-client script.
 
 
Note 2: archive.ubuntu.com should be substituted with the ubuntu mirror you have in your /etc/apt/sources.list.
 
Note 2: archive.ubuntu.com should be substituted with the ubuntu mirror you have in your /etc/apt/sources.list.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 21:51的版本

If you have a apt proxy, you can use the --mirror option to download the ltsp-build-client packages from the proxy and earn bandwith and time. For example, with apt-cacher you must type:

sudo ltsp-build-client --mirror http://your.apt-cacher.server:3142/archive.ubuntu.com/ubuntu

Note 1: your.apt-cacher.server should be put as an IP, because dns translation could not work all over the ltsp-build-client script. Note 2: archive.ubuntu.com should be substituted with the ubuntu mirror you have in your /etc/apt/sources.list.