阿里云CentOS 6.3安裝phpMyAdmin的簡(jiǎn)單步驟
首先,我們使我們的CentOS系統(tǒng)的RPMForge軟件庫(kù)phpMyAdmin,不是官方的CentOS?6.0庫(kù),導(dǎo)入rpmforge的GPG密鑰:
rpm?–import?http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
x86_64?系統(tǒng)安裝命令:
yum?install?http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
i386?系統(tǒng)安裝命令:
yum?install?http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
現(xiàn)在可以安裝phpMyAdmin如下:
yum?install?phpmyadmin現(xiàn)在,我們配置phpMyAdmin。改變Apache的配置,使phpMyAdmin連接,注釋掉?3-8行的內(nèi)容?:
vi /etc/httpd/conf.d/phpmyadmin.conf## Web application to manage MySQL### Order Deny,Allow# Deny from all# Allow from 127.0.0.1#Alias /phpmyadmin /usr/share/phpmyadminAlias /phpMyAdmin /usr/share/phpmyadminAlias /mysqladmin /usr/share/phpmyadmin
下一步,我們改變?cè)趐hpMyAdmin的身份驗(yàn)證?將’cookie’改為?’HTTP’:
vi /usr/share/phpmyadmin/config.inc.php/* Authentication type */$cfg[’Servers’][$i][’auth_type’] = ’http’;
重新啟動(dòng)Apache:
/etc/init.d/httpd?restart
之后,您可以根據(jù)訪問phpMyAdmin?http://42.168.0.100/phpmyadmin/管理數(shù)據(jù)庫(kù)了。
相關(guān)文章:
1. 基于Java實(shí)現(xiàn)記事本功能2. IntelliJ IDEA導(dǎo)入jar包的方法3. docker鏡像完全卸載的操作步驟4. idea刪除項(xiàng)目的操作方法5. IntelliJ IDEA配置Tomcat服務(wù)器的方法6. IntelliJ IDEA設(shè)置自動(dòng)提示功能快捷鍵的方法7. idea導(dǎo)入maven項(xiàng)目的方法8. 使用Maven 搭建 Spring MVC 本地部署Tomcat的詳細(xì)教程9. idea打開多個(gè)窗口的操作方法10. IntelliJ IDEA設(shè)置默認(rèn)瀏覽器的方法

網(wǎng)公網(wǎng)安備