dacota 發表於 2009-1-31 23:33:27

Ubuntu 8.04 LTS 伺服器安裝-安裝 phpmyadmin

安裝 phpmyadmin
apt-get install phpmyadmin #安裝 phpmyadmin

裝完後新增一個 mysql 的帳密
mysqladmin -u root password [密碼]

安裝後預設的設定檔在 /etc/phpmyadmin/apache.conf

要設定apache,讓系統可以連結
cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/ #複製設定檔

ln -s /etc/apache2/sites-available/ /etc/apache2/sites-enabled/phpmyadmin #建立連結 ps.第二次重新安裝時,執行此行指令,重新啟動 apache 會出現錯誤 >_<,好像不用執行也可以

/etc/init.d/apache2 restart #重新啟動 apache
連結網址 https://localhost/phpmyadmin/

https://davidelin.blogspot.com/2007/12/ubuntu-7_25.html

----------------------------------------------------------------------------------------------
到竹貓星球,下載 phpBB3 ,安裝 phpBB3 論壇來測試 (OK)
https://phpbb-tw.net/phpbb/index.php

apt-get install php5-gd #安裝 GD 支援
/etc/init.d/apache2 restart #安裝 GD 後,重新啟動 apache

apt-get install imagemagick #安裝 Imagemagick 支援

chmod 777 cache/ files/ store/
頁: [1]
查看完整版本: Ubuntu 8.04 LTS 伺服器安裝-安裝 phpmyadmin