I am trying to run Apache on my CentOS.(I am having very basic knowledge on linux).
[Apache Start Stop] using this link i tried to run: apachect1 start
But I got -bash apachect1: command not found
I also tried to check the status using $ /etc/init.d/nginx status
But I got -bash: /etc/init.d/nginx: No such file or directory
Then I tried to check if Apache is installed using : which apache2
But I got /usr/bin/which: no apache2 in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/git/bin:/usr/local/git/bin:/home/bebo/bin)
It seems that Apache is not installed, however I can see httpd directory in etc folder. Does it have any significance?
Is my assumption correct, if yes how can I install/from where to download & install. Else correct where I am going wrong.
Copyright Notice:Content Author:「Garry」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/31317885/checking-apache-on-centos