極速下載站 —— 提供優(yōu)質(zhì)軟件下載服務(wù),感受全新的極速下載體驗(yàn)!

最近更新 | 軟件專題 | 軟件分類 | 軟件排行

您的位置:極速下載站資訊首頁(yè)系統(tǒng)教程系統(tǒng)資訊 → phpMyAdmin在CENTOS6.0中簡(jiǎn)單的安裝步驟教程

phpMyAdmin在CENTOS6.0中簡(jiǎn)單的安裝步驟教程

時(shí)間:2019-09-16 14:35:44  作者:無名  瀏覽量:18

大家好,小編是個(gè)電腦軟件控,phpMyAdmin是一個(gè)Web界面,通過它可以管理你的MySQL數(shù)據(jù)庫(kù)。那么怎么在CentOS 6.0安裝phpMyAdmin呢?本文我們就來介紹這一安裝過程,希望能夠?qū)δ兴鶐椭?o:p>

phpMyAdmin在CENTOS6.0中簡(jiǎn)單的安裝步驟教程

phpMyAdmin在CENTOS6.0中簡(jiǎn)單的安裝步驟教程圖1

進(jìn)入下載
服務(wù)器安全狗Linux版
服務(wù)器安全狗Linux版 2.8.16710 官方版
大小:22.01 MB
日期:2019/9/16 14:42:28
環(huán)境:WinXP,Win7

首先,我們使我們的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連接,而不僅僅是從localhost(注釋掉允許) :

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/phpmyadmin

Alias /phpMyAdmin /usr/share/phpmyadmin

Alias /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’;

[...]

phpMyAdmin在CENTOS6.0中簡(jiǎn)單的安裝步驟教程

phpMyAdmin在CENTOS6.0中簡(jiǎn)單的安裝步驟教程圖2

重新啟動(dòng)Apache:

/etc/init.d/httpd restart

之后,您可以根據(jù)訪問phpMyAdmin http://192.168.0.100/phpmyadmin/管理數(shù)據(jù)庫(kù)了。

mysql從5.5之后源碼裝置需求運(yùn)用cmake:

To install MySQL from source,your system must have the following tools,regardless of installation method:

CMake,which is used as the build framework on all platforms.CMake can be downloaded fromhttp://www.cmake.org.

A good make program. Although some platforms come with their ownmake implementations,it is highly recommended that you use GNUmake 3.75 or newer. It may already be available on your system asgmake. GNUmake is available fromhttp://www.gnu.org/software/make/.

A working ANSI C++ compiler. GCC 4.2.1 or later,Sun Studio 10 or later,Visual Studio 2008 or later,and many current vendor-supplied compilers are known to work.

Perl is needed if you intend to run test scripts. Most Unix-like systems include Perl. On Windows,you can use a version such as ActiveState Perl.

yum 裝置 gcc,gcc-c++,cmake,bison(GNU),運(yùn)用 centos6.0 自帶的perl和openssl

增加mysql組和mysql用戶

/usr/sbin/groupadd mysql

/usr/sbin/useradd -g mysql mysql

將mysql和data文件裝置到不同的物理磁盤上

cmake -DCMAKE_INSTALL_PREFIX=/opt/soft/mysql \\\\\\\\

-DMYSQL_DATADIR=/home/soft/mysql/data \\\\\\\\

-DMYSQL_UNIX_ADDR=/opt/soft/mysql/mysql.sock \\\\\\\\

-DMYSQL_TCP_PORT=3306 \\\\\\\\

12下一頁(yè)>

服務(wù)器安全狗Linux版 2.8.16710 官方版

服務(wù)器安全狗Linux版圖片
  • 軟件性質(zhì):國(guó)產(chǎn)軟件
  • 授權(quán)方式:免費(fèi)版
  • 軟件語言:簡(jiǎn)體中文
  • 軟件大。22538 KB
  • 下載次數(shù):1126 次
  • 更新時(shí)間:2019/9/14 1:42:44
  • 運(yùn)行平臺(tái):WinXP,Win7...
  • 軟件描述:服務(wù)器安全狗linux版v2.0(safedog for linux serve... [立即下載]

相關(guān)資訊

相關(guān)軟件

系統(tǒng)資訊排行
最新系統(tǒng)資訊
系統(tǒng)教程分類

更多常用電腦軟件

更多同類軟件專題