Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi folks! I'm a newbie to Linux and I just installed Red Hat 8.0 and I installed Apache. I can go to http:/localhost and see my index.html that I stuck in the www folder on this machine. Now first off, I'm on Time Warner Road Runner Cable/Dsl. I have a little Router that I'm hooked up to, its a: Dlink Di-704. There are two computers behind the router. The linux machine is behind the router. I need to figure out how to make my page available to the outside world. Like I said, I'm pretty new to this stuff (linux and web servers) and am not sure how to configure things and what my "address" is that I would type on another computer outside my network to see my page. I would extremely appreciate any help that people could offer. Thanks, and long live linux!
If it works, then you are good to go. However, I do believe you'll need to setup your router to forward to the IP of the computer that you will be serving up webpages from. To get the router to forward to that IP, use:
To obtain the "generic" ip of that computer. Then, in the port forwarding section of your router's config, enter that IP in. You will be forwarding to Port 80 for now, this does assume your ISP hasn't blocked that port (which you will find out fairly quickly). Main thing you'll want to do with the box serving up pages is give it a static IP. You don't want it to be dynamically changing on each reboot, otherwise you'll have to edit your router's forwarding each time as well.
You may want to also look at getting a Domain Name registered. That way people will be able to access your box by going to: http://anactualname.com rather than an IP. Names are much easier to remember. If you've got a Dynamic IP from your ISP, then I'd suggest looking at www.no-ip.com They work great with Dynamic IP's. There are others out there, look in www.google.com for Dynamic IP DNS.
You need to go into the D-Link 704 admin page. Open up select the "Advanced option" open up port 80 on the IP of the webserver. Note that your ISP will most likely block port 80 (mine did) so you may want to open 8080 as well.
Click save. Then reboot the router.
If you're lucky this will work. Try opening a browser and typing http://your_IP_address . the IP referred to is the IP you ISP has assigned you NOT your local 192.168.0.XXX IP.
If this failed, try changing the Port directive in apache from 80 to 8080. remember to restart apache. Then try your URL again.
Next thing you'll want to do is go to www.no-ip.org and they will provide you a free generic URL (unless you have a more specific one in mind).
I don't want to clog the thread will all of the minutea so feel free to e-mailme if you get stuck.
Hi, thanks for the great responses. So here's what I've done. I setup the router to work with the port 80 and 8080 and set the ip address for those to be the linux server. It didn't work, so I went into apache config file and changed the 80 to 8080. This still didn't work when I tried entering my i.p. address (the one my isp has assigned me). Any more ideas on how I can work out these kinks? I totally appreciate the help. Thanks!
Do you have 2 boxes on this network? Can they communicate with each other? Can you ping the IP of the server box from the other box? If so, then I am leaning towards making sure your router is setup correctly. Hopefully cmfarley will be able to offer more advice on that end. For now, when you changed your apache config, did you restart apache? I believe the command is:
Hi, I tried the ping and it worked. I did do the apache restart whenever I changed the config. When I changed the config there were three places were there was the number 80 listed regarding port. I tried all the different combinations of changing it to 8080 but I'm not sure exactly which ones should be 8080. cmfarley19 if you have any more advice on the router stuff that would be super. Thanks guys!
Hi Chris, i want to email you, but under your post there is no email icon. There is the email icon under my post and under MasterC's post, but not yours. do you have this option turned off maybe. My email is on there, so you can email me there with your address if you don't want it to go in the clear and I will write back with the stuff you said to send over. Thanks!
You might also want to use dyndns.org. They have a variety of domains to choose from when picking a temporary domain, and their lifetime domain forwarding for your full domain is reasonable for a flat fee.
I don't know what their deal is but FREE they are...
also It says fully updated from my winboxes using directupdate...
from there I just configure my Nat Forwarding to which box I wan controlled ... like VNC and play with display ports to get all my nvc's throught the wall.. Red Hat; windows; and what ever else I need like Web server FTP.. and more!!