RPiRoss
Posts: 12
Joined: Sat Nov 22, 2014 7:31 pm

Minimal Server Distribution

Wed Jul 15, 2015 10:17 pm

Hi guys,

I'm not sure if this is the right place to post (mods please move if necessary), but today I purchased the Raspberry Pi 2 in the Amazon Prime deal thingy as I've wanted a personal one for ages to purely run Nagios on.

Anyway, the starter kit that I've purchased only comes with an 8GB SD card which I'm not fussed about as I only want to run Nagios on it anyway, but it will require a very lean and non gui based OS to run on, and from searching around it doesn't look like this really exists?

I was thinking perhaps using Ubuntu MATE and removing all unnecessary packages but thought I'd stop by here to ask if anyone knew of any OS's that would fit the bill?

I did come across https://minibianpi.wordpress.com/ but read that it isn't fully optimised for the 2 but will run on pretty much any Pi out there, however I want to make the most of what I have.

Any help is very much appreciated!

Ross

fruitoftheloom
Posts: 21329
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Minimal Server Distribution

Wed Jul 15, 2015 10:35 pm

Raspbian is the recommened OS and there is a net installer which will give you a small footprint OS which will allow to only install the packages you require:

https://github.com/debian-pi/raspbian-ua-netinst


Regards Ubuntu they are all Community Distributions, I believe there ar 4 or 5 flavours around, but a base OS can be found here:

https://wiki.ubuntu.com/ARM/RaspberryPi
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

Heater
Posts: 14259
Joined: Tue Jul 17, 2012 3:02 pm

Re: Minimal Server Distribution

Wed Jul 15, 2015 11:26 pm

RPiRoss,

Do what? I was running Linux with X Windows a browser and other GUI goodies on it from a 1GB hard drive back in the day. Including OpenGL accelerated games.

All of my Pi have only 8GB SD cards.
Memory in C++ is a leaky abstraction .

User avatar
Jednorozec
Posts: 809
Joined: Sun Nov 24, 2013 2:17 pm
Location: Deposit, NY

Re: Minimal Server Distribution

Thu Jul 16, 2015 8:38 am

8GB is loads of room. A normal Raspbian install uses 3.2 GB.
The most important leg of a three legged stool is the one that's missing.
It's called thinking. Why don't you try it sometime?

RPiRoss
Posts: 12
Joined: Sat Nov 22, 2014 7:31 pm

Re: Minimal Server Distribution

Thu Jul 16, 2015 2:44 pm

Heater wrote:RPiRoss,

Do what? I was running Linux with X Windows a browser and other GUI goodies on it from a 1GB hard drive back in the day. Including OpenGL accelerated games.

All of my Pi have only 8GB SD cards.
Yeah I'm aware that's possible, however I don't want to have to run anything I don't necessarily have to...

The Raspbian net install sounds great though, I'm going to give that a go.

Thanks for your helps guys.

Ross

User avatar
RaTTuS
Posts: 10517
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Minimal Server Distribution

Thu Jul 16, 2015 2:45 pm

with a normal raspbian install it wont be running you don't need [it may be there on the disk but it's not being used]
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Minimal Server Distribution

Thu Jul 16, 2015 4:34 pm

Bash script to strip a lot of the dross (x stuff included) out of standard Raspbian.
Its what I use on all my servers.

Code: Select all

#!/bin/bash
# Stephen's Raspberry Pi Mimimalist install from standard Raspdian Image
apt-get update
apt-get purge xserver* -y
apt-get purge ^x11 -y
apt-get purge ^libx -y
apt-get purge ^lx -y
apt-get purge samba* -y
apt-get purge ifplugd -y
apt-get purge omxplayer -y
apt-get purge rpi-update -y
apt-get autoremove -y
apt-get dist-upgrade -y
apt-get clean
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

Return to “General discussion”