一·首先安裝是CentOS 7.0的源。
二·#yum list httpd 安裝httpd
三·下載下傳并解壓dokuwiki程式包(去網上找源碼包穩定版)
wget -c http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
tar -zvxf dokuwiki-stable.tgz
把解壓好的放到/var/www/html/wiki
mv dokuwiki-2017-02-19e/ /var/www/html/wiki
四·修改檔案夾所屬使用者及組
chown -R apache:apache /var/www/html/wiki
五·啟動
service httpd start
六. firewall 開通80端口 檢查是否開通
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload
七·通路網頁
http://IP或者域名/wiki
過程中我遇到的錯誤就是
1)rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm報錯 原因是沒有下載下傳rpm 使用指令是yum install rpm