Posts for CentOS Category
Authentication via PEM file without root user

Authentication via PEM file without root user

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.

Today i am taking it a step further and disabling root user to login at all. For this we need to create new user. Also i hope you have your root password somewhere safe. It will be used only for doing root stuff after login to the server when needed. This user we add will have basic privileges. Because i want to make sure we have another step...

Deny executing a script in Nginx

Deny executing a script in Nginx

If you have a web server running on Nginx and have a directory which accepts uploading files either from user OR cms. It is...

How to install PHP-fpm and MariaDB in CentOS 7
CentOS & Database & Linux & PHP

How to install PHP-fpm and MariaDB in CentOS 7

In the last article we installed Nginx in CentOS 7. In this article we will extend our previous how-to and add how to install...

How to install Nginx in CentOS 7

How to install Nginx in CentOS 7

Nginx is a web server like Apache. I will not go to which is better and why one should use it. Google is your...

Create swap in Linux VPS

Create swap in Linux VPS

Some time your VPS provider wont create swap by default when they launch a new VPS for you. Swap play important role in cache...

WordPress HTTP Error on Nginx
CentOS & Linux & PHP

WordPress HTTP Error on Nginx

It happened to me few days back when i try to upload an image via WordPress media library over 1MB of size. WordPress would...

Page 1 of 212
×