How To Install vcPanel - VPS Control Panel - Page 2
Note: You must follow the instructions given below for building a node (hardware node) for deployment. Please remember at this time vcPanel is only supporting Openvz virtualization technology. If you have any difficulty in configuring your node, please contact us. We will build your node.
You need a good server for a live node, with lots of CPU and RAM. Also select high speed hard disk for better performance. Its DISK partitioning must be as follows:
/ = 10 GB
Remember to use a second hard disk for /backup. Some operating systems will not use /vz as vps home folders. If so you may need to make soft links to /vz and /etc/vz/conf.
We recommend to use CentOS 5.x operating system on your node. This will help you to configure bandwidth monitoring options easily. vcPanel supports any Linux operating system. Remember don't customize your /etc/bashrc. Some operating systems/datacenters have such customizations which will prevent OpenSSH communication protocols.
Now you may need to install OpenVZ. If you already have it please skip this step.
A lot quick installation guides are available; please read some below:
Note: If you still see an issue with installing Openvz please contact us.
Install vcPanel Tools:
This is very important. You must download the following script and run it in this node. This will create stats (bandwidth, load, resource usage, etc.) generation scheme in your node. It is very important for hosting.
# wget http://download.vcpanel.net/vcpanel/setupnode.tar.gz
Set up Openssh Public key:
This is very important to set up public key access from vcPanel to this node. Otherwise vcPanel is not able to communicate with your server. Download the same public key you configured in vcPanel config.php and do the following:
# cd ~root/.ssh
Now copy your public key to authorized_keys and save it.
# chattr +ia authorized_keys
Add node inside vcPanel:
Now go to vcPanel admin panel and add node from Node Management -> Add Node.
Create IP Pool:
For creating a VPS inside this node you may need to register the IP pools. Go to vcPanel admin IP Management -> Add IP(s) to Node and add your IPs.
Now you need to upload your vps plans to the /etc/vz/conf folder. Or you can sync them from the vcPanel control panel: VPS Plans -> Sync Plan
Now you need to upload your OS templates to the /vz/template/cache folder, or you can sync them from the vcPanel control panel: VPS Templates -> Sync Template. It will take more time depending on the size of the template.