Differences between revisions 2 and 3
Revision 2 as of 2017-11-06 14:46:26
Size: 753
Comment:
Revision 3 as of 2017-11-06 15:11:41
Size: 763
Comment:
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
Config in /etc/httpd/config/{SL,CentOS,Ubuntu}.conf. Config in /etc/httpd/config/{SL,CentOS,Ubuntu,msttfonts}.conf.

Manual steps to take on an EL7 install server:

SELinux

Allow Apache to serve the repo mirrors

semanage fcontext -a -t httpd_sys_content_t  '/var/SL(/.*)?'
semanage fcontext -a -t httpd_sys_content_t  '/var/CentOS(/.*)?'
semanage fcontext -a -t httpd_sys_content_t  '/var/Ubuntu(/.*)?'

Allow Apache to serve files from AFS

setsebool -P httpd_use_nfs on

Allow Apache to run vamos client queries (from cgi scripts)

setsebool -P httpd_can_network_connect on

Apache

systemctl enable httpd

Config in /etc/httpd/config/{SL,CentOS,Ubuntu,msttfonts}.conf.

And a basic /var/www/html/index.html plus background image (SF.jpg).

TFTP server

systemctl enable tftp.socket

Procedures/instsrv (last edited 2017-11-06 15:11:41 by StephanWiesand)