Last active
January 22, 2020 05:38
-
-
Save novalagung/054cfe3ba9cafb729321bbf3c7c8839c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list stuff with it's security context | |
ls -lrtZ | |
# then adjust the security context using chcon | |
sudo chcon -v --user=system_u ride-dev | |
sudo chcon -R -v --type=httpd_sys_content_t ride-dev/* | |
semanage port -l | grep http | |
semanage port -a -t http_port_t -p tcp 8085 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment