Tips For Installing LAMP on Ubuntu 12.04 Precise Pangolin

If you are a Webmaster or Web developer, you can not create you in your local laboratory for experiments. Need a place to test and develop your app, the script vostr and your online sites before loading! To prepare the right environment, and have every tool you need, you can just install on your Ubuntu LAMP 12.04 Precise Pangolin:  Linux Apache MySQL and PHP is definitely the perfect quadrinomio and fundamental that can not miss on your system. To complete the work, I also decided to add the installation of PhpMyAdmin Article I, personally, I feel really good. On  Ubuntu  you can install each package manually and separated from the others: first apache, mysql and php and then. But why complicate our lives if  we have it all with just one click ? Let’s see how.

Install Lamp on Ubuntu 12.04

The first thing to do is open the terminal and type:

sudo apt-get install tasksel

and once completed the installation from a terminal type:

sudo tasksel

All right, now scroll through the various options until you see the item  LAMP Server  Check this box and pressing the  spacebar . Now press  Tab  will move on “ OK ”. Press Enter to confirm and start the process of installing LAMP.

During the installation you will be prompted for the  password for MySQL  (remember that the username is “ root ”): insert, confirm it and continue the installation. At the end of installation  make sure that Apache functions . First, restart the process:

sudo / etc/init.d/apache2 restart

Now open your browser and type:

localhost

or:

127.0.0.1

and if it appears the famous words “ It Works ”everything went well. If you want to verify that  PHP is installed correctly  type in terminal:

sudo gedit / var / www / prova.php

and pasted into the file that you create this simple function:

<? Php phpinfo ();?>

and retype it from your browser:

localhost / prova.php

Delivery dates, and if you do not get errors but only the display of info on PHP and the system then it all went smoothly. We just have to  install phpMyAdmin , a comfortable interface and utilities to better manage the database. Open the terminal and type:

sudo apt-get install phpmyadmin

At the end of installation to verify that type functions from phpMyAdmin browser:

http://localhost/phpmyadmin

and enter as user “root” and the password that you entered for MySql during the installation process. It’s all ;)

 

Incoming search terms:

  • ubuntu server tips and tricks 12 04 lamp
  • tasksel lamp ubuntu 12 04
  • tasksel ubuntu 12 04
  • tips install ubuntu 12 04
  • ubuntu 12 04 apc
  • ubuntu 12 04 install php5 apc apache2
  • ubuntu 12 04 server lamp
  • ubuntu 12 04 website local host
  • ubuntu lamp precise
  • ubuntu server 12 04 perfect setup lamp