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.
Hey...I'm really wanting to get into this. I've had a site for a few years, always hosted remotely. I lived with several network folk for a while, and was always really interested in servers and whatnot.
Well, my site is ready to launch a new version, and I'm wanting to host it on my own server now. So I built a new box, installed RedHat 9 (checked Server) and have no clue where to go next. I'm brand new to Linux, brand new to Apache...I've never done this before, but will eat up anything you throw my way.
Of course I've been googling for resources, but a LOT of them lead here.
Can anyone point me to some excellent sources and tutorials to get me up and running? I'm running RedHat 9 (I'd rather learn in GUI mode as I have the fervor but time is a limited factor) which is connected to my net (static IP) through an external router.
Any and all pertinent resources will be EXTREMELY appreciated. I'm looking to simply serve the website (with PHP, MySQL and CGI all enabled) through my router and to the net. Nothing fancy, but for someone who's never done it before the job is daunting at best.
Always check the www.tldp.org for tutorials. Excellent site, although it can sometimes be written expecting some prior knowledge, so feel free to post up for clarification on any portions that aren't already broken down around here
Next, I've found it easiest to learn as you go. Throw the site on the box, test it locally or grab yourself a dummy domain name/free from somewhere like no-ip.com and play with it to get a feel. Then when you are comfy, throw your site up and redirect the IP to yours from home. Here's a really sad, short rundown of how I go about it, some steps you already have covered, but for reference I'll go through them all, but quickly:
Go to somewhere like www.godaddy.com and buy a domain name. Before filling in the DNS info when setting it all up, head over to www.zoneedit.com and grab yourself a free DNS server by signing up and providing the info you get when you purchase your domain name. Plug in all the values, specifically the IP from your home (that's the WAN IP not your private IP assigned by your router) and it will provide you with 2 DNS values. Now go back to the page that you are setting up your domain on (godaddy.com) and plug in the DNS servers in the area requested. Complete the rest of both the setups following help docs provided on the sites respectively. Finally, setup Apache to run your site (check apache.org for info on setting it up, search this site, and of course post up wrt anything confusing) and whatever backends may be necessary (MySQL).
After a few hours everything should be live, and you will be hosting from your own place (this all assumes your ISP is cool with it, and doesn't block necessary ports). Then from there, you can move onto hosting your email server as well, fun stuff.
Thanks so much! Lots to take in at the sites listed, but that's GOOD.
Question on the DNS you suggested...is there a difference if I am my own? As in I'm wanting to serve out three or four different domains from my single IP...I've heard that Apache is terrific for this, but of course I don't quite understand the difference between Apache's name server whatnot and the actual DNS.
Thanks though, I'll get to work playing with it like you suggested. Now I'm truly getting excited!
Oh and one more thing...I provide free webmail for my patrons. Is there a free, configurable mailserver prog that allows scripted automated, dynamic, scripted sign-ups for firstname.lastname@example.org? I wouldn't mind switching over and running my own mailserver too, but I don't want to get too far ahead of myself.
Last edited by ActionPlant; 10-28-2003 at 01:09 AM.
Apache doesn't provide DNS, however it provides nameserver redirection for virtual hosting. What that means is that you can host 100 (just a number, not the limit by any means) sites from 1 Apache install, all by simply distinguishing them by their domain name.
DNS is something like BIND or Tiny/DJBDNS. I strongly suggest you take the zoneedit.com option for now, take things in a little bit at a time. Learn to crawl before you walk, then walk before you run. DNS is a bit advanced, and not necessary as your ISP and zoneedit.com both provide excellent DNS services already, all included in your monthly bill already, or free from zoneedit.com
Well, I'm sure there is something like that in the module addons for squirrelmail; however you might find it a bit easier to try one of the integrated solutions that likely have an option already for that, something like moregroupware (www.freshmeat.net).
Apache is terrific for serving different domains on a single IP address. In the apache configuration, you would need to setup virtual hosting to do that trick. And I must say it's fairly simple to use. Now if you run your own DNS server, you then can establish intranet webpages (that's what i do). Therefore, if you setup your own DNS server you can have "actionplant.com", "actionplanters.com", and whatnot while the outside world cannot view it (your internal computers must be directed to your DNS server of course).
My explanations are bare I'm just explaining to you that what you want is possible. If you need more detailed information on setting that up, don't hesitate to ask
Well I went through quite a bit of www.tldp.org....good stuff there, but I'm noticing there are a LOT of definitions and not as much "do THIS then THIS then THIS" which is what I'm looking for to get going. I need to find a place to start, get something going and then learn to tweak it as I go. When I open up my Apache configuration in RedHat I don't know what to do with any of this stuff! If I've registered ActionPlant.com and have a nameserver (I guess I already had two), what do I put as the server name? Is THAT where the DNS goes, or is that the name of this particular server, and what does it do? What does it mean? The webmaster email address I can deal with. "All available addresses on port 80" is what it's set to listen to. I click the next tab...it's virtual hosts. Is this where I add my domain name? What do I do with "Lock file", "PID File", and the "Core Dump Directory"? What values should I use in User and Group under the same "Server" tab? Performance tuning is fairly self-explanatory.
What I need is that jump-start. Definitions are great, and there look to be a lot of resources for learning to tweak this thing, but just like a car, I can tweak away and it does me no good unless I know how to use the ignition. How do I get started here?