By default the archive unpacks into a directory “cp0.30″ (for the 0.30 version). You may want to rename this or create a symbolic link to it – I use a symlink called “cp”.
Change to the scripts directory and run the “install” script.
[tester@ACER ~]$ ln -s cp0.30 cp
[tester@ACER ~]$ cd cp
[tester@ACER cp]$ ls
accounts Cpanel hosts LICENSE.txt local remote scripts system
[tester@ACER cp]$ cd scripts
[tester@ACER scripts]$ ls
account database get_dns.sh mod_dns.pl rollover setup
colours dns_utils.pl host monitor setcron setup_remote_key
commands error_codes includes monitor.pl set_dns sync
config get_dns install restore set_dns.pl sync_remote
cronjob get_dns.pl mod_dns restoreclean set_status zone
[tester@ACER scripts]$ ./install
ClonePanel version 0.30, Copyright (C)2006 Chris Cheers
ClonePanel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute
it under certain conditions; read LICENSE.txt for details.
Enter a name to use for this host [ACER]
Enter a directory name for scripts and config on remote hosts [cp0.30] cp0.30
Enter a directory name for database dump files on remote hosts [cp0.30_db]
Writing settings to ./../system/config
ClonePanel version 0.30, Copyright (C)2006 Chris Cheers
ClonePanel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute
it under certain conditions; read LICENSE.txt for details.
Enter server numeric IP address: 172.31.255.0
Enter server A record [172.31.255.0]: 192.168.1.7
Enter nameserver IP address (default blank):
Enter template for home directory on this host [/home/_USERNAME_]:
Monitor this host (y/n): n
Upload monitor data to this host (y/n): n
Creating /home/tester/cp0.30/hosts/ACER/config
SERVER=’172.31.255.0′
NS=”
A=’192.168.1.7′
DNSUPDATE=’NONE’
MONITOR_IP=’NONE’
MONITOR_PATH=’cgi-bin/up.cgi’
MONITOR_HOST=”
PRIORITY=0
LOCATION=’USA’
MONITOR_RESULT_USER=”
MONITOR_RESULT_DIR=’public_html/monitor’
REMOTEHOST_HOME=’/home/_USERNAME_’
Done!
Install complete.
[tester@ACER scripts]$
The install script prompts for some basic information (on initial install you can probably accept the defaults) and writes them to a config file. Then it runs another script (“./host add”) to store information about the machine it’s running on. You need to enter accurate information at these prompts:
Server numeric IP address – On a dsl connection, this should be the static IP given to your connection (if you don’t know this, visit whatismyip.com) . On a VPS or dedicated server this should be the main IP assigned to your server – the one used by the server when it connects to others.
Server A record – The IP address you use to access this computer. On a dsl connection this will be the address on the local network, on a VPS or dedicated server again the main server IP.
Nameserver IP address – Normally this will be blank, but if you are running a nameserver on this computer then enter its assigned IP address here.
Template for home directory – Most linux servers use the form /home/username for user directories. Unless you have a very unusual system just hit Enter to accept the default.
Monitor this host – Since this is the backup system, and will be monitoring other hosts, you normally don’t want it to be monitored itself – press n
Upload monitor data to this host – Since this is the backup system, and will be monitoring other hosts, it will have the monitoring data already – press n