I know how to remove old Kernels on Ubuntu. But, I don’t know how to do it on CentOS. After googling, I found answer. Go through and see how many kernels here. Three kernels in machine. Delete, remove old kernels.
Previously I used gzip as compression tool to compress the web site files and mysql database. It is still working on my Linode server. I learned something from the compairasion from this post . So I tried to use bzip instead of gzip on my backup script. Here is two examples. 1) Mysqldump file, which
It is a simple task and a very common task for a VPS user. You have a VPS, and want to know the disk usage of your data and system. You are also want to know which folder takes the biggest disk space. The command is du Usage du takes a single argument, specifying a
If you have two Dreamhost ftp account with SSH permission, and you want to transfer the content from account A to Account B, you need following script to do it. It is simply one line shell command. I save it into a sh file. Schedule to run it every two hours. Here is the script
To transfer the the large mySQL database, you need to learn how to use command to do it. Large, means the database is bigger than 8 MB after compressing. phpmyadmin, is a wonderful web tool for mySQL. But the limitation of upload is 8 MB. If the backup file is larger than it, you can
I have a VPS powered by Centos 5.2. There are some very important forum on it. I would like to backup it every day. Now because HyperVM/LxAdmin – Backup Home, can not backup MySQL or not easy to get it. I have to write the shell script to do the backup job. To use the