DokuWiki is an open source wiki engine program, run under the PHP environment. Doku Wiki program compact and powerful, flexible and suitable for small teams and individuals manage the site Knowledge Base.
First configure dynamic network card and then continue with the following steps:
1. Install httpd
yum install -y httpd
2. Start httpd
systemctl start httpd
3 ... view the status
systemctl Status httpd
4. Firewall open port 80 (default port)
firewall-cmd --add-port=80/tcp --permanent
firewall-cmd --reload
The download package and its dependencies php
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php70w php70w-common php70w-fpm php70w-opcache php70w-gd php70w-mysqlnd php70w-mbstring php70w-pecl-redis php70w-pecl-memcached php70w-devel 安装php插件
6. Restart
systemctl restart httpd
7. Download
wget -c http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
8. decompression
tar -zxvf dokuwiki-stable.tgz
.
.
.
The mobile
mv dokuwiki-2018-04-22b /var/www/html/wiki/
10. give permission
chown -R apache:apache /var/www/html/wiki/
11. Profiles
vim /etc/httpd/conf/httpd.conf
The most added at the end of the script
<LocationMatch "/(data|conf|bin|inc)/">
Order allow,deny
Deny from all
Satisfy All
</LocationMatch>
12. Restart
systemctl restart httpd
13. Turn off the firewall
systemctl stop firewalld
setenforce 0
14. Check IP
ifconfig
15. Access to the web page URL column input
ip/wiki/install.php 例如:192.168.1.130/wiki/install.php