Author - Pythonista - Storyteller

Viewing posts for the category CentOS

Replace MySQL with MariaDB on CentOS

2 years, 8 months ago CentOS, System Administration

MariaDB is an enhanced, drop-in replacement for MySQL offering many speed improvements intended to remain free under the GNU GPL. MariaDB version numbers, up to 5.5, followed MySQL's numbers. Thus, if one uses MariaDB 5.5 one knows that all features from MySQL 5.5 are available. After version 5.5, MariaDB developers decided to start a branch numbered 10, as an attempt to make it clear that MariaDB 10.0 will not import all features from MySQL 5.6; however, they might be imported in future versions. The reason for not including some of the features is that they seem not stable enough to meet MariaDB's quality standards. As a result, and since specific new features have been developed in MariaDB, the developers decided that a major version number change was necessary. In my tutorial, I will show you how to replace MySQL 5.x  with MariaDB 10.0. For this, we have to follow two portions.

Continue Reading

Set up NginX and Varnish with Apache in Sentora

2 years, 8 months ago CentOS, System Administration

By default, Sentora, as well as Sentora, comes with Apache 2.2 and I feel that it's a bad solution when there are many good solutions already for using as web server e.g. Litespeed, NginX, Lighttpd etc. Litespeed is a paid service so I never use it at all. If you have the ability to pay for it, you should use it as it is very good as far as I see on Benchmark test results. The person, like me, should go through the most of the benchmark test results. Then you will see that NginX, one of the best web server, has a very good reputation. After Apache, NginX has the most market share about to 14%. But NginX need PHP-FPM to work sound. Sentora comes with PHP 5.3 so I have to do a lot of tasks to make NginX work with Sentora, won't I? So I have found out the perfect solution for mine. I am using NginX in front of Apache as reverse proxy. Let’s share it guys! :)

Continue Reading

Change SSH port on your CentOS server

2 years, 9 months ago CentOS, System Administration

When you install CentOS on your server then your default SSH port is 22. It’s default, I mean, all servers with CentOS operating system normally have port 22 opened. Any hacker may flood this port or try to connect via this port and can do any harm to the server. So the better practice is to change the port. Though it can’t do much for you, but I believe that it’s quite impossible to find out a SSH port for a hacker where the appropriate range is too long to guess the correct port. Here I will guide only to change the SSH port to another non-privileged port. Let’s start.

Continue Reading

Change WHM Nameserver IPs

3 years, 1 month ago CentOS, System Administration

If you are using a VPS and you have cPanel installed on it, then you may need to update or change WHM Nameserver IPs for various reasons. If you simply try to change it, you will find that they are not changing accurately. For this, you have to do it manually I mean you may do it by command.

Continue Reading

2012-2017 Maksudur Rahman Maateen.

Designed & Developed by Maksudur Rahman Maateen.

Frontend Powered by Semantic UI. Backend Powered by Django.