LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-01-2012, 06:27 PM   #1
SMurf7
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian 3.x etch (testing)
Posts: 24

Rep: Reputation: 0
Red face Debian in Less Than 500 MB?


Hello,

I'm trying to install a barebone Debian Squeeze installation, hosting purely a mail server (postfix, dbmail, postgresql and fetchmail). No X server, no ssh, any admin will be done locally via CLI.

Two storage media involved: a small SSD for the system (512 MB) and a larger hardware RAID array for mail storage.

I have tried simulating this via VirtualBox. With just the "Standard System" option initially selected in tasksel, the installation takes up over 600 MB, more with the installation of my specifics.

I thought the "Standard System" was the smallest install possible? How can I go about stripping down the system so that I can be sure that only the things that I need (and their dependencies) are installed?

For reference, I did manage to make a smaller system in CentOS 6, but my final target is an ARM system with only Debian supported.
 
Old 12-01-2012, 07:33 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I'd advise also putting /var on the hardware RAID, since you'll want to allow space for log files, which for a mail server can grow quite copious in size.

I'm not usre how I'd recommend stripping down any further. Even the Linux kernel and initrd take ca 20 MB on my Arch system, which is aleady ~ 5% of your space. You might want to go for a more stripped down distro such as Puppy, if you can convince it to install on your hardware. Otherwise, you might just need to shell out for a 1 GB SSD (should not be very expensive).
 
Old 12-02-2012, 10:20 AM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Arch
Posts: 3,136

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
Quote:
Originally Posted by SMurf7 View Post
How can I go about stripping down the system so that I can be sure that only the things that I need (and their dependencies) are installed?
Don't select any tasks with tasksel, then install just the packages you want.
 
Old 12-02-2012, 10:28 AM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,191

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
You may find this helpful: http://www.debian.org/releases/stabl...apds02.html.en

Frankly I don't understand the self-imposed arbitrary limit of 512mb. I can tell you from experience that Linux really doesn't like it when you run out of space on / partition. For less than $100 you can buy a nice big drive to accommodate a stable-reliable-easy-to-install-maintain-and-upgrade Debian mailserver. Isn't that worth a few $$ to upgrade your hardware and have a pleasant Debian experience?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking debian-500-i386-DVD-1.iso cola Debian 7 03-25-2009 06:53 AM
HP Designjet 500 + HPGL2 not working after debian etch upgrade piel69004 Linux - Hardware 0 11-06-2007 12:13 PM
LXer: SpeedFilm Joins Chastain Motorsportsí Indy 500 Program, Credits Tux 500 LXer Syndicated Linux News 0 05-24-2007 03:31 PM
LXer: Tux 500: Linux Sponsors Indianapolis 500 LXer Syndicated Linux News 1 04-18-2007 12:33 PM


All times are GMT -5. The time now is 06:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration