Quote:
|
Originally Posted by SHtRO
They are probably already installed. Do this:
rpm -q httpd
If you get a package back, go to your GNOME desktop and select from the menu the "System->Administration->Server Settings->Services" application and activate your httpd service.
You will need to check it to activate it on the next boot and also "Start" it.
|
You can also type:
[root@web1 ~]# service httpd start
or
[root@web1 ~]# apachectrl start
and to make it start by default when you restart your pc/server just type:
[root@web1 ~]# chkconfig --levels 345 httpd on
I really recommend you check the man pages or --help for "service" and "chkconfig" so you really understand them
[root@web1 ~]# man service
[root@web1 ~]# man chkconfig
or
[root@web1 ~]# service --help
[root@web1 ~]# chkconfig --help