Fourteenth lesson to learn Linux

Apache configure a static Web site, use the http protocol, service name for httpd

yum warehouse simplest format
[yum]
name = yum
baseurl = File: /// Media / cdrom HTTP: /// the FTP: ///
enable = 1
gpgcheck = 0

SELinux security subsystem
1 domain (service)
2, the context (content)

getenforce view the status of SELinux enforcing, permissive, disable
setenforce setting status 0,1 (provisional)

semanage SELinux policy management
restorecon immediate effect
virtual host based on IP, domain name, port number (hard), Apache access control function
Fourteenth lesson to learn Linux
Fourteenth lesson to learn Linux
Fourteenth lesson to learn Linux

Fourteenth lesson to learn Linux
Fourteenth lesson to learn Linux

Guess you like

Origin blog.51cto.com/12865630/2457319