Author - Pythonista - Storyteller

Viewing posts for the category System Administration

Deploy Django on Ubuntu VPS

1 year, 2 months ago Python, System Administration, Ubuntu

Deploying Django on VPS is an easy task if and only if you know some system administration tasks. You may think on which I have written this statement. But believe me, it's my personal realization when I deploy my personal blog (made on Django). Let's go back. 

Continue Reading

Use runit in Ubuntu 16.04 LTS

1 year, 2 months ago System Administration, Ubuntu

Last 2 years, I am using runit to run any script automatically during booting. When I was using Ubuntu 14.04 in my server, I wasn't having any issue. But in Ubuntu 16.04, an issue has been found. runit plays with upstart which was default in Ubuntu 14.04. But in Ubuntu 16.04, upstart has been replaced with systemd. So, runit isn't working normally. But the issue can be fixed as follows:

Continue Reading

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

cPanel Bandwidth problem solution

2 years, 9 months ago System Administration

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

2012-2017 Maksudur Rahman Maateen.

Designed & Developed by Maksudur Rahman Maateen.

Frontend Powered by Semantic UI. Backend Powered by Django.