Few days ago I wrote about how to start/restart Apache if it is inactive in Ubuntu. Today I am going to share a bash script for CentOS 7. It is mostly the same except for few changes.
A year or so ago i wrote how to create PEM file and login to your server with it to take advantage of disabling password based logins.
If you have a web server running on Nginx and have a directory which accepts uploading files either from user OR cms. It is always good to have a bit of protection from the server side to deny executing scripts like PHP in that directory.
In the last post we installed Nginx in CentOS 7. In this article we will extend our previous how-to and add how to install PHP-fpm and MariaDB. The installation process will be quite easy. Login to your server and type.
Nginx is a web server like Apache. I will not go to which is better and why one should use it. Google is your friend to find that out. Here we will focus on how to install latest stable version of Nginx in CentOS 7. Login to your server.
Some time your VPS provider wont create swap by default when they launch a new VPS for you. Swap play important role in cache process.