How To Install vcPanel - VPS Control Panel - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by sherin (Contact Author) (Forums) on Mon, 2009-12-14 17:24. ::

Node Preparation

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.

 

Hardware Requirements:

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
/vz = Big space for creating vps.
/backup = It must be 2x size of /vz for taking backups.

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.

 

Software Requirements:

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.

 

OpenVZ installation:

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
# tar -xzf setupnode.tar.gz
# cd setupnode/
# bash install

 

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
# touch authorized_keys

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.

 

Upload Plans:

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

 

Upload Templates:

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.

 

References:

ServerManagementt.Com

vcPanel Docs


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.