Ubuntu logo
Until quite recently I was working on Windows XP, when I had this urge to shift to Ubuntu once again. I got hold of wubi for Intrepid and my system was running the gnome in another 5 minutes.
Now while I was in windows, I had a wamp server installed. The first thing I set myself to do was to install the LAMP, and reconfigure the system to include the wamp www directory as the default directory instead of the /var/www. Here is what I did -
- Installed SSH client (so that I could connect remotely to my Ubuntu) : sudo apt-get install ssh
- Install the mysql-server : sudo apt-get install mysql-server
- Install the apache2 webserver : sudo apt-get install apache2
- Install php5 : sudo apt-get install php5 libapache2-mod-php5
- Install php5-mysql support : sudo apt-get install php5-mysql
- Restart the apache2 webserver : sudo /etc/init.d/apache2 restart
- Install phpmyadmin : sudo apt-get install phpmyadmin
And it was done. The LAMP installed. Not to configure my dafault directory
- I navigated to/etc/apache2/sites-available
- Made a backup of the default file : sudo cp default default.bk
- Edited the default file : sudo vi default
- I changed the default document root to the www directory created by my wamp server
Yay, my site was up and running. When I navigate to http://localhost I could see the wamp index.html. I clicked on phpmyadmin and it worked. The phpmyadmin that I installed on Ubuntu was presented. It’s almost like having installed wamp server on Ubuntu.
But I would like to make a few ponts over here :
- I do not yet know how to add more than one directory to the default directory list. Will do that.
Related articles by Zemanta
- LAMP and SVN on Ubuntu 8.10 (robertbasic.com)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=463963ce-363a-4336-bc6d-35daf40be622)
0 Response to “My Ubuntu Intrepid + LAMP”