Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

User:Dusty/Debian template creation

18 bytes removed, 04:11, 10 April 2007
m
no edit summary
* You shouldn't be running as root, but as a user that is permitted to use sudo instead. Even though it's a dangerous idea, run as root at your peril.
* Anywhere you see <tt>/vz</tt>, you might really need to use <tt>/var/lib/vz</tt> instead, especially on a Debian Etch host.
* Anywhere you see <tt>http://debian.oregonstateosuosl.eduorg/debian/</tt>, you can substitute your favorite Debian mirror. ([http://www.debian.org/mirror/list List of official Debian Mirrors]) 
== Prerequisites ==
Download Debian Etch to a directory called "etch-temp":
sudo debootstrap etch etch-temp http://debian.oregonstateosuosl.eduorg/debian/
''Or'' you can (but probably shouldn't need to) specify the architecture manually using one of these commands instead:
To specify i386/x86 architecture:
sudo debootstrap --arch i386 etch etch-temp http://debian.oregonstateosuosl.eduorg/debian/
For AMD64/x86_64, use <tt>amd64</tt> instead of <tt>i386</tt>. For ia64, use <tt>ia64</tt>.
=== Set Debian repositories ===
cat <<EOF > /etc/apt/sources.list
deb http://debian.oregonstateosuosl.eduorg/debian / etch main contrib
deb http://security.debian.org etch/updates main contrib
EOF
31
edits