Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
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 installed Redhat 9 ok. It booted fine to. I cannot start my HTTP server though. I try to but it says it cannot start cuz of some resolution problem and just says that the config file with line 201. I also want to know how to find the IP address to my computer. I do an online search, but I gives me the IP address to the CBEYOND box outside. How do I find my IP address. Do I use theirs? Help Please!
Wow, lots and lots of questions all in one post. Not a bad idea if you've got a networking stallion helping you..
I'd suggest from now on to start a new thread when seperate problems arise
As for finding your IP address:
If it returns "unknown command" or whatever:
This will give you the IP assigned to that machine, if any. For your external IP, if that one is private, you'll have to check a page that gives that info, something like: http://dynamic.zoneedit.com/checkip.html
It seems you are finding the configuration pretty hard. I am currently running my own hosting for myself and some friends. This is on a 500Mhz system running Red Hat 8.0. To help me configure it I use a piece of software called Webmin (www.webmin.com) this software is extremely easy to install and use. It allows you to configure all your servers through a web interface. This is accompanied with some help concerning configuration. I would recommend this to anyone who doesnt have a lot of confidence with configuration files or finds them difficult to use.
One thing i dont understand is why are you using a DNS server? I dont have one and i am running my sites through www.dyndns.org which automatically forward the sites to me. Also the people you register the site with should allow you to have the site directed to your IP. DNS seems entirely unneccessary unless you are going to use separate PC's for separate sites, which for someone hosting a site at home i would say is unneccessary. I use named virtual hosts in apache to host multiple hosts on the same computer and this works seemlessly.
I would also recommend using Postfix for your mail server. This is easier to configure than Sendmail and is very flexible and reliable.
Ill try Webmin. I want to run my DNS through a free DNS provider, but Godaddy.com won't let me cuz everything ive tried says it isn't registered. I try to register but it only say ____.dcwdservices.com. Can you help me with this?
I tried to install Webin but it dosen't work. when i try to access localhost, it says: "not found". i still cannot access dcwdservices.com and followed the instructions it said. what do i do now. do any of you know how to setup webmin? and, lets not forget the biggest thing. i have to transfer servers quick. a hacker is deleting stuff on my site, adding stuff, and everything you name it. i really want to leave this server fast before i loose everything cuz of this hacker! help! please!
also phn73, sendmail was also extremely easy to setup, all i had to do was change 1 line in the sendmail.mc file to allow it to recieve mail from the internet and run the m4 command to generate a new sendmail.cf, copy it over and restart the server. im not sure if that's much harder or not than postfix, but it sure was pretty easy. but i do hear postfix is more secure.
also dynu.com lets you use their name servers if you have a dynamic ip address, but they make u pay like $30.00/year. If you really have to setup DNS, there is an excellent book, DNS and BIND from O'reilly books that explains how to setup DNS servers for BIND 4, 8 and 9 (i have the book right here in front of me). It costs like $47.00 though.
when u setup a new server, the 1st thing you should do is secure it. if you plan on being a true admin, you have to learn iptables. there are several tutorial on here (do a search for iptables).
for now, take the machine offline to prevent further damage.
or you could type the following rules in as root (superuser).
iptables -P INPUT REJECT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
this will block access to your web server and any other server also. it would seem though that someone has your password or something. several things could have been done to the machine. if it were me, i'd forget trying to figure it out and just re-format and re-install and set a strong password, one that has no real meaning like 1$x%.25aZb or something and configure a really good firewall script. i think u can afford to do this because you arent really in a production yet.
wait...did u mean the hacker is messing up the site that's hosted elsewhere? (not on your machine) if so then just save what u still have left, change the password on the site and get crackin on the the one you are trying to put up. but still, you will need to setup a firewall script.
someone is hacking into the server in Jacksonville Florida. And, of all www folders to pick, they pick mine! I had to talk to the server people about changing my account info there, someone hacked in again and changed my password so I couldn't access it like all week!
you have to login with you root username (root) and password... this will give complete access the the webmin interface. The first thing i did when i got this running was to setup a webmin account that would act as my server admin. This would only allow changes to my servers that i would be running. I also restrict the webmin root login to my machine on the local network from which i admin the system.
Sorry i havent replied for ages... i've been on holiday.