Hallo
i m pretty happy 2day... coz i have successfully installed and
tested Apache Web Server on Linux m/c.
Like Linux Apache is a free s/w and can be freely distributed.
For details about Apache organisation visit
www.apache.org
Here i'll want 2 share my eperince of how 2 install and test Apache Web Server
1.To chech wether Apache is installed
$ rpm -qa | grep httpd
foll. Results will come up if its there on ur system
httpd-2.0.40-8
httpd-manual-2.0.40-8
if not then use RPM or from start menu ->System Settings ->
Packages and then check WebServer, install it
using RedHat CD's
Current version of Apache that comes with RedHat 8.0 is
Apache 2.0 and now Known
as HTTPD.
2.To change Hostname of your computer (eg.lug.hamdard.net)
edit using vi or any other editor
/etc/httpd/conf/httpd.conf
define ServerName as your computer's IP address
Search in httpd.conf for
ServerName LocalHost
and uncomment it.
3.add administrator e-mail address in
/etc/httpd/conf/httpd.conf
as ServerAdmin you@youraddress
4.To start httpd server
$/etc/init.d/httpd start
if OK then msg. Should appear
starting httpd: [ok]
5.To have httpd start every time you boot your system, run command
as root user
$chkconfig httpd on
6.To make sure web server is working, open browser (with Linux
usually its Mozilla) and type foll. In location box
http://localhost/
You will see Apache Web Server's Test Page
7.to access this page from another computer you will need to enter
the computer's Hostname or IP address
8.You cane make your own page and type
http://localhost//index.html
by replacing index.html with ur own Home Page in the
/var/www/html
Then, you can continue to add your own content to that directory
structure.
I'm mailing u from a m/c that runs RedHat 8.0 and m writing this
text in OpenOffice.org Writer, a Free software that comes bundled
with ReHat Linux or u can download it from its FTP site.
If any problems come up, mail back..
Happy Computing.
Arshad
_______________________________________
Arshad H. Siddiqui
MCA IV sem.
Jamia Hamdard
<<attachment: HNDimg.gif>>