...
Code Block |
---|
|
/var/www/python/dafnews |
Service Check
To check if Apache service is running, launch this command and check its output on server danteweb.lnf.infn.it (192.168.192.107) as root user:
Code Block |
---|
|
[root@danteweb ~]# systemctl status httpd.service |
If the service is active (view following screenshot) then it's running, otherwise read which errors are reported.
Image Added
Service Stop
To stop Apache service, run the following command as root user:
Code Block |
---|
|
[root@danteweb ~]# systemctl stop httpd.service |
Service Start
To start Apache service, run the following command as root user:
Code Block |
---|
|
[root@danteweb ~]# systemctl start httpd.service |
Service Restart
To restart Apache service, run the following command as root user:
Code Block |
---|
|
[root@danteweb ~]# systemctl restart httpd.service |