bugishere

Make Local Server in Linux (Ubuntu)

Posted on: February 5, 2011

Thank you very much for your coming in this blog.. OK. at this post, I will tell how to make Local Server in Ubuntu. One reason why I  use my Ubuntu-Desktop becomes Local Server whereas there is Ubuntu-Server?? Because for devoloping Local Server with Ubuntu-Desktop is easier than I have to install Ubuntu-Server. Many advantages will be gotten with make Local Server with Ubuntu-Desktop, although Ubuntu-Server is better than Ubuntu-Desktop. One of the advantages use Ubutu-Desktop becomes Local Server is we can enjoy GUI version of Ubuntu if we do it, then we installed Ubuntu-Server that there is no default GUI version of its packet. So Boring !!😦

So let’s try to install Local Server in Ubuntu-Desktop (My experiment use Ubuntu 10.04 LTS). In this experiment, we are goint to install Apache, PHP, MySQL, PhpMyAdmin.

Check them out :

1. Open terminal and login as root

sudo su

2. Update list of repositories

apt-get update

3. Install Apache

apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils

4. Install PHP

apt-get install php5 libapache2-mod-php5 php5-common php5-gd php5-mysql php5-imap php5-cli php5-cgi php-pear php-auth

5. Install MySQL

apt-get install mysql-server mysql-client

6. Install PhpMyAdmin

apt-get install phpmyadmin

7. Refresh Installation Result

/etc/init.d/mysql restart
/etc/init.d/apache2 restart

2 Responses to "Make Local Server in Linux (Ubuntu)"

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: