Redhat7:Apache running
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