sudo apt-get install apache2 apache2-utils
sudo apt-get install libapache2-mod-php5 php5 php-pear php5-xcache
sudo apt-get install php5-mysql mysql-server mysql-client
Now retype the password when prompted..
This completes the installation of My-SQL ,As database is installed installing phpmyadmin is a good thing to manage the database..So to install phpmyadmin type
sudo apt-get install phpmyadmin
Now when prompted choose the installed server and hit ok
When prompted give the password for application and then for root user..
sudo nano /etc/apache2/apache2.conf
move to the end of file by continuously pressing ctrl+V and at the end add the following line
Latest posts by Bikash Panda (see all)
- Firmata protocol with Raspberry Pi and Arduino - September 13, 2017
- IOT:Power outlet controlled from internet using WeMOS - August 9, 2017
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017