|
4/4 |
2005/9/19-21 [Computer/SW/Unix] UID:39746 Activity:nil |
9/18 I just installed Red Hat Enterprise Linux 2.1 and everything seems to work ok except my httpd cannot be reached outside of the box. I have no problem pinging and sshing into the system, but http connection would not work. However, it does seem to work when I launch firefox within (same machine). What could cause this? I'm not familiar with PAM and I'm wondering if that's the culprit, and how I can check/fix it. Thanks. \_ PAM is a system for authentication and has nothing to do with httpd (barring certain login mechanisms, but that's another story). Your problem sounds like a firewall issue. You probably need to poke a hole in RedHat's default firewall to allow inbound connections to whatever port httpd is running on (probably 80 if it's started on boot or 8080 if you start it manually, but it's configurable). -gm \_ I'm going to guess you're a fucking idiot, but that's just a guess. \_ U = teh ghei. Check firewall rules, and whether the listening addresses in httpd.conf are correct. -John \_ Yes I'm an idiot, I've never done this before. So where do I configure firewalls? What files? \_ Ignore dim, he's just some out-to-lunch math guy at JPL. \_ I apologize for my harsh language. I had a bad day yesterday. I think RH 2.1 still uses ipchains, but it might use iptables. Look to see which one you are running, if any. You can do this with '/sbin/chkconfig --list'. Post your findings. \_ Ok I looked up and it's due to ipchains. I tried to correct it by "ipchains -A input -s 0.0.0.0/0 http -p TCP -j ACCEPT" and other crap and after about 35 minutes fiddling and reading horribly written man-pages without a godamn simple example, I just turned it off. /etc/init.d/ipchains stop did wonders. I'm just learning so I don't really care about firewalls. People need to learn to WTFM (write the fucking manpage) better. And btw you're a mean, mean guy, dim. You almost made me cry. -op \_ There are some good examples and tutorials online. Would you like links to some? -John \_ yeah yeah, please! Thank you John! -op, newbie \_ Google says: http://www.linux.org/lessons/beginner http://www.linux.org/lessons/beginner http://www.tutorialized.com/tutorials/Linux/Getting-Started/1 http://www.serverwatch.com/tutorials/article.php/3496046 |
4/4 |
|
www.linux.org/lessons/beginner -> www.linux.org/lessons/beginner/ Getting Started with Linux - Introduction Introduction Welcome to Linux Online's Getting Started with Linux beginner level cours e If you're new to Linux and want to find out how to use the fastest gr owing operating system today, all you have to do is follow these lessons and you'll be using Linux efficiently in no time. Getting Started with Linux is designed as a self-study course. We're afra id that due to the numbers of people who follow this course, we cannot a nswer any specific questions or clear up any doubts you may have about t he material. |
www.tutorialized.com/tutorials/Linux/Getting-Started/1 How Linux Works This document describes how Linux boots and loads up through user login a nd more. It describes how LILO loads the kernel, how the kernel finds the filesystem, and how the shell is loaded. Linux Tutorial This tutorial explains basic commands, file structure, file permissions, how to get help, how to work with file systems, networking, samba, DNS, DHCP, CRON, Apache, IP Masquerading, IPChains, and much more. Introduction to Operating Systems This section provides an introduction to basic operating system principle s from a Linux perspective. We talk about processes, files and directori es and the basics of how a user interacts with the system. Linux Basics This section provides an overview of Linux as an operating system and as a product. We discuss the key components of what goes into the Linux ope rating system, as well as the key packages that make up the more common distributions. Working With the System In this section we talk about user interaction with the system, primarily from the command line. We go into the basics of how the system perceive s the input and how it reacts. Linux Tutorial This tutorial explains basic commands, file structure, file permissions, how to get help, how to work with file systems, networking, samba, DNS, DHCP, CRON, Apache, IP Masquerading, IPChains, and much more. Working With the System In this section we talk about user interaction with the system, primarily from the command line. We go into the basics of how the system perceive s the input and how it reacts. |