LAMP(Linux, Apache, MySQL, PHP or Perl) is one of the most essential servers needed by the web developers or web entrepreneurs around the globe. This tutorial explains one of the easiest ways to install LAMP on Ubuntu. Because Ubuntu uses Linux as it’s kernel we are done with the Linux part ;) .

Install tasksel on your system:

$ sudo apt-get update && sudo apt-get install tasksel

Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system. Start tasksel:

$ sudo tasksel

select the lamp-server and press ‘Ok’. Follow the steps as directed and create your Mysql password.</br> Lastly,start apache2 server:

$ sudo service apache2 restart

Congratulations you have successfully installed LAMP server on your system. To test just visit your web browser and type in the following url:

http://localhost/

To test the php installation:

$ sudo nano /var/www/phptest.php

type in and save:

<?php phpinfo(); ?>

and open the following url in your browser:

http://localhost/phptest.php


uno-dbyll

Jekyll Theme

Simple, clean, responsive and stylist theme for jekyll.