CENTOS7安装ITOP报错
安装完成后,将ITOP拷贝到时 /var/www/html/itop/web目录,进入浏览器提示如下: 4 Error(s), 0 Warning(s).The directory '/var/www/html/itop/web/log' exists but is not writable for the application.
The directory '/var/www/html/itop/web/env-production' exists but is not writable for the application.
The directory '/var/www/html/itop/web/conf' exists but is not writable for the application.
The directory '/var/www/html/itop/web/data' exists but is not writable for the application.
问题在于这4个目录已在此目录下建立,并赋予权限
mkdir -p /var/www/html/itop/web/conf
chown -R apache:apache /var/www/html/itop/web/conf
请问下这是会情况,是哪里没做吗?
查看了之前的帖子,原来是没有设置SELinux权限导致
setsebool -P httpd_unified 1
执行后故障排除 好 chmod -R 777 html
这很明显是访问权限的问题
页:
[1]