Bulk fix WordPress permissions

There is no plug ins in WordPress to bulk fix your permissions. That is why this little script was made. The trick is you have to run it from the root of the server which in most cases your hosting company has to do. It’s really easy to run and 100% safe. Here is how:… Continue reading Bulk fix WordPress permissions

The right way to upgrade Cloud Linux that works

If just doing a general YUM update does not update your Cloud Linux you are not alone. In fact sometimes the LVE manager never installs at all. Don’t worry though, it’s just one line of code and about 5 minutes to fix. yum install lvemanager –enablerepo=cloudlinux-updates-testing If that still does not work try to do… Continue reading The right way to upgrade Cloud Linux that works

How to remove error_log from all CPanel account and backups

Some scripts like WordPress and Joomla can leave a big error_log files that no one will ever look at. Try opening a 30mb log file with Word and see what happens. In most cases you can just remove this file with a simple command. To remove all error_log files for CPanel accounts that are live use: find… Continue reading How to remove error_log from all CPanel account and backups

How to change the main IP on a CPanel server

Changing a server to a new IP is a nightmare, there is so many places that need to update. If possible always just set up a new server and transfer everything to it. If that’s too hard than here is how to do the migration the best possible way. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 Change the IPADDR and… Continue reading How to change the main IP on a CPanel server

FTP not working, stops at MLSD

The firewall blocks passive mode FTP transfers. To fix this error you need to: open: /etc/pureftpd.conf Find: PassivePortRange in /etc/pureftpd.conf Remove the # and add this to the line: PassivePortRange 30000 35000 See TCP_IN in /etc/csf/csf.conf and add the passive port range to it TCP_IN = “##,##,##,###,###,###,30000:35000” Notice in TCP_IN you see 30000:35000 , that’s… Continue reading FTP not working, stops at MLSD