Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

httpd service centos 7 and centos 8

# start httpd service
sudo systemctl start httpd.service
# stop httpd service
sudo systemctl stop httpd.service
# check status httpd service
sudo systemctl status httpd.service
# restart httpd service
sudo systemctl restart httpd.service
 
PREVIOUS NEXT
Tagged: #httpd #service #centos #centos
ADD COMMENT
Topic
Name
8+8 =