restart centos 7

General support questions
Post Reply
xo)mora
Posts: 58
Joined: 2017/01/13 20:52:59

restart centos 7

Post by xo)mora » 2023/01/06 16:55:58

HI, please will you help what's the best form for restart apache in centos 7?

Thanks a lot.

Regards

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: restart centos 7

Post by tunk » 2023/01/06 17:23:31

Maybe something like this: systemctl restart httpd

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: restart centos 7

Post by TrevorH » 2023/01/06 20:36:25

You can also do a systemctl reload httpd if it is just the configuration files that have changed. It'll also take service httpd graceful that is even cleaner than reload.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply