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.
I have installed LAMP.
I do have a static IP.
I need to know how to set it up some how that it is possible for others to see my site.
(Iv seen it being done, with the URL being the IP of the computer)
Thank u all in advance
sorry, i have no idea what i should be looking for and how.
but here is the result of netstat -nalp | grep :80
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 192.168.2.107:45985 18.104.22.168:80 TIME_WAIT -
tcp 0 0 192.168.2.107:60282 22.214.171.124:80 ESTABLISHED 5671/firefox
tcp 0 0 192.168.2.107:56704 126.96.36.199:80 TIME_WAIT -
tcp 0 0 192.168.2.107:56371 188.8.131.52:80 ESTABLISHED 5671/firefox
tcp6 0 0 :::80 :::* LISTEN -
Yes, it is possible; you just need to configure port forwarding on your router to forward port 80 (http) to your linux computer. And you need to make sure that your linux computer's firewall is not blocking inbound traffic on port 80.
Try these methods to access your site on your local computer:
http://localhost/ #will work if webserver is running & site is configured right
http://127.0.0.1/ #will work if webserver is running & site is configured right
http://xxx.xxx.xxx.xxx/ #Your IP Address here
If all the above methods work. Then your LAMP setup is fine. Your network is not configured right or firewall is preventing it. Try pinging your IP address from the other computer, if it does, then you can connect your webserver from that machine with your IP address.