103
103
# echo UseIPv6 off >> /etc/proftpd/proftpd.conf
107
107
remember, you need to specify IP address to every service in
108
108
linux-vserver, instead of wildcard (0.0.0.0).
113
113
$ sudo vserver vs1 build -m skeleton --hostname vs1 --interface eth0:192.168.1.101/24
114
114
$ sudo vserver vs2 build -m skeleton --hostname vs2 --interface eth0:192.168.1.102/24
116
116
- append these lines to /etc/fstab on host, in order to mount the root
118
118
none /var/lib/vservers/vs1 aufs defaults,br:/srv/vs1.rw:/srv/plain 0 0
119
119
/home /var/lib/vservers/vs1/home ext3 defaults,bind,ro 0 0
120
120
none /var/lib/vservers/vs2 aufs defaults,br:/srv/vs2.rw:/srv/plain 0 0