CentOS 6.5 搭建phpMyAdmin管理平台

來源:互聯網
上載者:User

實驗需求:在伺服器本機搭建mysql圖形管理工具

Linux系統:CentOS 6.5

1.簡單部署LAMP平台

# yum -y install httpd mysql mysql-server php php-mysql php-pdo

# rpm -ivh php-mbstring-5.3.3-26.el6.x86_64.rpm      //此包安裝光碟片沒有,需自己下載

--------------------------------------分割線 --------------------------------------

Ubuntu 13.04 安裝 LAMP\Vsftpd\Webmin\phpMyAdmin 服務及設定

CentOS 5.9下編譯安裝LAMP(Apache 2.2.44+MySQL 5.6.10+PHP 5.4.12)

RedHat 5.4下Web伺服器架構之源碼構建LAMP環境及應用PHPWind

LAMP源碼環境搭建WEB伺服器Linux+Apache+MySQL+PHP

LAMP+Xcache 環境搭建

LAMP架構協同應用的執行個體——phpMyAdmin

LAMP應用之phpMyAdmin、Wordpress

phpMyAdmin老出現登陸逾時解決方案

Ubuntu 安裝phpMyAdmin與Adminer

在LAMP基礎上實現SSL功能並安裝phpMyAdmin

--------------------------------------分割線 --------------------------------------

2.修改httpd設定檔,啟動服務

# vim /etc/httpd/conf/httpd.conf

……

ServerName  localhost.localdomain

……

DirectoryIndex  index.php  index.html

……

# service httpd start

3.安裝phpMyAdmin軟體包

# unzip phpMyAdmin-4.1.2-all-languages.zip -d /var/www/html/  //解壓到網站目錄

# cd /var/www/html/

# mv phpMyAdmin-4.1.2-all-languages/ phpmyadmin              //改名方便登入

# cd phpmyadmin/

# cp config.sample.inc.php config.inc.php                    //建立主設定檔

# vim config.inc.php

……

17 $cfg['blowfish_secret'] = 'jin123'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */  //隨便寫幾個字元

……

31 $cfg['Servers'][$i]['host'] = '192.168.100.1';  //本機IP

#若phpMyAdmin軟體不是安裝在mysql伺服器本機上,則可填寫用戶端IP,但需在伺服器上先授權用戶端有登入mysql服務的許可權

4.啟動服務

# service mysqld start

# service httpd restart

5.瀏覽器登入

http://192.168.100.1/phpmyadmin

phpMyAdmin 的詳細介紹:請點這裡
phpMyAdmin 的:請點這裡

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.