Friday, 25 April 2014

Important commands before the transfer other servers

Important commands before the transfer other servers
Important set of commands that are used by the transfer sites on other servers

The first command to adjust permits


Code:
chmod +s /bin/pwd
The second thing to activate permits protect files
Code:
/scripts/enablefileprotect
Third command to adjust the powers public_html folders that contain sites
Code:
/scripts/chownpublichtmls
To delete any older versions of Backup
Code:
rm -rf /home/*.gz
Also delete any other older versions of Backup
Code:
rm -rfv /home/*/.trash;rm -rfv /home/*/backup*
this also
Code:
rm -rfv /home/*/public_html/backup*

No comments:

Post a Comment