Feature news

Apache, MySQL ,PHPmyadmin and ,PHP Install in Ubuntu 14.04

Install apache, open terminal and type in these commands:
sudo apt-get update
sudo apt-get install apache2

Install MySQL, open terminal and type in these commands:
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

Install PHP, open terminal and type in this command.
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

Install phpMyAdmin
sudo apt-get install phpmyadmin apache2-utils

After the installation has completed, add phpmyadmin to the apache configuration.
sudo nano /etc/apache2/apache2.conf

Add the phpmyadmin config to the file.
Include /etc/phpmyadmin/apache.conf

Restart apache:
sudo service apache2 restart

Set Up the .htaccess File
sudo nano /etc/phpmyadmin/apache.conf

<Directory /usr/share/phpmyadmin>
       Options FollowSymLinks
       DirectoryIndex index.php
          AllowOverride All
         [...]

Installation finished. go to your web browser
localhost              
 













localhost/phpmyadmin














successfully installed .

0 comments: