摘要: Apache 1.安装Apache yum install httpd 2.设置服务器开机自动启动Apache systemctl enable httpd.service 若要验证是否自动启动可在重启服务器后在终端键入以下命令来检测Apache是否已经启动 systemctl is-enabled 阅读全文
posted @ 2017-07-25 20:24 gaoyanliang 阅读(11184) 评论(0) 推荐(1) 编辑
摘要: 环境: Centos6.5 apache2+PHP5+MySQL 设置apache服务器网站根路径(设置之后可通过IP访问OJ) 1. 进入目录/etc/httpd/conf下的httpd.conf文件 把其中的Documentroot后面的路径后面加上/JudgeOnline 2. 重启apach 阅读全文
posted @ 2017-07-25 08:59 gaoyanliang 阅读(5889) 评论(0) 推荐(1) 编辑