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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
padeen - I have never used a /srv partition. Today was the first day I've ever looked in that dir and there is nothing in it.
It's the new hierarchy for served files, such as web, etc. RH are moving to it and Debian looks like they are too. I recently installed a Debian Squeeze package of a web-server and it set up /srv (but admittedly with soft links to /var/www).
It sounds like Debian is the way I should go, being a newbie? I've been told Ubuntu is pretty easy to learn and get the hang of, and since it is based of Debian they are similar. Then, per sjreilly above, Debian has alot of packages available and I like the idea of the rolling update.
I run a number of servers (Debian, Ubuntu and CentOS), but I chose to run Debian at home because of the huge number of packages available, the fact that it a rolling-update install (ie no need to reinstall when the next version comes out) and it just keeps going with little (no) maintenance.
Given that you have 750G drives the amount taken up by the OS is small. You might even want to consider using an SSD drive for the OS then use the two 750G drives for /home mirror.
I would have a good long "play" with setting things up. Try different setups and just enjoy the experience.
I don't have a firewall running on my server as I have a NAT firewall on my DSL router, so only WWW and SSH ports are directed to that machine (and SSH is on a none-default port, away from prying eyes)
Saying that, I do use fail2ban to drop connections from people trying too hard to access my server.
Don't put all your data on the machine until you've had a GOOD LONG PLAY!
and BACKUP your data!!!!! (rdiff-backup is great for incremental backups, and clonezilla (mentioned previously) is great for taking a snapshot image of the OS).
padeen - I have never used a /srv partition. Today was the first day I've ever looked in that dir and there is nothing in it.
I have actually considered the third hard drive to house the OS and supporting files, but my I don't think my power supply has enough connections for all of them, lol. And, I'd really like to avoid spending more money. It may not matter much, but I'm already using a molex splitter to run an extra fan and I'm trying to keep the splitter adapters to a minimum, lol. I don't know how much my power supply can handle because I've been told the Radeon 4650 is a power hungry card. I did actually come across an old video card, so maybe it still works and can be used to consume less power. I don't plan to keep a monitor attached to it once everything is setup (maintenance will be done remotely) but I'd like to keep a video card in it in case I do need the monitor.
I didn't really plan to transfer any of the data until all packages/functions are setup and secure. Figured there is no point in wasting time transferring everything if I can't get the system functioning, lol. So far, I only have about 25GB of data (I'm not much of a file sharer / donwloader, lol) and it is all on my windows machine. I will keep this in a backup folder until everything is functioning and can be safely retained on my 750GB hard drive.
In the event I can hook up a 3rd hard drive... what would be your suggestions on the size of hard drive which would be enough to house the OS and system files?
I think a 40G SSD would work great. You don't need that much space, but you don't want to be running at capacity either, especially on an SSD.
I would steer clear of Ubuntu as well. Yes it's based on Debian, just like Fedora is based on RHEL, but that doesn't mean it's a good alternative for the same applications.
I think a 40G SSD would work great. You don't need that much space, but you don't want to be running at capacity either, especially on an SSD.
I would steer clear of Ubuntu as well. Yes it's based on Debian, just like Fedora is based on RHEL, but that doesn't mean it's a good alternative for the same applications.
Thanks! I don't know if I'll have the cash to spend on a SSD, but I do have an IDE 40GB drive that I could throw in.
I do believe I'll start with Debian and see what happens. Does Debian have a desktop feature? I planned to install a desktop feature just to have it for learning purposes (and in case I can't figure out something in command line, maybe I can going through the desktop). I assume since it will be a server that no one is physically using everyday, I'd want to keep it pretty basic? Sounds like Debian is my best bet so far...
You get an option to install the desktop packages (along with those for File, Web and other services) during the install.
A useful tool for server Admin is Webmin (http://www.webmin.com) which provide a web interface to many of the services that your server will run - its one of the first packages I install (not, however, available in the repositories but you can add the Webmin repo or install the .deb package).
I jut purchased a 60G SSD for £40 - which is pretty much all you would need for the OS (more than enough actually assuming you move the web site onto your main drives)
You get an option to install the desktop packages (along with those for File, Web and other services) during the install.
A useful tool for server Admin is Webmin (http://www.webmin.com) which provide a web interface to many of the services that your server will run - its one of the first packages I install (not, however, available in the repositories but you can add the Webmin repo or install the .deb package).
I jut purchased a 60G SSD for £40 - which is pretty much all you would need for the OS (more than enough actually assuming you move the web site onto your main drives)
Your IDE drive would also fit the bill.
Steve
Thanks for the links! And yes, that should definitely be enough space for the OS... I don't plan on having anything stored on the same drive/partition that the OS is installed on. Basically, I'd like the OS drive to house the OS and any installed packages I may use and the 750GB drives would be for only for storing data.
As you are planning to allow web access to your machine you should also get a domain name from your ISP, or if you have a fixed IP address from your ISP you could buy a domain name.
Or you can register free with DynDNS (http://dyn.com/dns/), use one of their domains and use the ddclient package to update the global DNS tables if your IP address changes.
Also consider running rkhunter(Rootkit Hunter) in order to check if you have been hacked.
As you are planning to allow web access to your machine you should also get a domain name from your ISP, or if you have a fixed IP address from your ISP you could buy a domain name.
Or you can register free with DynDNS (http://dyn.com/dns/), use one of their domains and use the ddclient package to update the global DNS tables if your IP address changes.
Also consider running rkhunter(Rootkit Hunter) in order to check if you have been hacked.
Steve
Thanks! I will be calling my ISP today, so I will ask about this as well.
Of course, your ISP will try to get you to use space on their server, which isn't what you are after.
One more limiting factor for a web site on a home server is upload speed - I have 12M download at home but 1M upload. Just remember that if you expect people to be able to download big files or pictures from your site(s).
Of course, your ISP will try to get you to use space on their server, which isn't what you are after.
One more limiting factor for a web site on a home server is upload speed - I have 12M download at home but 1M upload. Just remember that if you expect people to be able to download big files or pictures from your site(s).
hmm.. I have the "hi speed" connection or whatever for residential(home) services which I believe is at 8M. I'm not sure what the upload speed is. Shouldn't I only need to be worried about the download speed if I have files for viewers to download? I would assume the upload speed will only matter for the files I upload to my server through a website or for files that users/viewers can upload to my server/network (which I definitely do NOT plan to do, lol).
Their "download" is your "upload".
External viewers won't be able to dowload from your site faster than you can upload content.
Within your home network you are, of course, only limited by your home network speed - wireless, 100M or 1G LAN.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.