How to : Steps to Install phpMyAdmin on unix command prompt

PhpMyAdmin

 

PhpMyAdmin Installation Process / Steps

 

Login into  your Unix/Linux server  Command Prompt.

 

Write down the below command on your command prompt to install PhpMyAdmin under  “/var/www/html” directory or, change the directory name where do you want to install it.

Note – Use sudo command if you don’t have the root access or not a super user.

# cd /var/www/html

Download PhpMyAdmin source file from its repository

# wget -c http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.2/phpMyAdmin-4.1.2-english.tar.gz

UnZip the Source file

# tar xvfz phpMyAdmin-4.1.2-english.tar.gz

Move Source File directory under simple directory name

# mv phpMyAdmin-4.1.2-english.tar.gz phpmyadmin

Go into newly created directory

# cd phpmyadmin

Change Configuration File

Copy config.sample.inc.php  file  into config.inc.php file. This is the PhpMyAdmin configuration file

# cp config.sample.inc.php config.inc.php

Edit Configuration File

# vi config.inc.php

change  ‘cookie’ with ‘http’
$cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;

Restart the Apache Server

# service httpd restart

Now its complete.

Access PhpMyAdmin from Browser

http://ipaddress/phpmyadmin

Please follow and like us:
0

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.