Easiest way to install LAMP

Asked by Randy Connolly

Recently, I had some help installing Ubuntu 10.4.1 onto my laptop. It seems to be working fine.

I have a goal of developing a website on the laptop and from what I understand I need Linux, Apache, Mysql, and PHP to be operational so that I can create a website. I am not a much of a linux user so I am wondering if someone can suggest the best and easiest way to download LAMP and make them operational so that I can move on to creating my website?

Thanks,

Randy (The Frequency Fisherman)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo tasksel install lamp-server

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2
Revision history for this message
Randy Connolly (randy2lakes) said :
#3

Yes, this did seem to install LAMP. I do appreciate the help very much. Thank you.

Revision history for this message
Randy Connolly (randy2lakes) said :
#4

I was able to install LAMP with help. With that said, I am not sure I have LAMP operation or not. I am not sure how to test to see if LAMP is operational or not. I guess what I am saying is that I would like some help making LAMP operational.

I did work through some but all of the suggestions at https://help.ubuntu.com/community/ApacheMySQLPHP

I stopped working the above page at the following location:

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON database1.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';

yourusername and yourpassword can be anything you like. database1 is the name of the database the user gets access to. localhost is the location which gets access to your database. You can change it to '%' (or to hostnames or ip addresses) to allow connections from every location (or only from specific locations) to the database. Note, that this can be a security problem and should only be used for testing purposes!

To exit the mysql prompt type:

Do I need to do everything else on this page? Should I install a desktop? If so which one?

Thanks,

Randy

Revision history for this message
sebikul (sebikul) said :
#5

Hi, if you are just going to develop on your laptop, you can use the already created account "root" to connect to the mysql server. if you still want to do that i recommend you to install "phpmyadmin", sure you know it, just run:

# sudo apt-get install phpmyadmin

you will be able to do all that manual says using a gui

Hope this helps, any further question you may have just leave an answer here

Can you help with this problem?

Provide an answer of your own, or ask Randy Connolly for more information if necessary.

To post a message you must log in.