Checking if it is installed:
[root@localhost ~]# rpm -q httpd
httpd-2.2.3-31.el5.centos
[root@localhost ~]# yum install httpd-2.2.3-31.el5.centos
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.files.bigpond.com
* base: mirror.pacific.net.au
* extras: mirror.files.bigpond.com
* updates: mirror.files.bigpond.com
Setting up Install Process
Package httpd-2.2.3-31.el5.centos.i386 already installed and latest version
Nothing to do
Starting the HTTP Server:
/sbin/service httpd start
Starting httpd: [ OK ]
[root@localhost usr]# ps -ef| grep http
root 4331 1 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4332 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4333 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4335 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4336 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4337 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4338 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4339 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
apache 4340 4331 0 11:37 ? 00:00:00 /usr/sbin/httpd
root 4342 2962 0 11:37 pts/1 00:00:00 grep http
Config files:
[root@localhost www]# cd /etc/httpd
[root@localhost httpd]# ls
conf conf.d logs modules run
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment