25 Comments

BigTUI Said,
January 11th, 2007 @7:36 am  

when i deleted /var/lib/mysql
how can i reinstall mysql-server again

I can’t reinstall by command

sudo apt-get install mysql-server

thank U :)

mygif
Karsten Said,
January 21st, 2007 @2:49 am  

It’s “apt-get update”, not “apt-get install update”. The latter installs the software named “update”.

mygif
nevyn Said,
February 17th, 2007 @3:53 pm  

You’ve left something out here. By default the php modules aren’t enabled.

mygif
Fredrik Said,
March 6th, 2007 @5:12 am  

nice quicky howto! I followed it step by step. the MySQL User SET Update (…) code was unable for me to get it to work, but instead I just logged into Phpmyadmin and did it that way. Except from that, once again a nice one!

mygif
matman Said,
March 21st, 2007 @1:05 am  

thanks dude – works perfectly – up and running in 1/2 an hour

mygif
Amir Said,
April 19th, 2007 @4:06 am  

Would you explain where excatly should I put “Include /etc/phpmyadmin/apache.conf” in the apache2.conf?

mygif
nate Said,
May 11th, 2007 @11:05 am  

Almost got it done. One thing I’m stuck on is that when i go to the page in a browser, it tries to download the file Rather than displaying in the browser. Not sure what I’ve done wrong. Any suggestions? Nice guide btw!

mygif
hall Said,
June 5th, 2007 @6:02 am  

weird thing:

apt-get install phpmyadmin

returns:

Reading package lists… Done
Building dependency tree… Done
E: Couldn’t find package phpmyadmin

any ideas?

mygif
Damnum Said,
June 22nd, 2007 @4:20 am  

U must change Your repository – check: universe, multiuniverse, … (all)

mygif
Harpoon Said,
August 17th, 2007 @8:41 pm  

For ubuntu 64 bit it is necessary to add the php5-mcrypt package in order to login/stay logged in/use myphpadmin. A small package that will save hours of grief.

mygif
Sam Said,
August 21st, 2007 @12:52 pm  

This is a good guide. Nice work. There is a good step-by-step guide on configuring new Apache sites and a cgi-bin directory here.

mygif
bradley Said,
October 7th, 2007 @5:28 pm  

I have a problem, it wont let me use IPB installer for some odd reason… if you can help me please email me

mygif
BlackCow Said,
October 7th, 2007 @9:08 pm  

Excellent guide, got my server set up thanks to you.

mygif
July 30th, 2008 @12:30 am  

Nice article. LAMP setup isn’t so heavy to do, but I would like to point to few post installation steps. After Linux installation, many needless services are started by default. They are potentially security hole – minimize them. If firewall isn’t started, start it. You can easily find firewall configuration for your need. Forbid ssh root access – use “normal” user instead and then “su”. Hide your Apache/PHP version … this tips can be useful, and if you want to read more http://www.redips.net/linux/lamp-setup/
Thank you!

mygif
Mihai Said,
August 30th, 2008 @6:50 am  

Thanks, works fine for me:)

mygif
edobio Said,
October 22nd, 2008 @12:08 pm  

Thank you very much indeed. It took just 30 mins to setup everything … in a Pentium II ubuntu box … just 10 ys old ;-)

Edgard

mygif
Tony Said,
November 4th, 2008 @4:56 pm  

This is the only working guide for LAMP installation for me so far. Many thanks.

mygif
CastilleV Said,
December 27th, 2008 @9:43 am  

PHPMyAdmin.
How do you access that?

mygif
mwt Said,
January 6th, 2009 @10:03 pm  

That works perfectly, thanks.

One small thing: I would update all the code to include “sudo.”

Also, under section one, there should be a command to restart apache before checking if php works.

Thanks again for a great guide.

mygif
kjphpdev Said,
January 16th, 2009 @9:03 am  

For anyone having issues with the php test bringing up a popup to save the php file:

Just continue the installations in the complete order and you’ll be able to test the php file once you’ve restarted the apache server towards the end by running:

/etc/init.d/apache2 restart

mygif
wesb Said,
August 1st, 2009 @12:49 pm  

For those who cannot access the php module out of box, you need to restart you apache server to have it load the php module:

sudo /etc/init.d/apache2 restart

and then point your browser to http://domain.name/test.php

mygif
Pingback & Trackback

Random Post

Leave Your Comments Below

Please Note: All comments will be hand modified by our authors so any unsuitable comments will be removed and you comments will be appreared after approved