CentOS7上搭建Dokuwiki

Step1: 如下链接中所示,先安装Apache服务器,https://blog.csdn.net/chen3888015/article/details/71698353

安装后Apache服务器后开始是好的,正常运行,但是装了下php就出现过问题,就是systemctl status httpd显示inactive。后来通过sudo netstat -tulpn | grep :80命令查找,然后ps -Af | grep 52701(52701为上一条命令查到的进程号),然后systemctl status httpd就发现是ative了。

Step2: 如下链接中所示,下载Dokuwiki稳定版,https://download.dokuwiki.org/

Step3: 如下链接中所示,解压,部署,https://blog.csdn.net/flower_vip/article/details/55048733

Step4: 然后打开浏览器,输入172......./dokuwiki/install.php,出现如下错误,

百度google后,发现有可能是没有设置SELINUX的原因,敲入命令sudo setenforce 0,就ok了,如下所示

参考:

https://www.vultr.com/docs/how-to-install-dokuwiki-on-centos-7

https://www.cnblogs.com/error503/p/8041982.html,

https://www.dokuwiki.org/installer

https://www.linuxidc.com/Linux/2017-12/149501.htm, 

https://forum.dokuwiki.org/thread/9893

学习是熵减的过程,终身学习应当是每个人去做到的。
原文地址:https://www.cnblogs.com/alesvel/p/11127252.html