Note: Please install vcPanel as per the procedure given below, make sure your server have the requirements. If you would like to install and secure your control panel by our team please contact us from here. So that we can do it for you.
Download vcPanel
Please dowload the vcPanel from http://vcpanel.net/Download and upload the tar file to your sever. Then extract it.
Configure vcPanel
You may need to edit two files config.php and adminauth.php
config.php contain the following. You may need to edit the required fields, all are self explanatory.
define("_DB_HOST", "localhost"); // vcpanel db host
define("_DB_NAME", "vcpanel_db"); // vcpanel db name
define("_DB_USER", "vcpanel_dbuser"); // vcpanel db user
define("_DB_USER_PASSWORD", "vcpaneldbpasswird"); // vcpanel db user password
define("_DOC_ROOT","/path-to-vcpanel-installation ") ;
// vcpanel document root no trailing slashes eg : /home/user/public_html/vcpanel
define("_PHPCLI_PATH","/usr/bin/php");
// Path to php client binary,no php-cgi paths. remember php-cli path
define("SSH_KEY_TYPE","ssh-rsa");
//ssh key type for rsa it will be "ssh-rsa" , if it is dsa it will be "ssh-dsa"
define("SSH_PRIVATE_KEY","/path-to-key/id_rsa");
//path to private key. Remember make it out side document root , eg : /home/user/key/id_rsa
define("SSH_PUBLIC_KEY","/pathto -key/id_rsa.pub");
//path to public key . Remember make it out side document root ,
// eg : /home/user/key/id_rsa.pub
Now you may need to edit adminauth.php. This contains the admin login name and password . Make it harder.
define("_ADMIN_USER","admin"); // admin username
define("_ADMIN_PASS","pass"); // admin password make it very hard , very very hard
Set permissions
You may need to set the following permissions
chmod 666 vadmin/.htaccess chmod 777 tmp/ chmod 777 vadmin/uploads/plan chmod 777 vadmin/uploads/template chmod 777 languages/
Create Database
Now create a MySQL database with database user name and database user password as same as in config.php. Give privileges to above database with the user name and password. Now restore the database vcpanel.sql to your database.
Create SSH Keys
Now you may need to create ssh public and private keys and upload to your installation server, which will be out side document root. Make to secure the folder. Don't allow any one to access it. Only give permission to vcPanel scripts to access that folder. If you don'/t know how to do it please contact us. To know how to create ssh keys please proceed with the following steps.
1)ssh to your server
# ssh vcpanel@server.yourdomain.com
2) Generate keys
# ssh-keygen -t rsa
Now hit "Enter key " until you get the command prompt back. Please remember no need to give password for ssh-key
3) Now copy the keys " id_rsa " and " id_rsa.pub " from ~/.ssh/ to your key folder
# ls -al ~/.ssh/ # cp -v ~/.ssh/* /path-to-your-key-folder-for-vtonf/
Login to admin Panel
You can login to admin panel from http://yourvcpanelinstallationurl/vadmin/
Install Product Key
You will get your product key from our license portal as soon as you signed up. If you are a reseller you can use the same product key in all vcPanel installation. Update the product key with vcPanel -> Product key
Basic Settings
Make sure you may need to setup the basic settings and Admin account from vcPanel admin
Secure vcPanel access
You must need to limit access to your admin panel from certain IPs . Go to vcPanel -> Secure access.
Setup Cron
You may need to setup a daily cron as follows
0 1 * * * php /path-to-vcpanel-install/script/backupcron.php /path-to-vcpanel-install
Add a Node
Now you need to add your first hardware node to vcPanel. Please refer the node preparation procedure from http://doc.vcpanel.net/NodePreparation
Copyright © 2009 doc.vcpanel.net. All Rights Reserved.