星期四, 10月 20, 2005

VServer in Debian

抄這一篇(http://yungyuc.net/395#comments)文章,
先在/etc/apt/sources.list中加入unstable 的source site:
deb ftp://ftp.us.debian.org/debian/ unstable main non-free contrib
deb-src ftp://ftp.us.debian.org/debian/ unstable main non-free contrib
為了預防”全面升級”,在/etc/apt/apt.conf.d中增加一個10stable檔,內容是:
APT::Default-Release "stable"
當然,做完後要
#apt-get update
OK,可以開始安裝package了:
$ apt-get install -t unstable kernel-patch-vserver util-vserver vserver-debiantools
$ apt-get install -t unstable linux-source-2.6.12
install unstable的patch時,會自動upgrade libc6, libc6-dev, libgccl ----
,,,Q_Q既然libc6都upgrade了,run vserver好像也沒有意義了,當初裝vserver就是要在裡面upgrade libc6...
果然,問你要不要立即upgrade glibc,並且幫你stop 相關process,然後是service...慘,ssh也在裡面,這時候restart ssh,process不就斷了。只好回答不要。待會再reboot。

沒有留言:

網誌存檔