You are on page 1of 5

School of Computing

Science and Engineering

Program: B. Tech
Course Code:BCSE3096
Course Name: Cloud Application
Development
School of Computing Science and Engineering
Course Code : BCSE3096 Course Name: CAD

1. Installing Apache 2 Server


• To install Apache Server use the command:-
• $ sudo service apache2 restart

Open your browser and check whether the service has properly
installed or not.
Type in the URL: –http://localhost

Program Name: B.Tech


School of Computing Science and Engineering
Course Code : BCSE3096 Course Name: CAD

If you are able to see the  Default page,You have properly installed your
Apache Server.
Else, if you are getting message “Could not determine server”,Then you need
to just copy the below command and run it in terminal.
$ echo “ServerName localhost” | sudo tee /etc/apache2/conf-
available/fqdn.conf&& sudo a2enconf fqdn
Test your server again.
Program Name: B.Tech
School of Computing Science and Engineering
Course Code : BCSE3096 Course Name: CAD

2. INSTALLING PHP 5 AND MYSQL


• To install PHP5 and MySQL
• $ sudo apt-get install mysql-server libapache2-mod-auth-mysql
php5-mysql

Program Name: B.Tech

You might also like