Webserver - Red Hat Enterprise
Hi, i'm new to linux but how do i start a webserver on Red Hat Enterprise Version 4? Is their a link to how to start one with FTP server, DNS, server etc... (Yes i installed all the server components when i installed linux.
thank you |
There's different ways to start a service. Most services are started automagically on boot (or by changing runlevel) because they have the right linkage in the /etc/rc.d/rc.$RUNLEVEL/ hierarchy: this is set with "chkconfig" ("man chkconfig" for more info). (Other common places services are started from are /etc/inittab or /etc/rc.d/rc.local but these aren't as flexible with respect to starting stopping.)
A way to start a service manually could be to use the "service" command ("man service" for more info): Apache would then be started with "service httpd start". Another way to start a service manually could be to use the initscript in /etc/rc.d/init.d/: Apache would then be started with "/etc/rc.d/init.d/httpd start". Initscripts take away much of the burden of restarting services in the right order, remembering the right flags to use, modules to preload, firewall rules to set etc, etc but some distributions thought it wise to not make systems management easier. On those boxen you will have to start the service manually. For Apache that means using "apachectl". I hope this gives you an idea of the different ways to start a service. Now, if this is a freshly installed box then please do yourself a favour and make sure you have only installed what you need now (everything that spells "I'll check that out later" should be removed and only installed when you are going to check it out), make sure you run a firewall and make sure you apply updates when they are released. Next to that you should look for basic GNU/Linux tutorials there (the RHEL site has a few good tutorials about administrative tasks) and here at LQ. |
this won't really help your problem. but try using "webmin"
it's a web-based wizard like configuration tool for, well, just about anything. not as powerfull as command line and maybe not that safe. a great way to learn linux and to manage your apache early on. it has a real shitload of options, so check it out. www.webmin.com |
this won't really help your problem. but try using "webmin"
So it's more like, uh, and ad? it's a web-based wizard like configuration tool for, well, just about anything. Actually I would recommend learning GNU/Linux using available tools before succumbing to web-based UI's. You are more likely to have a better chance at troubleshooting and fixing things if you fsck up, then. not as powerfull as command line and maybe not that safe. Uhuh. Like I said :-] |
I was looking at Webmin at one time but decided against it as it is a very poor way to administer linux. Stick to good ol telnet.
|
jstephens84 wrote:
Quote:
Peace, JimBass |
Thanks JimBass. Forgot about that. SSH is better. And if you are using a windows machine then use putty. It will do ssh.
|
Ahhhh i also can't port foward on my Linux PC i log into the router go to Port Forwarding enter my PCs IP (192.168.0.12) and it doesn't work. It says, "The NAPT server is not a valid LAN host" but i can port forward fine on this PC (IP: 10.0.0.1)
Whats up with this? |
Install the webmin rpm and then manage it remotly/locally usign web interface, it could be very tricky for newbie.
|
Quote:
Not sure how that works, you may only be able to port forward along the same ip range (or maybe just the same subnet?) Which could indicate the error message is coming up as the NAPT/NAT server isn't on the same set of ips as the client? just a guess |
Didn't setup the network, wouldn't have a clue. :S
|
Quote:
|
See this post: http://www.linuxquestions.org/questi...d.php?t=480553 And you'll know what i'm on about ;)
|
All times are GMT -5. The time now is 08:24 PM. |