Friday, October 7, 2011

phpMyadmin deployment on linux

To learn how to deploy phpMyadmin on redhat/centos/fedora, follow the below simple steps:

Prerequisites:

1- php
2- mysql
3- apache
4- php-mysql
5- php-mcrypt
6- php-mbstring (to avoid mbstring error: "The mbstring PHP extension was not found" )

Steps:

1- cd webroot ( for e.g /var/www/html)
2- wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.5/phpMyAdmin-3.4.5-all-languages.tar.gz?r=&ts=1317983320&use_mirror=space
3- tar -zxvf phpMyAdmin-3.4.5-all-languages.tar.gz (or whatever the downloaded file name)
4- mv phpMyAdmin-3.4.5-all-languages myadmin
5- cd myadmin
6- vi config.inc.php

7-

8- Now browse http://server-ip-address/myadmin and it should work!

No comments:

Post a Comment