Starting httpd in linux
To start httpd, you need to type following commands
<br> [root@momo ~]# cd /etc/rc.d/init.d/<br> [root@momo ~]# ./httpd start<br>
To test is httpd service is running, type following command
<br> [root@momo ~]# ps -ef|grep httpd<br>
and this will give you results like
<br> apache 2862 2860 0 Aug18 ? 00:00:00 /usr/sbin/httpd<br> apache 2863 2860 0 Aug18 ? 00:00:00 /usr/sbin/httpd<br> apache 2864 2860 0 Aug18 ? 00:00:00 /usr/sbin/httpd<br>
To check if your httpd is installed in the system, type below command in the console
<br> [root@momo ~]# httpd -version<br>
August 19, 2008 | Filed Under Linux
Related Post
Comments
Leave a Reply