Linux Server

My opinion: Choosing Distro for Linux Server



As you can see in my resume. I has been playing many linux distro for long time including FreeBSD Unix. So I want to share my opinion about choosing Linux Distro for server role.

  • If I want the most stable server but not install on virtualization system, I choose FreeBSD (that very difficult to install and config)
  • If I want normal stable server with ease to install software including I want to create the test server and can be install on virtualization system, I choose Debian
  • If I want to play new toys and I can accept nearly stable server, frequent restart, I choose Ubuntu
  • I never use CentOS and Redhat expect the software that I want to install required Redhat based OS such as cPanel

The reason that I always choose Debian based distro because I love APT more than YUM :)

PS. For the linux desktop I choose Ubuntu because I used it for long time and I getting into it.

How to choosing PHP module for Apache



Since I use my old 2 years hosting server. It's time to upgrade to new server with high performance to support more customers. So I have to research about installation and tuning DirectAdmin. One factor that is very important is Apache. There are many differ performance between system with tuning and without.

Factors that we have to think about choosing PHP module for Apache are performance and security. Some modules come with great performance but trade off with security while some modules are opposite.

While googling, I found some interesting data Benchmark Comparison on Serving Simple PHP: LiteSpeed vs Apache vs Nginx so I choose only mod_php, mod_fastcgi, mod_fcgid and suPHP to compare and analysis in this article.

How to create startup script on Debian



Today I have a problem that I have to add routing to my debian test box every time that server start so I googling and found this

This method I think it is only work on Debian based distro and I not sure about Redhat based distro

First create file in /etc/init.d/. For me I create route file for routing script.

vi /etc/init.d/route

Install Apache + MySQL + PHP with one command on Linux with XAMPP


Amateur web developers always have problem with installation of Apache + MySQL + PHP to test their code including many administrators that want to install LAMPP Server (LAMPP stands for Linux + Apache + MySQL + PHP + Perl) for doing simple web server (with less security without strict configuration). So there are software that include all LAMPP with only one installation. XAMPP is the most popular one.


Subscribe to RSS - Linux Server