how to execute lamp-server

Asked by earth_tech

hello,
According to your command
sudo tasksel install lamp-server
it shows no error. But in which way i can findout that lamp server run successfully.when wamp run, we can see an icon in the task bar and we can understand that wamp run successfully. Now my question is in which way we can understand that lamp run successfully? Is it show any icon?

Secondly when we use wamp on that case we store the php files under www folder here where we will store the php files?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1
Revision history for this message
earth_tech (earthtechnology3) said :
#2

To install apache2 use following command:
sudo taskesel install apache2
Now in which way i can see that apache2 is install properly and from which directory.

Revision history for this message
Daniel Hollocher (chogydan) said :
#3

I just tested tasksel out, and you are correct, it is a little obtuse. Here are some things you can do:

use apt-get instead of tasksel
sudo apt-get install <task name>^ in your case, sudo apt-get install lamp-server^
(I don't know much about using apt-get this way, but it doesn't seem to be documented)

you can locate the apache2 processes that should be running if they are installed: pgrep apache2

There will be no icon, as these commands are designed to work without a GUI desktop. The default location to put your php files is /var/www

Please check out the server guides for more info:
https://help.ubuntu.com/8.04/serverguide/C/index.html
https://help.ubuntu.com/9.04/serverguide/C/index.html

Can you help with this problem?

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

To post a message you must log in.