Linux and Open Source

Blog post about Linux and open source news, reviews, updates, featured downloads, and more more.

A web stack is nothing but collection of many open source software such as an operating system, Web server, database server, server side programming language. The most commonly known web stacks is LAMP. It is an acronym for a solution stack of free, open source software, referring to the first letters of Linux (operating system), Apache Web server, MySQL database software and PHP (or sometimes Perl or Python). All of our security related tutorials recommends running different network services on separate systems or vm instance. Naturally, this limits the number of other services that can be cracked in the event that an attacker is able to successfully exploit a software flaw in one network service. This is also one of the most requested article via email. In this guide, I will explain how to setup a solution that can serve static content, dynamic content, database, and caching by running on separate servers or vm instance.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }

Creating a Network File System (NFSv4.0) shared network resource is exactly like creating any other shared network resource in Linux or Unix for Apache / Lighttpd / Nginx web server. You need to type the following commands on vm05 having an IP address 192.168.1.14.


This blog post is part in the “Run Different Linux Network Services on Separate Systems/VM” series.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }

Memcached can speed up database driven dynamic web site. It must be deployed within trusted network where vm01 and vm02 clients may freely connect to our server. You need to type the following commands on vm03 having an IP address 192.168.1.12.


This blog post is part in the “Run Different Linux Network Services on Separate Systems/VM” series.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }

The Apache web server is responsible for providing access to dynamic content via the HTTP or HTTPS protocol. In this example, I’m going to install and use the Apache 2 web server + php5 safely and set DocumentRoot to vm05:/exports/html mounted at /var/www/html. You need to type the following commands on vm02 having an IP address 192.168.1.11.


This blog post is part in the “Run Different Linux Network Services on Separate Systems/VM” series.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }

The Lighttpd web server is responsible for providing access to static content via the HTTP or HTTPS protocol. In this example, I’m going to install and use the Lighttpd web server and set DocumentRoot to vm05:/exports/static mounted at /var/www/static. You need to type the following commands on vm01 having an IP address 192.168.1.10 only.


This blog post is part in the “Run Different Linux Network Services on Separate Systems/VM” series.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }

Nginx is an open source Web server and a reverse proxy server. You can use nginx for a load balancing and/or as a proxy solution to run services from inside those machines through your host’s single public IP address such as 202.54.1.1. In this post, I will explain how to install nginx as reverse proxy server for Apache+php5 domain called www.example.com and Lighttpd static asset domain called static.example.com. You need to type the following commands on vm00 having an IP address 192.168.1.1 only.


This blog post is part in the “Run Different Linux Network Services on Separate Systems/VM” series.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }

The pydf command displays the amount of used and available space on your file systems, just like df command, but in colors. The output format is completely customizable.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }