1.至官網phpMyAdmin-3.5.6下載檔案至/tmp,並執行以下指令解壓縮至路徑:
tar xvfz phpmyadmin-3.5.6-all-languages.tar.gz -C /var/www/html
2.切換至如下路徑:
cd /var/www/html
3.變更目錄名稱:
mv phpMyAdmin-3.5.6-all-languages phpMyAdmin
4.複製樣本設定檔為設定檔案:
cp config.sample.inc.php config.inc.php
5. 修改config.inc.php
$cfg['Servers'][$i]['auth_type'] = 'http'; /* cookie改成http */
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/*要改成true,因為MySQL root預設為空白 */
6.開啟phpMyAdmin網頁 http://IP-Address/phpMyAdmin (注意大小寫,否則無法開啟網頁)