Skip to content

Commit

Permalink
Add selinux bool flag but not run by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjiuming committed Oct 24, 2018
1 parent 52405b6 commit a6e4216
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trunk/install/install-centos7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ systemctl restart php-fpm.service
# startup php-fpm.service when booting.
systemctl enable php-fpm.service

# if `GET localhost` get 403 or 503 response code , "access denied" or other response content,
# remove '#' from next line and run script to allow httpd read user content ( /home/judge/src/web ).
# setsebool -P httpd_read_user_content 1

chmod 755 /home/judge
chown apache -R /home/judge/src/web/

Expand Down

0 comments on commit a6e4216

Please sign in to comment.