当前位置:首页 > linux > 正文内容

apach 启动失败 可能因为安全策略

root6年前 (2020-12-12)linux1562

image.png

执行 setenforce 0
再次启动

systemctl restart httpd

OK 搞定

扫描二维码推送至手机访问。

版权声明:本文由一叶知秋发布,如需转载请注明出处。

本文链接:https://zhiqiu.top/?id=63

分享给朋友:

相关文章

CentOS修改hostname

vi /etc/hostname写下你的hostname重启reboot启动后,查看主机名sudo hostname...

Ubuntu 16.04 RabbitMq 安装与运行

Ubuntu 16.04 RabbitMq 安装与运行

准备工作一台服务器:Ubuntu Server 16.04.1 LTS 64位安装RabbitMq可以参照RabbitMq官网的安装教程(Installing on Debian and Ubuntu),来进行安装。这里我们使用apt-ge...

Cannot uninstall 'ipaddress'. It is a distutils installed project and thus

强制升级:sudo pip install --ignore-installed +模块名...

服务查看启动

服务启动、停止和重启service   xxx  start  service   xxx  stopservice   xxx ...

Python2 的Popen在docker中执行会挂起主进程

python2.7因业务需求。要把程序放入到docker容器中但是在docker执行的时候程序出现异常缓慢的情况检查函数执行情况发现当第一个线程执行到popen的时候会导致所有线程的挂起p1 = subprocess.P...