Results 1 to 3 of 3
  1. #1
    Rock's Avatar
    Rock is offline Technical Support (eUKhost.com)
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,447

    Thumbs up How to install phpMyAdmin [PMA] on a Linux VPS/Dedicated server !

    You must have heard or used a wonderful tool named 'phpMyAdmin'. It is written in PHP intended to handle the administration of MySQL over the Web.
    It can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute SQL Server statements, manage keys on fields, etc... etc...

    Here are the simplest steps to get it installed on a plain Linux VPS Hosting or Dedicated server :

    1. Download the latest version of phpMyAdmin from phpMyAdmin or from here :

    root@support [~]# wget phpMyAdmin - Browse Files at SourceForge.net

    2. Rename the TAR file for your convenience :
    root@support [~]# mv phpMyAdmin* phpMyAdmin.tar.gz

    3. Untar the package :
    root@support [~]# tar xzf phpMyAdmin*

    4. Move it to the appropriate place :
    root@support [~]# mv phpMyAdmin /usr/share/

    5. Configure phpMyAdmin :
    root@support [~]# cd /usr/share/phpMyAdmin
    root@support [/usr/share/phpmyadmin]# cp config.*.php config.inc.php
    root@support [/usr/share/phpmyadmin]# vi config.inc.php

    6. Locate the following lines within that file & make sure each they look like the below ones :[php]$cfg['Servers'][$i]['auth_type'] = 'http';
    $cfg['Servers'][$i]['controluser'] = 'root';
    $cfg['Servers'][$i]['controlpass'] = 'mysql-root-pass';[/php]7. Save the file.

    8. Create the apache configuration file for phpMyAdmin :
    root@support [/usr/share/phpmyadmin]# echo "alias /phpmyadmin /usr/share/phpMyAdmin" > /etc/httpd/conf.d/phpMyAdmin.conf

    9. Restart the http service :
    root@support [~]# service httpd restart

    10. You're done

    Now, access phpMyAdmin through the following using the root login details: http://server-ip/phpmyadmin eg: http://10.10.10.1/phpmyadmin

    ------------------------

    For Steps to install it on Windows check the link below:

    Install PHPMyAdmin On Windows




    Rock _a.k.a._ Jack
    [URL="http://www.eukhost.com/forums/../windows-web-hosting.php"]Windows Hosting[/URL] || [URL="http://www.eukhost.com/forums/../reseller-hosting.php"]Windows Reseller Hosting[/URL]
    [URL="http://www.eukhost.com/forums/../cloud-hosting.php"]Cloud Hosting 100% UPTIME![/URL] || [URL="http://www.eukhost.com/forums/../dedicated-server-hosting.php"]Powerful Dedicated Servers[/URL]
    Follow eUKhost on [URL="http://twitter.com/eukhostLtd"]Twitter[/URL] || Join eUKhost Community on [URL="http://www.facebook.com/home.php?#%21/group.php?gid=7070148572&ref=ts"]Facebook[/URL]

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  2. #2
    mephisto's Avatar
    mephisto is offline Senior Member
    Join Date
    Feb 2007
    Location
    Darlington
    Posts
    101

    Default

    Personally I don't use phpMyAdmin for my admin work. If I need to view my databases in a gui I don't like putting the root password into a file. Of course I can install for a single user for a single database, but I hardly ever have the need to.

    If you have a VPS Hosting/Dedicated then you can ssh, so it would be much better to create a ssh tunnel to the VPS Hosting to mysql, assuming of course you've secured MySQL Server not to listen on an external IP address.

    Code:
    ssh user@host -L 3306:localhost:3306
    ...or if you have windows client, follow this web site hosting for using putty...

    Real Programmers: How To: Set Up An Ssh Tunnel With Putty -- by hackers, for hackers

    Then you can use these lovely tools provided by Mysql, when you put in your connection details use localhost as your server details rather than your VPS Hosting IP address, because it's going to go over a ssh tunnel.

    MySQL :: MySQL GUI Tools Downloads

  3. #3
    vzAddict's Avatar
    vzAddict is offline System Administrator(eUKhost.com)
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    163

    Default

    Hello,

    Great tutorial Rocky... you really Rock
    vzAddict || Mike
    [URL="http://eukhost.com"]http://eUKHost.com[/URL]
    eUKHost on [URL="http://twitter.com/eukhostltd"]Twitter[/URL] || [URL="http://www.facebook.com/#!/group.php?gid=137985886228103"]Facebook Group[/URL] || [URL="http://www.facebook.com/pages/eUKHost-Ltd/117522941627651"]Facebook Fanpage[/URL]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Disclaimer of Liability

The opinions or views posted on our forum by users do not necessarily represent the opinions or views of eUKhost Limited.

Our forum may contain hyperlinks to external websites not under our control and ownership. We do not endorse the content found on any external websites and we cannot guarantee the accuracy, reliability, availability and suitability of such websites and the content of those websites. Your access and use of any external websites is at your sole risk and responsibility. Please also be aware external websites will have differing terms and conditions, privacy and cookie usage policies to our website.