Monday, March 18, 2013

How to Build a Web Server with Ubuntu Server

Well now I will share my experience about the web server. This time I will write how to create a web server on a linux operating system I would rather give the title of this article is Creating Linux Web Server With Ubuntu Server. Here I will use Ubuntu Server 4.11 as the operating system. Unlike windows, In linux we play a lot with a little command-command saturate, but the thrill and challenge linux there. Hahaha, just do not wear long Directly ..




  1. First login as root and install first apache web server, type the following command:
    # sudo apt-get install apache2 
  2. both install the database server:
    # sudo apt-get install mysql-server 
  3. then install php for apache:
    # sudo apt-get install php5 
  4. The next install mysql for apache:
    # apt-get install libapache-mod-acct-mysql 
  5. The next install php module:
    # apt-get install php5-mysql   
So next try to check if the web server that is already running or not installed. Open your browser and type in the ip web server. If successful there is the following inscription it's work.

Then subsequent to facilitate processing mysqlnya database, we will install
phpMyAdmin by typing the command:

# sudo apt-get install phpmyadmin  
Once installed try http://ip_server/phpmyadmin access.
To put it defaul web data we put in / var / www /.
For data database by default located in / var / lib / mysql /.
Done deh, hopefully very helpful well make you want to make a web server in linux