Difference between revisions of "Vserver"

From Tom's notes
Jump to navigation Jump to search
Line 14: Line 14:
 
vserver sandbox start
 
vserver sandbox start
 
</source>
 
</source>
 +
Check config files:
 +
* /etc/portage/make.conf

Revision as of 21:01, 31 March 2016

Creating a new guest

Deploy the template:

vserver sandbox build --context 100 --hostname sandbox --interface eth0:192.168.0.100/24 --initstyle gentoo -m template -- -d gentoo -t /vservers/stage3-amd64-20160317.tar.bz2

Install a service:

ROOT=/vservers/sandbox emerge -pv syslog-ng
chroot /vservers/sandbox
rc-update add syslog-ng default

Start the guest:

vserver sandbox start

Check config files:

  • /etc/portage/make.conf