Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


nfsen_centos7

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
nfsen_centos7 [2015/05/24 19:46] adminnfsen_centos7 [2015/05/26 08:08] – [Installation] admin
Line 60: Line 60:
   * Enable and start apache: <code>sudo systemctl enable httpd   * Enable and start apache: <code>sudo systemctl enable httpd
 sudo systemctl start httpd</code> sudo systemctl start httpd</code>
 +  * Set SElinux rights to www directory:<code>semanage fcontext -a -t httpd_sys_content_t "/opt/nfsen/www(/.*)?"
 +restorecon -Rv /opt/nfsen/</code>
   * Create SELinux module. **Important: Modules created with audit2allow may allow more access than required.** <code>sudo yum install policycoreutils-python   * Create SELinux module. **Important: Modules created with audit2allow may allow more access than required.** <code>sudo yum install policycoreutils-python
 setenforce 0 setenforce 0
nfsen_centos7.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1