Building Guest Systems

From Linux-VServer

Revision as of 16:03, 8 December 2006 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Create an Ubuntu Edgy Guest on Ubuntu Edgy

  • get vserver-util via apt
apt-get install vserver-util debootstrap
  • Create the guest
vserver vserver1 build -m debootstrap --interface eth0: -- -d edgy
  • Start the guest
vserver vserver1 start
  • Copy the nameserver config from the host
cp /etc/resolv.conf /home/vservers/vserver1/etc/resolv.conf
  • Install elementary packages on the guest
vapt-get vserver1 -- install ssh vim rsync screen
  • Login into the guest
vserver vserver1 enter
  • Edit ssh to allow login
vi /etc/ssh/sshd_config
  • Modify PermitRootLogin yes to:
PermitRootLogin no
  • Restart ssh
/etc/init.d/ssh restart
  • Exit the guest
Personal tools