Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 39981

clean your cPanel server and adjust user's files permission

$
0
0

hello

1- To clean your server :

note : this command will remove all .gz files stored in /home

rm -rf /home/*.gz

note : this command will Empty cPanel users trash and remove all backup files created by cpanel user

rm -rfv /home/*/.trash;rm -rfv /home/*/backup*

note : this command will remove all backup files created by cpanel user and stores under public_html

rm -rfv /home/*/public_html/backup* note : this command will remove all backup files created by server admin and stored under user home dir

rm -rfv /home/*/cpmove*

2- To adjust user's files permission

/scripts/enablefileprotect

/scripts/chownpublichtmls


Viewing all articles
Browse latest Browse all 39981

Trending Articles