Setting up a new VM [message #15950] |
Thu, 16 August 2007 18:09 |
tutt
Messages: 19 Registered: April 2007
|
Junior Member |
|
|
I want to setup a new VM on a host node that has a full cPanel install on it and all the partitions are already setup. The VPS is going to have cPanel as well.
I have one big / partition and quotas are turned on. Is there a way for me to create a /vz partition as a file and use quotas on both? Otherwise, what can I do?
I have been setting up the vz like so:
vzctl create 123 --ostemplate centos-4-i386-minimal
vzctl set --ipadd 66.xx.xxx.186 --hostname xxxxxx.co.za
vzctl set 123 --onboot yes --save
vzctl set 123 --vmguarpages 65536 --save
vzctl set 123 --privvmpages 262144 --save
vzctl set 123 --kmemsize 12752512:12752512 --save
vzctl set 123 --diskspace 4000000000:4500000000 --save
The disk space parameter doesn't seem to have any effect. The VM always shows 100GB+ free. Also, I cannot install cPanel successfully. It whines about "Cannot Fork" and "Memory Allocation Failed". I have supplied plenty of kernel memory and RAM to the VM. What are your recommended settings for creating a small VPS (I want it to have 5GB of disk space actually) with 512MB of RAM that can support cPanel and be reliable?
|
|
|