Is Python Flask only for web sites?

1 year, 10 months ago FAQ, Python

What is Flask?

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed!

Continue Reading

Which Python web framework is better: Django or Flask?

2 years, 1 month ago FAQ, Python

This question was asked on Quora. When I see the question, I set my mind to answer the question. I know I have a little experience on this section but I have tried my level best. Please never forget to mention if I miss anything or make any wrong. By the way, the answer of this question should be aim depended. Please let me explain.

Continue Reading

Disable scanning for btrfs file systems in Ubuntu

3 years ago Ubuntu

Firstly. Let me state the issue I was facing with Btrfs file system. Then I'll try to make your sense clear about Btrfs.

Continue Reading

Replace MySQL with MariaDB on CentOS

3 years, 2 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, 2 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
Newer Posts Older Posts