template Debian etch [message #4595] |
Sun, 16 July 2006 15:19 |
weldpua2008
Messages: 58 Registered: July 2006
|
Member |
|
|
Здравствуйте многоуважаемые All.
Хочу создать свой темплайт Дебиан ЕТЧ.
Сделал как тут написано:
http://wiki.openvz.org/Debian_template_creation#Customizing_ the_installation
debootstrap --arch i386 etch /vz/etch file://cdrom/debian
ЗЫ: У мну АСПлинукс 10. Установил на него debootstrap 0.33 (alien-ом сгенерировал).
В общем установилась базовая система, Я установил в базовом АСПе vsftpd. Потом: mount -t iso9660 /dev/cdrom /var/ftp/pub
Потом tar -cvf /vz/debian-3.1.tar /vz/etch/
gzip /vz/debian-3.1.tar
vzctl create 800 --ostemplate debian-3.1
vzctl set 800 --hostname ovz800 --save
vzctl set 800 --ipadd 192.168.10.6 --save
Изменил:
cat /vz/private/800/etc/apt/sources.list
deb ftp://192.168.129.146/pub/debian etch main
vzctl start 800
vzctl enter 800
#apt-get update
Get:1 ftp://192.168.129.146 etch Release.gpg
Ign ftp://192.168.129.146 etch Release.gpg
Hit ftp://192.168.129.146 etch Release
Hit ftp://192.168.129.146 etch/main Packages
Reading package lists... Done
# apt-get install mc
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libglib2.0-0 libgpmg1
Suggested packages:
gpm perl mime-support zip unzip bzip2 lynx
Recommended packages:
libglib2.0-data
The following NEW packages will be installed:
libglib2.0-0 libgpmg1 mc
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2667kB of archives.
After unpacking 6493kB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
# df
Filesystem 1K-blocks Used Available Use% Mounted on
simfs 6435780 3661508 2447352 60% /
tmpfs 386888 0 386888 0% /dev/shm
В общем Я не знаю что делать...
|
|
|