Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The web server for DAFNE Control System is Apache installed on host danteweb.lnf.infn.it (CentOS 7). The configuration files are present in the following folder:

...

Code Block
languagetext
/var/www/python/dafnews

Service Check

To check if Apache service is running, launch this command and check its output as root user:

Code Block
languagetext
[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
languagetext
[root@danteweb ~]# systemctl stop httpd.service

Service Start

To start Apache service, run the following command as root user:

Code Block
languagetext
[root@danteweb ~]# systemctl start httpd.service

Service Restart

To restart Apache service, run the following command as root user:

Code Block
languagetext
[root@danteweb ~]# systemctl restart httpd.service