安裝 phpMyAdmin
wget http://nchc.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.3.2/phpMyAdmin-3.4.3.2-all-languages.tar.gz
tar zxvf phpMyAdmin-3.4.3.2-all-languages.tar.gz
mv phpMyAdmin-3.4.3.2-all-languages /var/www/html/phpmyadmin
cd /var/www/html/phpmyadmin
cp config.sample.inc.php config.inc.php
vim config.inc.php
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http'
vim /etc/selinux/config
SELINUX=disabled
chmod -R 755 /var/www/html/phpmyadmin
wget http://nchc.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.3.2/phpMyAdmin-3.4.3.2-all-languages.tar.gz
tar zxvf phpMyAdmin-3.4.3.2-all-languages.tar.gz
mv phpMyAdmin-3.4.3.2-all-languages /var/www/html/phpmyadmin
cd /var/www/html/phpmyadmin
cp config.sample.inc.php config.inc.php
vim config.inc.php
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http'
vim /etc/selinux/config
SELINUX=disabled
chmod -R 755 /var/www/html/phpmyadmin
升級php 參考 http://www.webtatic.com/packages/php53/
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
yum --enablerepo=webtatic install php
yum --enablerepo=webtatic update php
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
yum --enablerepo=webtatic install php
yum --enablerepo=webtatic update php
沒有留言:
張貼留言