Posts Tagged: Command Line


Backup MySQL/MariaDB Databases Using the Command Line

Even with automated backups of databases, which everyone should be using, sometimes you just need to quickly make a backup before making a change on your website. It’s always best to have an up-to-date backup on hand before making changes; even something as simple as a WordPress plugin update can break your website if it’s

Switching from using a Socket to TCP/IP in PHP-FPM

A couple of websites on our DigitalOcean VPS  have a great amount of traffic. Due to this traffic, I ran into the error below (edited for readability). [crit] connect() to unix:/var/run/php5-fpm.socket failed 2 No such file or directory This was because the amount of concurrent users was starting to get high. Instead of fiddling around

“Excessive processes running under user”

Sometimes you’ll need to add certain packages to your Linux server, and CSF will sometimes send emails to make sure you can keep an eye on suspicious processes and activity. If you know something is not malicious, you can add it to the ignore file to stop receiving these emails. As an example, we recently