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!
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.
Originally posted by tuxrules how did you check the ip addresses? How are the machines connected (wired or wireless)? Also it is highly unlikely that you would have same IP address for all three machines.
It's a wired connection, not wireless. It's a little, 10/100 5-port Workgroup Switch from Linksys.
It isn't a lack of linux knowledge that is your problem, it is networking. That web page you posted gives you your "real world" IP, which is why all 3 computers had the same. That IP address actually belongs to the router. You fail to see a website because the router is not set to forward requests on whatever port you chose to the computer running Apache. You need to do 2 things - find out your local IP address, and forward requests at port whatever to the Apache server. For linux, /sbin/ifconfig will give you the IP addresses of the wired ethernet cards. Since you're behind a device, you will mostlikely have a local IP of 192.168.X.X, 172.16.X.X->172.31.X.X, or 10.X.X.X. Once you find out the IP address of the Apache box, you'll be able to see it from the other computers in your LAN, again with the specified port. If the other boxes run another nasty operating system, open a command prompt and type ipconfig, and that tells your IP address.
Then if you want the website to be seen on the net, you need to configure the router to pass the requests for port whatever to the Apache box.
Originally posted by JimBass You need to do 2 things - find out your local IP address, and forward requests at port whatever to the Apache server. For linux, /sbin/ifconfig will give you the IP addresses of the wired ethernet cards. Since you're behind a device, you will mostlikely have a local IP of 192.168.X.X,
Thanks for your help!
I did /sbin/ifconfig, and my ip was 192.168.x.x
So I went to the other machine (which is running another operating system), opened up a web browser, typed in the ip (and the port I'm using) and it worked!
So now I am able to have the code/database reside on the Linux machine, and then my co-worker can insert/update/delete records on a W*****s machine.
Originally posted by JimBass FYI, it is always safe to post 192.168 addresses in full. You can't reach 192.168 over the internet, only a LAN/WAN, so you could have posted the full address, and nobody could have touched your box.