![]() ![]() On Ubuntu or Debian… $ sudo /etc/init.d/apache2/restart Init scripts $ sudo /etc/init.d/httpd/restart Stop, Start and Restart Apache Service Using httpd All other major Linux and Unix distros like openSUSE, SLES, Fedora Core, CentOS, RHEL, and macOS use httpd. Generally, Debian, Ubuntu, and their variants use apache2 as the binary name. ![]() Seeing that different platforms might use different binary or script names it might be good to get that out of the way. Not only do these servers have different names, but the installation locations vary, there are different scripts used to manage the server depending on the distro. The reason you will need to do this is usually Apache requires a restart when there is a change in configuration for the changes to take effect. Restart services on remote hosts - Ansible module service
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |