11.04
Here are some neat help documents from cyberciti.biz which I think could prove useful in certain situations.
Log rotation: I find this so important and I feel like it might be overlooked by some, but cutting your logs into smaller, organized pieces can speed up your system, instead of having to suck in a huge /var/log/messages or your httpd server, etc you can break them up by week and even month and zip up the older ones for easier back ups etc… anything is possible with the a good bash script/cron job and this neat tool, logrotate! See here
Copy that database: obviously if you are using mysql the best way to do this is a mysqldump and then run the dump as a script on the machine your putting the database onto, this article shows you how to simplify it by piping the dump output to an ssh session a remote machine, which helps for security, but having a VPN between them (if they are on separate networks) is always a good idea as well. See here
Credit to CyberCiti.biz since they host the original articles I have linked to here.
No Comment.
Add Your Comment