Replace MySQL with MariaDB on CentOS

3 years, 8 months ago CentOS, DevOps

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

3 years, 8 months ago CentOS, DevOps

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

cPanel Bandwidth problem solution

3 years, 9 months ago DevOps

Hello readers! After a long time I am back with a new topic. Today I am going to discuss about cPanel bandwidth problem. The websites on your server may use heavy traffic but cPanel bandwidth counter always show that they are using a low bandwidth. Then you can understand that cPanel can't count bandwidth correctly. Actually we get this issue when we try to use Nginx/Varnish as a web-proxy in front of Apache. I have also got this problem about 3 months ago and was thinking that it may be a known bug of cPanel as I have seen many SysAdmin who are getting this issue when I have searched on Google for a solution. I thought that it might be fixed in the upcoming release of cPanel. When I update my cPanel to 11.46.1 (build 4), still I was getting this issue. Then I have gone in a deep research and discovered the issue.

Continue Reading

Change SSH port on your CentOS server

3 years, 9 months ago CentOS, DevOps

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

4 years, 1 month ago CentOS, DevOps

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
Newer Posts Older Posts