安装搭建DoKu wiki
1:安装apache
yum install -y httpd
2:安装完成,检查下apache服务状态,刚安装完是关闭的,需要启动apache
systemctl status httpd
systemctl start httpd
3:防火墙开启80端口(默认端口)
firewall-cmd --add-port=80/tcp --permanent
firewall-cmd --reload
如果端口正在被占用,查看端口状态netstat -ntpl,然后就杀死
4:安装PHP7
安装php7以及扩展
#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
#systemctl restart httpd(重新启动htt