Thursday, September 6, 2012

Installing LAMP Server on Ubuntu 12.04 (Server)

Installed LAMP Server, using tasksel.
I needed it to experiment WordPress.

1. Resources

Install Lamp With 1 Command In Ubuntu 12.04...
Easy LAMP Server Installation


2. Installation

Launch tasksel.

$ sudo tasksel

Select and Install "LAMP Server".
Give a password for MySQL root when prompted.


3. Check Appache2 Installation

Go to:
http://localhost




4. Check PHP Installation

Create a new php file.

$ sudo gedit /var/www/phpinfo.php

Enter the following:

<?php phpinfo() ?>

Restart Appache2.

sudo /etc/init.d/apache2 restart
 * Restarting web server apache2                                                 ... waiting              [ OK ]
$ sudo /etc/init.d/apache2 status
Apache2 is running (pid 17784).

Now go to: 

http://localhost/phpinfo.php





No comments:

Post a Comment