Make Local Server in Linux (Ubuntu)
Posted February 5, 2011
on:- In: linux
- 2 Comments
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
February 17, 2011 at 8:11 am
i love it
February 25, 2011 at 3:02 pm
thank u