http://linux-vserver.org/api.php?action=feedcontributions&user=82.241.185.7&feedformat=atom
Linux-VServer - User contributions [en]
2024-03-29T12:34:27Z
User contributions
MediaWiki 1.20.2
http://linux-vserver.org/Building_Guest_Systems
Building Guest Systems
2007-02-28T22:20:26Z
<p>82.241.185.7: </p>
<hr />
<div>== Create an Ubuntu Edgy Guest on Ubuntu Edgy ==<br />
<br />
* get vserver-util via apt<br />
apt-get install util-vserver debootstrap<br />
<br />
* Create the guest<br />
vserver vserver1 build -m debootstrap --hostname=vserver1.mydomain.com --interface eth0:192.168.1.10/24 -- -d edgy<br />
<br />
* Start the guest<br />
vserver vserver1 start<br />
<br />
* Copy the nameserver config from the host<br />
cp /etc/resolv.conf /home/vservers/vserver1/etc/resolv.conf<br />
<br />
* Install elementary packages on the guest (replace ''language-pack-en'' with ''locales'' and launch ''locale-gen'' on guest)<br />
vapt-get vserver1 -- install ssh vim rsync screen language-pack-en<br />
<br />
<br />
* Login into the guest<br />
vserver vserver1 enter<br />
<br />
* Edit ssh to allow login<br />
vi /etc/ssh/sshd_config<br />
<br />
* Modify PermitRootLogin yes to:<br />
PermitRootLogin no<br />
<br />
* Modify ''ListenAddress'' to match guest's address (do the same on host system to match host's address)<br />
ListenAddress 192.168.1.10<br />
<br />
* Restart ssh<br />
/etc/init.d/ssh restart<br />
<br />
* Exit the guest<br />
exit</div>
82.241.185.7