Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Fedora core 1 - and i need to know how to set up a webserver - I have no idea of where to even start so any ideas (or how to's) would be brill
Of all scary things I've ever done with Linux, setting up a Webserver was the easiest, in fact, it works practically out of the box. Search your Redhat CD's for "Apache" and install it. Apache is a webserver, dare I say the most used world-wide? Certainly .
Once installed, as root, run apache:
Code:
apachectl start
that will start apache server. You stop the sever, well, by using "stop" instead of "start". If you open your browser now and type:
you will see a Welcome screen of Apache saying everything is working. You can substitute localhost for your IP address. That means that anyone with a Webbrowser who types: http://your_ip_address will hit your server and see your page . Pretty cool huh?. To change the page that is show at the local host, edit the "index.html" (or place your page) at /var/www/html (this may change slightly from one distribution to another, but it usually is at /var/www).
Later, when you have your homepage set up, you will might want to learn about DNS to use some cool addresses instead of your IP.
From there on, it's up to you setting up databases, php, and up to where you want it to be
also, since it seems fairly common nowadays for everyone to be behind a router, make sure you have port 80 open and set to redirect to your specific computer if you have more than one. otherwise, you will only be able to see your website when you type in localhost, and no one on the outside who types in your IP will be able to see your website (or you for that matter)
if you don't have a router, ignore my post
Last edited by np complete; 05-25-2004 at 05:48 PM.
try going to your RedHat menu > System Settings > Server Settings > Services
Scroll down until you see "httpd" put a little check in the box for it to start when your system boots up, and you should also try hitting the "restart" button to restart the web server services
have you rebooted your system since installing apache? might want to give that a try
Last edited by np complete; 05-25-2004 at 06:24 PM.
then press "TAB" after apache _not_ return. A list of possible executables of apache will be shown. Maybe you start apache with a different command like "apachetl" or, I don't know . Whatever you find try "apachexxx start". Here's a quick link:
Originally posted by Megaman X hmmmm, assuming that you are root, type:
Code:
apache
then press "TAB" after apache _not_ return. A list of possible executables of apache will be shown. Maybe you start apache with a different command like "apachetl" or, I don't know . Whatever you find try "apachexxx start". Here's a quick link:
after 3 minutes, it still cannot resolve your IP in the browser. I tried running a ping on your IP and was able to get a response. Are you on dial-up? Behind a firewall?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.