Re: TUTORIAL: How to Install Apache Web Server in CentOS 7.5 (1805) Linux in Amazon AWS Cloud with URL/HTTP/HTTPS Redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Aug 29, 2018, at 23:17, Turritopsis Dohrnii Teo En Ming <turritopsis.dohrnii@xxxxxxxxxxxxxxx> wrote:
> 
> sudo /usr/sbin/apachectl start

On CentOS 7 you really should run:

$ sudo systemctl start httpd.service

That way the service is managed by systemd and gets the appropriate cgroups and contexts. You also do nothing to ensure the httpd.service unit starts on boot. You need to run:

$ sudo systemctl enable httpd.service

—
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux