LEMP (Linux, Nginx, Mysql, PHP) in Ubuntu 14.04

In this post, I will show step to run a simple site in nginx server, use FPM.

Install all packet with apt-get:

Create example.com file in /etc/nginx/site-available/

Add the content below to “example.com” file

And enable the site you created

Now for the test

Install Cloudera Hadoop in Ubuntu 14.04

As you know,  Install Hadoop is not easy. And It require a virtual machine with high configuration.  In my post, I will give you the shortest way to have Hadoop in your machine. It is installation via Docker. I assume that you had Docker in your Ubuntu 14.04


If your dreams do not scare you. They are too small.


  • Docker
  • Ubuntu 14.04
  • Ram 4G
  • CPU 2 core


To install the docker-cloudera-quickstart from docker-hub, simply use the following command:


To start an instance in BACKGROUND (as daemon):

To start an instance in FOREGROUND:

To open more terminal instances for the running instance:

Test MapReduce with WordCount example

Refer to: http://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html

Refer to:

Change hostname without reboot Ubuntu 14.04

This is a small tutorial to help you change hostname of server without reboot the system. This will require  3 simple steps

Step 1: change hostname by command line

Step 2: edit hostname file with new hostname

Step 2: edit hosts file

Edit the line below:

It is done.