LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-07-2010, 05:43 PM   #1
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Rep: Reputation: 16
Minimalist Linux Server


I am wanting to create the smallest server I can possible. I have a small server I use as a print server and for file sharing. The hard drive is about 80GB.

Since I only run cups and samba, I see no reason to take up an addition few GBs with major distros just to run the OS. I know it is possible to get a small distro around 50MB or so. I would even be happy with an OS running around 200MB.

My question is, what would be the best way to go about doing this? LFS is just too complicated and time consuming for the end result. Would something like Gentoo be better? Anything else that I may not know about?

Thanks.
 
Old 10-07-2010, 06:08 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
Busybox, Tiny X, and FLTK in about ten megs: Tiny Core Linux (TLC)?
 
Old 10-07-2010, 06:12 PM   #3
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
Looks very promising. Thanks.
 
Old 10-07-2010, 06:14 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
For example Debian (after uninstalling not neccesary packages or doing netinstall) occupy about 300MB, you can try Damn Small Linux (has 50MB installation file) or use OpenWRT (it is mainly for routers, but can install cups and nfs or samba) - on my router it take up 5MB disk space.
 
Old 10-07-2010, 06:19 PM   #5
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
You can do this with any major distro: Fedora, Ubuntu, Debian, Slackware, Gentoo. Pick one you are most comfortable with and go with it.
Do a minimal install and then add samba and cups. My recommendation is Debian, Slackware, or Ubuntu in that order. I prefer Slackware but there are a few more steps to be aware of than for the other two distros.

The minimal install I'm referring is more like a pseudo minimal install because you could bring the size down even smaller if you know exactly which packages to install and the ones to avoid. I usually just go with base install packages and avoid any of the additional stuff such as window managers and desktop software.

You can google for more details and I'm sure there are web sites that already explain what you want to do in better detail. For Debian and Ubuntu, do a google search to find minimal Debian/Ubuntu Install CD or iso file. If you are able to find them, feel free to come back and ask.

I'm not certain about the size of the installs but they'll all be less than 1 GB and won't have Xorg. I going to guestimate that the install size will be about 500 MB.

You could also see if other distros such as Puppy, Slitaz, Tiny Core, and Slax might be able to serve your purpose.
 
Old 10-07-2010, 06:52 PM   #6
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
Alright I am trying to minimal debian install. I will post back and let you know how it goes.

Thanks.
 
Old 10-07-2010, 09:37 PM   #7
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
I installed Debian without adding any software except for the core. It was about 750MB. When I installed apache2, php5, and mysql-server, it went up to 1GB. I would prefer it to be smaller. I know that really isn't that much, but I like my basic installs small. I will try Fedora next as well as Gentoo (first time to try Gentoo btw). If I can't strip things down too much I'll check out TinyCore.
 
Old 10-07-2010, 11:07 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
There are floppy based distro's that should work fine for that.

Might try one of the minimal slitaz versions if you want.

I haven't looked at menuetos in a while. It may be enough. Written in assembly so almost no space used.

If you want to get rid of the bulk and not interested in speed try one of these. http://www.frys.com/product/5970674

Last edited by jefro; 10-07-2010 at 11:09 PM.
 
Old 10-07-2010, 11:16 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,838

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
I wouldn't suggest gentoo - have a look at Arch. No need to remove anything - also the entire system is compiled for 686, not 386.
 
Old 10-08-2010, 12:35 PM   #10
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
Ok! Sounds great. Thanks for the advice.
 
Old 10-08-2010, 05:22 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
I'd suggest gentoo if you want to have a fast stable system that is nearly custom built by you from ground up. You would end up learning a lot about the nuts and bolts of linux that would help you later. It does take some time to build and you can make mistakes on some of the setting choices. You'd end up better off for the experience.
 
Old 10-09-2010, 12:34 AM   #12
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
Any good Gentoo tutorials you know of? I tried following the documentation and ended up getting stuck because it wouldn't download the portage tree or something weird.
 
  


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
LXer: Minimalist Linux desktops LXer Syndicated Linux News 0 03-30-2010 01:21 AM
Need minimalist distro with PHP5, MySQL5, Apache2 like SME Server tonywhansn Linux - Distributions 4 10-03-2008 08:44 PM
XMMS and minimalist Linux jathomson Linux - Software 7 08-11-2007 07:16 AM
most minimalist gui- only the x server Tinku Linux - General 1 08-07-2005 10:24 AM
Get minimalist Linux to read floppy rfrychel Linux - Newbie 0 09-25-2003 12:54 AM


All times are GMT -5. The time now is 11:04 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