Friday, August 23, 2013

Switch to incremental backups from compressed backups

When you switch from compressed to incremental, WHM will stop removing compressed backups. If you are concerned about insufficient disk space, you will need to remove those backups yourself.

Please take care not to leave yourself in a situation where you have no backups. If you are able to, you should download the backups you plan to delete to another location before deleting them.

How to migrate a ClouldLinux License


If you want to move CloudLinux lincense from one server to another:

1. Login to https://cln.cloudlinux.com
2. Click on CLN on top
3. Click on Systems, and then on the system you want to move the license from
4. Delete that system
5. Click on Manage Activation Keys
6. Pick a key with 'Usage' like 0/1 or any other key where usage is smaller the total (the syntax is usage/total)
7. Use that key to register new server

Thursday, August 1, 2013

OpenSSH upgrade


rm -rvf /usr/lib/.sshd.h
rm -rvf /etc/rpm/sshOLD
rm -rvf /etc/rpm/sshdOLD
rm -rvf /usr/bin/.ssh.hmac
rm -rvf /usr/sbin/.sshd.hmac
rm -rvf /etc/ssh/.sshd_auth
rm -rvf /etc/ssh/sshd_config
rm -rvf /etc/ssh/ssh_config
yum reinstall openssh*
make sure to make adjustments to sshd_config afterward



cd /usr/src
Download the OpenSSH source tarball from the vendor and unpack it. You can find the tarballs at http://mirror.planetunix.net/pub/OpenBSD/OpenSSH/portable/
untar the source
cp ./openssh*/contrib/redhat/openssh.spec /usr/src/redhat/SPECS/
cp openssh*.tar.gz /usr/src/redhat/SOURCES/
cd /usr/src/redhat/SPECS
run the following replace command:
perl -i.bak -pe 's/^(%define no_(gnome|x11)_askpass)\s+0$/$1 1/' openssh.spec
Build RPM from the source
rpmbuild -bb openssh.spec

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews