cPanel – Manually back up and transfer an account via SSH
Jun 22nd
Sometime accounts are to big to transfer via the WHM transfer feature.
Below you can find some steps to do so manually
Log into your server and create a cPanel backup for the account
/scripts/pkgacct <username> <location> backup
<username> refers to the username you want to backup.
<location> is the path to where the backup will be placed (in your case you want to put /backup/cpbackup here).
So backup tells pkgacct that you want to create a backup file.
If you leave this off it creates a cpmove archive. Not sure what the difference is between a cpmove and a backup file, but this tells pkgacct you just want to create a <username>.tar.gz file in <location>.
And after the backup has been completed you can simple move it by pushing it via SCP
here is the tutorial http://www3.wiredgorilla.com/content/view/322/1/
Problems with CenotOS5 – cPanel and BIND
Jun 22nd
If you have issues with cPanel running CentOS5 with BIND then the easiest way is to downgrade BIND to 9.2.4
The reason you’re having trouble is because CentOS 5 uses bind-9.3 and CentOS 4 uses bind-9.2 – The changes between these versions is significant enough that cPanel won’t work with it properly.
For instance by default there is no /etc/named.conf file created when bind-9.3 is installed and the default named.conf file for bind-9.3 is significantly different than in older versions.
Until the code is updated to work with bind-9.3, I have found the workaround to be to remove bind-9.3 packages and install bind-9.2 packages as follows:
kernel yum upgrade
Jun 21st
check what kernel you are running at the moment
uname -a
and to upgrade your kernel
yum update \kernel*
check if your kernel is added to grub
cat /boot/grub/grub.conf
and then reboot
shutdown -rf now
Installing SSH public key for extra security on your Linux server
Jun 21st
Log into SSH
mkdir $HOME/.ssh
chmod -R og= $HOME/.ssh
cd .ssh
nano authorized_keys2
Add your key you created with PuttyGen , make absolutly sure you r key is in one line ONLY , otherwise it wont work!
Adjust your sshd_config
nano /etc/ssh/sshd_config
to
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys2
Installing and configuring Windows CDP Agents
Jun 19th
R1Soft CDP is a easy to install and use continous data protection system, primarily targeted at the hosting market. It backups up multiple servers to a central backup server; multiple backup windows can be performed per day, and files or even the whole disk can be restored from the image. This tutorial will show you how to install the Windows Agent on a server which you want to be backed up, and how to configure it.
Read the rest of this entry »
Recover broken systems with SystemRescueCD
Jun 17th
SystemRescueCD is a powerful, expansive live cd which is useful for recovering broken systems. This tutorial will guide you through how to get it up and running and how to perform some basic recovery procedures.
Installing and configuring Linux CDP Agents
Jun 17th
R1Soft CDP is a easy to install and use continous data protection
system, primarily targeted at the hosting market. It backups up
multiple servers to a central backup server; multiple backup windows
can be performed per day, and files or even the whole disk can be
restored from the image. This tutorial will show you how to install the Linux Agent on a server which you want to be backed up, and how to
configure it.
