Docker Engine – Install a fixed version on Ubuntu

Containerization is everywhere. Docker is the name that comes to our mind when we talk about containers. Is the latest version of the docker the greatest? I’ve been using docker containers, especially docker swarm mode, for over a couple of years now and I’d say no! Docker is still being actively developed. With that being…Continue reading Docker Engine – Install a fixed version on Ubuntu

Monitor Apache using monit

Monit is a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. Installing monit on CentOS 7 yum install epel-release -y yum install monit -y Once installed, save the following in /etc/monit.d/apache check process httpd with pidfile /var/run/httpd/ group…Continue reading Monitor Apache using monit

Hashicorp Vault Systemd Startup Script

From Hashicorp Vault project documentation Starting the Server vault server -config=example.hcl With the configuration in place, starting the server is simple, as shown below. Modify the -config flag to point to the proper path where you saved the configuration above. Vault outputs some information about its configuration, and then blocks. This process should be run…Continue reading Hashicorp Vault Systemd Startup Script

Fix WordPress Files & Folders Permission Massively On cPanel Server

chdir(“/var/cpanel/users”); $users = glob(‘*’); foreach($users as $user) { if(is_file(“/home/$user/public_html/wp-config.php”)) { echo “Performing on /home/$user/public_html\n”; system(“find /home/$user/public_html/ -type d -exec chmod 755 {} \; “); system(“find /home/$user/public_html/ -type f -exec chmod 644 {} \; “); } } Save the file as fix.php on /root Then execute it /usr/local/cpanel/3rdparty/bin/php /root/fix.php