In a post, a few days ago, i described how i had to restore and reinstall my system.
Meaning daily, i’ve been finding some of the software i need and reinstalling it.
So here i found myself needing to make use of a Lamp server on my laptop.
There’s literally thousands of guides about how to achieve this. Fact is that, on Ubuntu 8.04 (Hardy Heron ), it can be reduced to a few easy steps, and all the trick is done.
Once more, for the sake of clarity, and to spare some time:
Install mysql
sudo apt-get install mysql-server-5.0
Install Apache2
sudo apt-get install apache2
Install php and the apache module for it
sudo apt-get install php5 libapache2-mod-php5
Reboot apache (very important)
sudo /etc/init.d/apache2 restart
PhpMyAdmin, if you need it
sudo apt-get install phpmyadmin
That’s all folks!
[...] It is assumed that the machine is a fully working Lamp server. If you don’t have that yet, here’s a quick setup. [...]
Well, it can be made even more easy by doing a “sudo tasksel”, select “web server” and press ok. voila…
Yes, that is true. From my own experience though, i’ve had problems with that setup.
At times i would get a blank apache configuration file. Other times the root mysql password would not be saved with the value inserted during the setup.
Anyhow still remains a valid option. Thank you for contributing
@sid: You are right about the problems, I think there were a few bugs pre gutsy-feisty that caused this and have been fixed now. Moreover, the other thing is that some times you might feel that it is kind of “hung” and doing nothing for a long time and then all of a sudden it’ll go to 100%. Many people think that it is not working during that “hung” period and terminate it again causing the issues.
BTW, I must complement you that you have a good collection of how-tos here. I’ll be feed reading you definitely…:)
@shantanu: Indeed indeed. Actually, as in a few weeks ago the same issues were still existent in Hardy. On the other hand the packages if installed separately seem to give less trouble.
ps. Yah, i was reading through your blog yesterday. Well done.
Kept me busy for a bit.
Hi ;]
i tryed to install LAMP before but didnt work, how do i remove all the old installed progs and their config files, so i can install it the way explained here ?
@DiGiGoth
Heh. I’d say so. has worked for me and for a bunch of other people.
Depending on your setup though you might want to try tasksel.
Always failed for me , but i have not tried it yet with Ibex.
So we see.
Non the less this should work yes.