Apache 2 Installation

Hi,

I got a server without cpanel.

Just downloaded Apache 2 from apache.org and installed it.

Now apache is running on the server.

I could get the apache default page with the IP of the server and also ps -aux shows

/usr/local/apache2/bin/httpd

But i can't get the status of apache like

service httpd status | start | stop

Nothing works. It says

[root@host1 root]# service httpd restart
httpd: unrecognized service

Also how i make httpd auto start ? I checked the setup, can't find apache listed there.

Regards,

Yujin

 

 

 

 

Top