|
24 November 2009
Posted in
Linux tutorials -
Linux tutorials
LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language.
There are many methods to install lamp for example the standart one see our previous howto for ubuntu :
Howto: Install Lamp and phpmyadmin on Ubuntu
So lets show you another way to install lamp under ubuntu 9.10 karmic Koala .
First ,under Terminal type the command :
$sudo tasksel
you will get something like :

Now you have to shoose the LAMP line and SPACE key to select LAMP Server .
After, you will asked to insert root mysql password

After the procedure will start downloading and installing needed packages for LAMP

Of with this command :
sudo apt-get install php5 mysql-server apache2
Or with :
$ sudo tasksel install lamp-server
Now lets check of its working .
Check the apache2 from your browser :
Http:Ip or hostname
Now check if your Mysql is wokring with:

Chcek if php is working :
$sudo vi /var/www/info.php
and add
save and exit
restart apache2
#/etc/init.d/apache2 restart
and browse again http://ip/info.php

Enjoy and feel free to ask
-
2009-11-25 17:26:28 | Abe - Just use XAMPP

No need for any one this, just use XAMPP. It is the best LAMPP I have seen.
http://www.apachefriends.org/en/xampp.html
| < Prev | Next > |
|---|





sudo apt-get install php5 mysql-server apache2