how to configure http server on red hat linux4.0?

Answers were Sorted based on User's Feedback



how to configure http server on red hat linux4.0?..

Answer / amsin21

Simple configuration
--------------------
Install apache: (get the rpm for apache)

# rpm -ivh httpd.rpm

# vi /etc/httpd/conf/httpd.conf

and change
ServerName your-domain.com

Start apache : service httpd start

Verify by pointing the browser to http://localhost/

Is This Answer Correct ?    23 Yes 2 No

how to configure http server on red hat linux4.0?..

Answer / kamal kakkar

Hi,

You just need to install yum install httpd
after that in this fine you have to edit
vi /etc/httpd/conf/httpd.conf

At the last just copy the 7 line
and paste it
it will ask for virtual host it should be yr ip adddress
like 192.168.1.141

virtual host 192.168.1.141
server admin root@station1.example.com
server name station1.example.com
document root /var/www/html
directory index index.html
<virtual host>

And then check the yr configuration fine
the command is httpd -t
and restart the apache server
service httpd restart
chkconfig httpd on

Is This Answer Correct ?    10 Yes 1 No

how to configure http server on red hat linux4.0?..

Answer / bharath

first u need to install

yum -y install httpd*

conf file /etc/httpd/conf/httpd.conf

chkconfig httpd on

service httpd restart

Is This Answer Correct ?    2 Yes 1 No

how to configure http server on red hat linux4.0?..

Answer / narendra

Required setsebool services

Is This Answer Correct ?    1 Yes 0 No

how to configure http server on red hat linux4.0?..

Answer / balvinder singh rawat

I am using RHEL5

TO configure apache simple install httpd rpm
if you have yum then run
yum install httpd

& service httpd restart

these two commands will start your apache server

to check start browser & browse to your hostname

Is This Answer Correct ?    6 Yes 11 No

Post New Answer

More Linux System Calls Interview Questions

1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?

3 Answers   IBM,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


What are system calls used for process management in linux?

0 Answers  


diff b/w spinlock, seamaphores and mutex and where to use it.

2 Answers   Intel,


What does exec family return?

1 Answers  






what is mean by raid and what are all raids available even in software and hardware?

5 Answers   Satyam,


how to configure sendmail server on red hat linux version 4 and what and all we Require?

3 Answers   Wipro,


What is the Diffrent between Redhat linux And suse linux

2 Answers   Wipro,


How to create secured appeche web sever ?

1 Answers   HCL,


What do fork() internally call?

3 Answers  


What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?

3 Answers   NetApp,


Port number is already in use .. how to fix for apache..?

1 Answers   Google,


Categories