LAMP server is a group of open-source software, and it is used for web servers start and running. LAMP is stands for Linux, Apache, MySQL and PHP. LAMP is very much suitable to build dynamic web pages as well as web applications. Let's check step by step how to install LAMP on Ubuntu.
Step One— Update
$ sudo apt-get update
$ sudo apt-get install tasksel
Step Two— Install lamp stack
$ sudo apt-get install lamp-server^
With using above command install the LAMP stack.
Now, you will be asked to insert MySQL root password, during the installation of LAMP server.
Now, Restart your apache using bellow command :
$ sudo service apache2 restart
Step Three— Insatll phpmyadmin
Install the phpmyadmin using bellow command
$ sudo apt-get install phpmyadmin
If you get a 404 error upon visiting http://localhost/phpmyadmin then you will need to configure apache2.conf to work with Phpmyadmin.
$ gksudo gedit /etc/apache2/apache2.conf
$ Include /etc/phpmyadmin/apache.conf
At last, Include the above line at the bottom of the file, save and quit.
Reference : http://freewebmentor.com/2014/12/install-linux-apache-mysql-php-lamp-server-ubuntu.html
How to Install LAMP on Ubuntu
Step One— Update
$ sudo apt-get update
$ sudo apt-get install tasksel
Step Two— Install lamp stack
$ sudo apt-get install lamp-server^
With using above command install the LAMP stack.
Now, you will be asked to insert MySQL root password, during the installation of LAMP server.
Now, Restart your apache using bellow command :
$ sudo service apache2 restart
Step Three— Insatll phpmyadmin
Install the phpmyadmin using bellow command
$ sudo apt-get install phpmyadmin
If you get a 404 error upon visiting http://localhost/phpmyadmin then you will need to configure apache2.conf to work with Phpmyadmin.
$ gksudo gedit /etc/apache2/apache2.conf
$ Include /etc/phpmyadmin/apache.conf
At last, Include the above line at the bottom of the file, save and quit.
Reference : http://freewebmentor.com/2014/12/install-linux-apache-mysql-php-lamp-server-ubuntu.html
0 comments:
Post a Comment