shchong2
asked on
Configuring Apache -- Step by Step !!!
Hi larry718 and everybody
(sorry if my question sounds stupid)
I'm used to windows, but currently shifting to Linux.
I never use Apache before, but only used Microsoft's Personal Web Server (very simple) to run my .html and .asp scripts.
I read up some documentation about configuring Apache servers. Some teach how to configure using all the command lines. Another teach how to configure using GUI "apacheconf" or "Apache Configuration" to configure.
My questions
============
(1) Is both doing the same task ?
So which one should I use ?
(2) The documentation with command lines descripts alot
on certificate, but I don't see any centificate
configuration on the GUI one ?
(3) I tried out the GUI configuration. When I try to
access a page locally, it cannot find the host that
I have set. So, assume I want to have the following
setting :-
host name : icel.com
ip addr : 10.1.1.20
can you pls tell me COMPLETE configuration using the
GUI "apache configurator"
(My problem is I don't really know what each field
stands : virtual host, main host, etc... so many)
Pls kindly show me the STEP-by-STEP / COMPLETE configuration for the GUI Apache Configurator
(p/s : I'd encounter many difficulties since my first
"touch" with Linux.
It's quite hard to pick-up (unless with some help
from experts like you guys)
That's why it SCARED so many newbies away!!!)
(sorry if my question sounds stupid)
I'm used to windows, but currently shifting to Linux.
I never use Apache before, but only used Microsoft's Personal Web Server (very simple) to run my .html and .asp scripts.
I read up some documentation about configuring Apache servers. Some teach how to configure using all the command lines. Another teach how to configure using GUI "apacheconf" or "Apache Configuration" to configure.
My questions
============
(1) Is both doing the same task ?
So which one should I use ?
(2) The documentation with command lines descripts alot
on certificate, but I don't see any centificate
configuration on the GUI one ?
(3) I tried out the GUI configuration. When I try to
access a page locally, it cannot find the host that
I have set. So, assume I want to have the following
setting :-
host name : icel.com
ip addr : 10.1.1.20
can you pls tell me COMPLETE configuration using the
GUI "apache configurator"
(My problem is I don't really know what each field
stands : virtual host, main host, etc... so many)
Pls kindly show me the STEP-by-STEP / COMPLETE configuration for the GUI Apache Configurator
(p/s : I'd encounter many difficulties since my first
"touch" with Linux.
It's quite hard to pick-up (unless with some help
from experts like you guys)
That's why it SCARED so many newbies away!!!)
ASKER
Hi, samri
I'd download the "webmin-0.87.rpm" onto my Windows system. I wonder how should I transfer it to my Linux pc.
Any utility that I can make use of ???
:)
I'd download the "webmin-0.87.rpm" onto my Windows system. I wonder how should I transfer it to my Linux pc.
Any utility that I can make use of ???
:)
ASKER
can someone pls help ?
:)
:)
See there is ver much difference in apache and pws. The pws can only handle few requests and very light. But Apache is use to run web servers.
So I think you are using linux7.1 The virtual host is that it share the sme computer but the website is different as u use the www.test.com and www.test1.com the main is www.test.com and all the site as virtual host the main host it www.test.com or localhost ok
THE GU I configuration is ver easy. But you have to start the httpd services and see the http://127.0.0.1 it will work. To start httpd just type setup on shell or command prompt and there is services just select httpd service and restart your box it will start working
Harry
So I think you are using linux7.1 The virtual host is that it share the sme computer but the website is different as u use the www.test.com and www.test1.com the main is www.test.com and all the site as virtual host the main host it www.test.com or localhost ok
THE GU I configuration is ver easy. But you have to start the httpd services and see the http://127.0.0.1 it will work. To start httpd just type setup on shell or command prompt and there is services just select httpd service and restart your box it will start working
Harry
U can see the site
http://www.e-gineer.com/instructions/index.phtml
for all the step by step instruction
Harry
http://www.e-gineer.com/instructions/index.phtml
for all the step by step instruction
Harry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have make sure httpd is running.
I tried out the GUI configuration. When I try to
access a page locally, it cannot find the host that
I have set. So, assume I want to have the following
setting :-
host name : icel.com
ip addr : 10.1.1.20
can you pls tell me COMPLETE configuration using the
GUI "apache configurator"
I tried out the GUI configuration. When I try to
access a page locally, it cannot find the host that
I have set. So, assume I want to have the following
setting :-
host name : icel.com
ip addr : 10.1.1.20
can you pls tell me COMPLETE configuration using the
GUI "apache configurator"
Is there a DNS server that resolves icel.com to that IP addy? If you ping icel.com will you get an answer? When you say that you can't find the host, this sounds like a DNS error to me.
EIther you have to configure the dDNS or just put a entry in the host file the example in the host file is given. I don't know the exact location of the HOst file but you can find it but commansd or you can use the find utility in the LInux KDE xserver
Harry
Harry
<<<I'd download the "webmin-0.87.rpm" onto my Windows system. I wonder how should I transfer it to my
Linux pc.
Any utility that I can make use of ???>>>
Use the Linux box and download it using Netscape.
Also if you have IP problems try installing it under DHCP 1st. I have setup Redhat 7.1 server with out modifying.
Linux pc.
Any utility that I can make use of ???>>>
Use the Linux box and download it using Netscape.
Also if you have IP problems try installing it under DHCP 1st. I have setup Redhat 7.1 server with out modifying.
shchong2,
sorry. kinda tied up for a few days.
If you download it using your windows PC, you can trasnfer it to you Linux machine by ftp, or you can copy the file onto a floppy disk, and transfer it to you linux. I will find that ftp will be most convenient. Or as larry718 recommended, try to download it using netscape from your Linux machine.
Depending on which version
http://www.webmin.com/webmin/download/webmin-0.87.tar.gz
If you are running RedHat, get this one.
http://www.webmin.com/webmin/download/rpm/webmin-0.87.rpm
Save it to a directory : /export/packages
an do a
rpm -i /export/packager/webmin-0. 87.rpm
To install it. Once done, you can use your browser to browse to :
http://yourserverip:10000/
and use the root id and root password to log in.
any problem, please let us know.
sorry. kinda tied up for a few days.
If you download it using your windows PC, you can trasnfer it to you Linux machine by ftp, or you can copy the file onto a floppy disk, and transfer it to you linux. I will find that ftp will be most convenient. Or as larry718 recommended, try to download it using netscape from your Linux machine.
Depending on which version
http://www.webmin.com/webmin/download/webmin-0.87.tar.gz
If you are running RedHat, get this one.
http://www.webmin.com/webmin/download/rpm/webmin-0.87.rpm
Save it to a directory : /export/packages
an do a
rpm -i /export/packager/webmin-0.
To install it. Once done, you can use your browser to browse to :
http://yourserverip:10000/
and use the root id and root password to log in.
any problem, please let us know.
I think there is a better way to transert file If you are using the fat32 type of filesystem then mount the drive on the Linux PC and u can see all the things in that drive. Just make a folder win in the /mnt and check the drive if it is dev/hda4 then use the command
mount -t vfat /dev/hda4 /mnt/win then press enter
You mount the win drive then access is as usual
Harry
mount -t vfat /dev/hda4 /mnt/win then press enter
You mount the win drive then access is as usual
Harry
ASKER
Sorry I was tied to the "D-link gigabit NIC" problem for sometime
also busy with the ftp problem
not touching apache for sometime, but coming to it now
i guess i should close this question now
but will post new one if I need some more help
one final question if you don't mind :-
========================== ========== ====
I've switch back to "Redhat 7.0" (for the sake of the d-link gigabit card).
Previously in Redhat 7.1, I've been using "apacheconf" (a GUI Apache Configurator)
Now I couldn't find the "apacheconf" program.
(1)Pls tell me how to know if this program is installed
(2)If not installed, how to get it installed
p/s: I installed all the packages come along with Redhat 7.0 (which took up more than 2 GB of disk space).
:)
also busy with the ftp problem
not touching apache for sometime, but coming to it now
i guess i should close this question now
but will post new one if I need some more help
one final question if you don't mind :-
==========================
I've switch back to "Redhat 7.0" (for the sake of the d-link gigabit card).
Previously in Redhat 7.1, I've been using "apacheconf" (a GUI Apache Configurator)
Now I couldn't find the "apacheconf" program.
(1)Pls tell me how to know if this program is installed
(2)If not installed, how to get it installed
p/s: I installed all the packages come along with Redhat 7.0 (which took up more than 2 GB of disk space).
:)
Depending on your preference: I would say that configuring via command line is pretty convenient but easy to make stupid typo-mistake. The GUI is much user friendly, but it take time to familiarize with how the GUI interface works. When comes to GUI, I personally prefer Webmin (http://www.webmin.com/webmin/) I contains a lot other tools that you might need to administer you Linux box.
For Q#3, please check you DNS configuration properly, or check your /etc/hosts file.
Do give my suggestion a shot. Should you need more information, please post more.