How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu

Download How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu

Post on 08-Apr-2018

218 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 1/7</p></li><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 2/7</p><p>Step 1:Installing apache</p><p>Go to Application Accessories Terminal. And type the below code in terminal andhit enter.</p><p>Type your ubuntu password and press enter.</p><p>Type y and hit enter to confirm apache installation. After the successful installation , open yourfavorite browser and type</p><p>in the address bar and press enter. If you will see It works! , then your apache works fine.</p><p>Step 2:Installing PHP</p><p>Go Application Accessories Terminal. And type the code below in terminal and hit enter.</p><p>Type your ubuntu password if needed.</p><p>Type y and hit enter to confirm PHP installation.After the successful installation restart Apache using the below code </p><p>GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines</p><p>sudo apt-get install apache2</p><p>http://localhost/</p><p>sudo apt-get install php5 libapache2-mod-php5</p><p>sudo gedit /var/www/phpinfo.php</p></li><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 3/7</p></li><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 4/7</p><p>Type your ubuntu password if needed</p><p>Type y and hit enter to confirm MySql installation.During the installation you will be prompted for a password. Choose something secure andtype the password and hit enter.</p><p>Repeat the password and hit enter</p><p>GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines</p></li><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 5/7</p><p>Step 4:Installing phpMyadmin</p><p>phpMyAdmin is a free software tool written in PHP intended to handle the administration of</p><p>MySQL over the World Wide Web.Go to Application Accessories Terminal. And type the below code in terminal and hitenter.</p><p>Type your ubuntu password if needed.</p><p>Type y and hit enter to confirm phpMyadmin installation.During the installation you will be prompted for a webserver configuration.Select</p><p>(already selected)press enter.</p><p>GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines</p><p>sudo apt-get install phpmyadmin</p><p>apache2</p></li><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 6/7</p><p>Now you will be prompted for phpmyadmin configuration</p><p>Select</p><p>and press enter</p><p>Type below command in terminal</p><p>restart your apache server using</p><p>Open your browser and typein the address bar and press enter.</p><p>GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines</p><p>No</p><p>sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d</p><p>sudo /etc/init.d/apache2 restart</p><p>http://localhost/phpmyadmin</p></li><li><p>8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu</p><p> 7/7</p><p>Type your mysql root username and paasword to login.</p><p>Youre now ready to start building your local website. just put all of your files into</p><p>GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines</p><p>/var/www</p></li></ul>