Difference between revisions of "Vserver"
Jump to navigation
Jump to search
(Created page with "=Creating a new guest= vserver sandbox build --context 100 --hostname sandbox --interface eth0:192.168.0.100/24 --initstyle gentoo -m template -- -d gentoo -t /vservers/stage3...") |
|||
Line 1: | Line 1: | ||
=Creating a new guest= | =Creating a new guest= | ||
+ | Deploy the template: | ||
+ | <source lang="sh"> | ||
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 | 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 | ||
+ | </source> | ||
+ | Install a service: | ||
+ | <source lang="sh"> | ||
+ | ROOT=/vservers/sandbox emerge -pv syslog-ng | ||
+ | chroot /vservers/sandbox | ||
+ | rc-update add syslog-ng default | ||
+ | </source> | ||
+ | Start the guest: | ||
+ | <source lang="sh"> | ||
+ | vserver sandbox start | ||
+ | </source> |
Revision as of 20:57, 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