Redhat7:Apache running

From Define Wiki
Revision as of 10:17, 15 January 2015 by Michael (talk | contribs) (Created page with "<syntaxhighlight> #install apache yum install httpd #start the service systemctl sart https.service #start the service automatically systemctl enable httpd.service #stop the service syst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#install apache
yum install httpd
#start the service
systemctl sart https.service
#start the service automatically
systemctl enable httpd.service
#stop the service
systemctl stop httpd.service


#restart the service
systemctl restart httpd.service
#reload the config
systemctl reload httpd.service