2,253
edits
Changes
m
VPS container private area was created
VPS container start in progress...
Robot: Automated text replacement (-VPS +container)
<pre>
# vzctl create 11 --ostemplate centos-4-i386-default
Creating VPS container private area: /vz/private/11
Performing postcreate actions
# vzctl set 11 --quotaugidlimit 150 --save
Saved parameters for VPS container 11
# vzctl set 11 --numproc 400:400 --save
Saved parameters for VPS container 11
# vzctl set 11 --kmemsize 16384000:18022400 --save
Saved parameters for VPS container 11
# vzctl set 11 --privvmpages 262144:292912 --save
Saved parameters for VPS container 11
# vzctl set 11 --hostname=plesk.example.com --save
Saved parameters for VPS container 11
# vzctl set 11 --diskspace 2000000:2000000 --save
Saved parameters for VPS container 11
# vzctl set 11 --shmpages 16384:16384 --save
# vzctl set 11 --ipadd 127.1.2.3 --save
Saved parameters for VPS container 11
# vzctl set 11 --userpasswd root:pass
# vzctl set 11 --iptables "iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc" --save
Saved parameters for VPS container 11
# vzctl start 11
Starting VPS container ...VPS container is mounted
Adding IP address(es): 192.168.51.55
Setting CPU units: 1000
Set hostname: plesk.local
Setting quota ugidlimit: 150
</pre>
# vzctl set 11 --devices c:10:200:rw --save
Setting devices
Saved parameters for VPS container 11
# vzctl exec 11 mkdir -p /dev/net
# vzctl exec 11 mknod /dev/net/tun c 10 200