Try the following code in terminal: sudo apt-get install apache (For installing Apache web server) sudo apt-get install php (Install the latest version of PHP) sudo apt-get install mysql-server (Install the latest version of MySQL server) sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin (To link phpmyadmin in your webserver’s root directory) sudo /etc/init.d/apache2 force-reload (To force restart… Continue reading Setup a web server in Linux Ubuntu