LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-13-2005, 09:37 PM   #1
zoso
Member
 
Registered: Dec 2004
Distribution: Debian, Gentoo, Slackware, FreeBSD
Posts: 68

Rep: Reputation: 15
A Couple of Questions


I'm setting up a server, and have just a couple of questions. If anyone could help with them, it would be most appreciated.

1) What distro would be best? I'm currently stuck between choosing Slackware, Debian Sarge, and Debian Woody. Basically, all I want is security and stability, but I know Woody is very dated, and Sarge will soon become Debian's stable distribution. So... I'm stuck.

I DO NOT want a GUI of any kind. I need these things to come with the distribution: SSH, Apache, PHP, MySQL (maybe), and some sort of FTP server... in a nutshell.

2) Partitioning -- I'll be installing it on a 250 GB drive, so I was wondering what sizes to make the partitions (and what partitions would be necessary to make).

That's pretty much it. If anyone could shed some light on this, that would be great.
 
Old 01-13-2005, 09:54 PM   #2
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
I'd go with debian sarge with a custom compiled kernel. Also debian's startup scripts are easy to add/remove.

On the partitioning side I would have it split this way

2gb swap
1gb /etc
20gb /usr and /opt
250mb /boot
tmpfs for /tmp
60+ gb for /home
and use the rest to backup /home /etc /opt /boot /tmp . . . I'd write a little script to mount the backup partition, copy them over and change the permissions. Then unmount the partition. I am a bit paranoid but it'd be a nice idea to have such great backups in case you have a problem with an exploit and some "rm -Rf /" fun. My buddy had this happen and he had made a backup script but it kept the backup partition mounted under /mnt and it kept the permissions as they were. He made the script for a bad harddrive but I think it might be a good idea to do it if this is a secure server. If you don't want it then just have the home directory take up the rest.

Oh yeah, one more thing, make sure its differential backups (look at access times).
 
Old 01-13-2005, 09:55 PM   #3
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
well go with woody even though it is dated that means that it will be very well tested and secure. as far as partitions you would do well to have two. One for the / and one for home. If you wanted to you could put /usr on a third. but that should not be nessesary. I would put about 50 - 100 on home depending on the size of the content for the server and the rest on /. and never fear if you use GNUparted you can resize if need be. < not easy with out expert knowledge of partions. search for partroot-1.6.6 < boot disk and rescue with parted. good luck debian is perfect
 
Old 01-13-2005, 09:58 PM   #4
zoso
Member
 
Registered: Dec 2004
Distribution: Debian, Gentoo, Slackware, FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
Awesome, thanks guys. If I were to go with Woody, how messy would it be to upgrade to Sarge when it becomes stable?
 
Old 01-13-2005, 10:45 PM   #5
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
I believe you just change your apt-sources . . . and viola! . . . but I never tried so you might wanna google.
 
Old 01-14-2005, 03:42 AM   #6
zoso
Member
 
Registered: Dec 2004
Distribution: Debian, Gentoo, Slackware, FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
Sorry to keep asking questions here. Some of my hardware was not supported on Woody, so I installed Sarge. Since I'm allowing anonymous FTP access, would a home partition size of 150 GB and the rest devoted to the root partition be appropriate?
 
Old 01-14-2005, 09:29 AM   #7
barryman_5000
Member
 
Registered: Jan 2005
Distribution: Gentoo/Vector/Debian
Posts: 95

Rep: Reputation: 15
A 100 gb everything else partition is a bit of an overkill . . . I would keep it at 30 gb at the most. Can't imagine you using more than that even if this was an overloaded desktop.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple questions. kuplo Linux - Newbie 0 11-26-2005 10:48 AM
couple of questions?? Lucas10 Linux - Newbie 23 06-04-2005 05:45 PM
a Couple of questions! Nik0s Linux - Newbie 14 01-25-2004 11:01 AM
Just a couple of questions... LI-6Y LUCY Linux - Newbie 4 09-07-2003 09:33 AM
A couple questions aceman817 Linux - Networking 2 04-25-2001 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration