Setting up phpMyAdmin 2.10 on Apache 2.2, FreeBSD 6.2

I. Download and Extract 

root@freebsd:/tmp# cd /tmp
root@freebsd:/tmp#
 fetch http://superb-west.dl.sourceforge.net/sourceforge/
phpmyadmin/phpMyAdmin-2.10.0.2-all-languages-utf-8-only.tar.gz
root@freebsd:/tmp#
 tar zxvf phpMyAdmin-2.10.0.2-all-languages-utf-8-only.tar.gz
 

II. Move it to the Right Place

 
root@freebsd:/tmp#
  cd phpMyAdmin-2.10.0.2-all-languages-utf-8-only
root@freebsd:
/tmp/phpMyAdmin-2.10.0.2-all-languages-utf-8-only#
 mv * /usr/local/www/phpmyadmin.aminonline.com/
 

III. Generate Configuration

 
root@freebsd:/tmp/phpMyAdmin-2.10.0.2-all-languages-utf-8-only# 
cd  /usr/local/www/phpmyadmin.aminonline.com/
root@freebsd:/usr/local/www/phpmyadmin.aminonline.com#
 mkdir config
root@freebsd:/usr/local/www/phpmyadmin.aminonline.com#
 chmod o+rw config
 

Now lets go to https://phpmyadmin.aminonline.com/scripts/
setup.php and generating the configuration file.
Remember to click save button on the website to save your
configuration, which is what will generate the configuration
 file we need. This is what I set mine up like:

phpmyadmin00.gif

phpmyadmin01.gif

IV. Apply the Configuration

Copy the configuration file that you generated using

the web interface and remove the config directory for security.

 
root@freebsd:/usr/local/www/phpmyadmin.aminonline.com#
 mv config/config.inc.php .
root@freebsd:/usr/local/www/phpmyadmin.aminonline.com#
  chmod o-rw config.inc.php
root@freebsd:/usr/local/www/phpmyadmin.aminonline.com#
  chown -R www:wheel *
root@freebsd:/usr/local/www/phpmyadmin.aminonline.com#
  rm -R config/
 

We should already have the old .htaccess we created before for our phpmyadmin.aminonline.com and so now if we try to go to the https://phpmyadmin.aminonline.com/ we should be prompted for the username and password. Then you should see the phpmyadmin website.   

Post a Comment