Hi friends,
Today i installed LAMP in my UBUNTU 9.10. LAMP in the sense Linux, Apache web server, Mysql database and scripting languages like Python,PHP,Perl. LAMP is a web application development stack. Before this i used LAMP in Fedora. When i typed the same commands to start mysql service and apache service in UBUNTU 9.10, i found that those commands did not work at all. So i tried to google it and came with the following information. Here are the commands to start the Mysql,Apache2 server:

1.First you should login as root, by typing
su -
then give your root password

2.Then to start mysql:

/etc/init.d/mysql start

3.Then to start apache server

/etc/init.d/apache2 start

4.To stop these services, type

/etc/init.d/apache2 stop
/etc/init.d/mysql stop

Cheers,
Dharanithara.A

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s