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

how to configure ftp server on redhat linux?

9 Answers   Infosys,


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

5 Answers   IBM,


1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?

2 Answers   Wipro,


What do fork() internally call?

3 Answers  


if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?

4 Answers   NetApp,






What is the Diffrent between Redhat linux And suse linux

2 Answers   Wipro,


what is the difference between user APIs and kernel system calls ?

1 Answers   NetApp,


what is segmentation fault?

11 Answers   AdTel, NetApp,


what is samba, what is configuration file, how it will work?

3 Answers   Wipro,


What are the signals we have in Linux

3 Answers   HCL, NetApp,


What is atomic function / atomic variable ?

1 Answers   Broadcom,


what is stored in /proc ? what is significance of /proc in linux ?

3 Answers   NetApp,


Categories