fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

DietPi | Minimal Raspbian. Optional "ready to run" software

Thu Feb 19, 2015 11:58 pm

Image

DietPi - Lightweight justice for your Raspberry Pi

http://DietPi.com

DietPi's complete list of optional, optimized and "ready to run" software:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=5#p5

Download DietPi image:
http://dietpi.com/download

Follow us on Twitter:
Get the latest news, updates and releases.
http://twitter.com/dietpi_

DietPi web hosting is powered by http://MyVirtualServer.com
Last edited by fourdee4d on Sun Nov 27, 2016 5:57 pm, edited 137 times in total.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

DirkS
Posts: 9876
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 12:14 am

It's still a duplicate...

User avatar
Gravesy
Posts: 78
Joined: Sat Feb 07, 2015 7:12 am
Location: The Netherlands

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 12:41 am

I hope you won't take offense at what i'm about to say, but...
Your list of software/services still strikes me as unnecessarily large.
You've got Transmission, FTP, Apache (and apologies, but every time i see someone mentioning Apache for the Pi i cringe; it's just such a resource hog).
Granted, it's all on an 'install as needed' basis, but unless you've created what amounts to a network install, the image for it will still be a bit more rotund than need be, IMHO.

I'd sooner advertise a build like yours as a one stop shop for a minimalist dedicated torrent server setup.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 12:59 am

Gravesy wrote:I hope you won't take offense at what i'm about to say, but...
All feedback is good feedback :)
Gravesy wrote:Your list of software/services still strikes me as unnecessarily large.
You've got Transmission, FTP, Apache (and apologies, but every time i see someone mentioning Apache for the Pi i cringe; it's just such a resource hog).
Granted, it's all on an 'install as needed' basis, but unless you've created what amounts to a network install, the image for it will still be a bit more rotund than need be, IMHO.
As you mentioned above. Only software you select will be installed. Also, DietPi is mostly a network install image.
I've been testing apache2/mysql/php5/phpbb3 on the Raspberry Pi 2 with DietPi's optimized config files (which auto install on setup). Runs a dream and i'll be switching my fuzon.co.uk website over to it tomorrow.

In terms of installing "too much", yes i agree, especially for a Pi1. I'd recommend installing one option.
But if you have a Pi2, i think you'd be surprised how well it runs all the software with the auto installed DietPi optimized config files.

I'd agree the Pi1 isnt really cut out for being a webserver, however, it wont stop us from trying to have some fun :)
Gravesy wrote: I'd sooner advertise a build like yours as a one stop shop for a minimalist dedicated torrent server setup.
DietPi is more than just a "bittorrent server". Even if you choose to install none of the software, you have a minimal Raspbian image that only uses 340mb of space and 12mb Ram. A great framework for any project.

Also, by using DietPi ,you wont need to spend hours trying to figure out what packages you could safley remove from the offical (and somewhat bloated) Raspbian image. I've done that all for you with DietPi.
Last edited by fourdee4d on Fri Feb 20, 2015 1:08 am, edited 5 times in total.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 1:01 am

DirkS wrote:It's still a duplicate...
Another Post?
Another Project?

I can assure you its none of the above.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
Gravesy
Posts: 78
Joined: Sat Feb 07, 2015 7:12 am
Location: The Netherlands

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 1:17 am

Well my RPi2 will be arriving tomorrow, while i've already done my own minimalist version of Raspbian, i might have a peek at your version, so how it holds up.

And fair point, if it's a network install there can't be much (if any) bloat :)
As for the RPi1's not being cutout for webserver work, you'd be surprised how well it holds up considering it's processing power and RAM limits, i know i was.
Although i must confess i bought the RPi2 to replace my RPi1 B, because it may run a webserver...
But it isn't pretty ;)

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 1:42 am

Gravesy wrote:Well my RPi2 will be arriving tomorrow,
Awesome. Trust me, its well worth the wait, felt like Xmas from 1995 for me lol.
Gravesy wrote:while i've already done my own minimalist version of Raspbian, i might have a peek at your version, so how it holds up.
By all means, give DietPi a go. If you want to see what packages are installed with DietPi-Core and compare with your version:
- Install nothing at the installation prompt stages (Press Enter, default is N)
- Paste this in

Code: Select all

dpkg --get-selections | grep -v deinstall
Also, if your interested in how DietPi works, you can see the scripts that were created for DietPi by going to /boot/dietpi .
Gravesy wrote: Although i must confess i bought the RPi2 to replace my RPi1 B, because it may run a webserver...
But it isn't pretty ;)
Me and you both!

You'll have fun tomorrow, i'd get an early night, its going to be a full day of limitless fun! :D
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
expandables
Posts: 654
Joined: Fri Jun 27, 2014 7:34 pm
Location: Neverland with Michael Jackson

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 1:50 am

I will download diet pi and see how it is because am looking for a minimal Raspbian. I hope it's supersedes diet-coke :mrgreen:
By thinking like an engineer you can create a raspberry pi.
Michael Jackson enthusiast.
I got the PI model B, B+ and PI 2 model B.
When will I get the A? I don't know.

adlambert

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Fri Feb 20, 2015 7:20 am

My first thought was the same as the reply above, if it is going to be a lightweight install then why choose Apache when the likes of nginx and lighttpd are available?

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Sat Feb 21, 2015 2:09 am

adlambert wrote:My first thought was the same as the reply above, if it is going to be a lightweight install then why choose Apache when the likes of nginx and lighttpd are available?
Added install options and optimizations for both Apache2 or Nginx based webserver.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
Gravesy
Posts: 78
Joined: Sat Feb 07, 2015 7:12 am
Location: The Netherlands

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Sat Feb 21, 2015 4:14 pm

Well, my RPi2 finally arrived (thanks a lot, Dutch postal services, for forgetting to pick up 42 parcels at the shop i bought it from ! :P ), just downloaded your image, am now running a comparison, and from the looks of things the base image is pretty much the same as mine, with the key differences that my image isn't published online, and that yours automates the installs for a lot of things.
I think the difference in image size is barely 3 mb :o
So, nice work, i'll deffo keep yours bookmarked in case i need it for future (web)server builds.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Mon Feb 23, 2015 12:48 am

Gravesy wrote: I think the difference in image size is barely 3 mb :o
So, nice work, i'll deffo keep yours bookmarked in case i need it for future (web)server builds.
3Mb! We all know that size doesnt matter, but, was mine bigger than yours? :lol:

Jokes aside, i appreciate you trying out DietPi, and i'am glad you finally got your Pi2, mine took over a week to deliver from CPC :o
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
expandables
Posts: 654
Joined: Fri Jun 27, 2014 7:34 pm
Location: Neverland with Michael Jackson

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Mon Feb 23, 2015 1:39 am

I have tested Diet-pi and it is really good distribution. Thanks for the image i can even put it on 1gb sd card.
Btw i change the hostname to Diet-Pepsi. :mrgreen:
By thinking like an engineer you can create a raspberry pi.
Michael Jackson enthusiast.
I got the PI model B, B+ and PI 2 model B.
When will I get the A? I don't know.

User avatar
Gravesy
Posts: 78
Joined: Sat Feb 07, 2015 7:12 am
Location: The Netherlands

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Mon Feb 23, 2015 1:19 pm

fourdee4d wrote:
3Mb! We all know that size doesnt matter, but, was mine bigger than yours? :lol:

Jokes aside, i appreciate you trying out DietPi, and i'am glad you finally got your Pi2, mine took over a week to deliver from CPC :o
A week ?
Lucky man, i'd been waiting since release day (shop i got it from kept running into trouble).
Also, my image was bigger, since i've got some ITSec stuff included in it, but mine lacks LXDE, otherwise i suspect i'd be quite a bit larger.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Wed Feb 25, 2015 4:10 am

expandables wrote:I have tested Diet-pi and it is really good distribution. Thanks for the image i can even put it on 1gb sd card.
Alot of hard work went into:
- Purging the Raspbian image into a minimal server based image.
- Creating software options that are "ready to run", and use tweaked configs unique to all Pi Models (1-256 1-512 2-1024 etc)

So thanks for the feedback, appreciate it!
expandables wrote:Btw i change the hostname to Diet-Pepsi. :mrgreen:
lol, awesome :lol:
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Thu Feb 26, 2015 6:37 am

As I dont own a Pi1-512mb myself, i'am desperately in need of Pi1-512mb testers.
If anyone has the time to try the DietPi image (download at top), and, let me know your experiences, i'd appreciate it!
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
DougieLawson
Posts: 35557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Thu Feb 26, 2015 9:43 am

I'll give it a go on one of my five 512MB Pi1Bs and on my A+.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
DougieLawson
Posts: 35557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Thu Feb 26, 2015 11:43 am

It worked OK on my B 512M

I did find the menus confusing.

Code: Select all

          lqqqu ---------- DietPi - Security Options ---------- tqqqqk
          x  Lock down your DietPi Install                           x
          x                                                          x
          x                 1    Change Root Password                x
          x                 2    Change Hostname                     x
          x                 Back Return to Main Menu                 x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                          <Ok>                            x
          x                                                          x
          mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
So, I have to choose Back then TAB to OK when I've set the root password, why isn't there a <BACK> option to the right of the <OK> option.

Code: Select all

          lqqqu ---------- DietPi - Security Options ---------- tqqqqk
          x  Lock down your DietPi Install                           x
          x                                                          x
          x                 1    Change Root Password                x
          x                 2    Change Hostname                     x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                                                          x
          x                       <Ok>    <Back>                     x
          x                                                          x
          mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
would be more logical
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
DougieLawson
Posts: 35557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Thu Feb 26, 2015 1:59 pm

Problems found so far:

1. Vim (aka vi) isn't installed, I had to install that before I could sensibly edit any files
2. ssh (client) isn't installed, couldn't connect to another pi in my network
3. There's no simple dialog to set a static IP address, if I'm running a server it makes sense to set a static address
4. You've pre-configured the keyboard with a US layout and haven't given me an easy option to set it back to UK

On the model A you fail because there's no eth0. Can't you include the stuff needed to get WiFi working and add a dialog to write

Code: Select all

auto wlan0
iface wlan0 inet dhcp
wpa-ssid "$WiFi_SSID_here"
wpa-psk "$WiFi_password_here"
into the interfaces file to get the interface active?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Thu Feb 26, 2015 10:41 pm

DougieLawson wrote:Problems found so far:
Hi Dougie,

Firstly, just wanted to say many thanks for the detailed feedback, exactly what i was after. I appreciate it and your time spent testing DietPi.

DietPi is designed to be a "minimal" installation, however, i agree with your comments.
1. Vim (aka vi) isn't installed, I had to install that before I could sensibly edit any files
I'll either add this to the image, or, make an install option (again, trying to keep it minimal, nano is installed by default)
2. ssh (client) isn't installed, couldn't connect to another pi in my network
I'll add this as an install option.
3. There's no simple dialog to set a static IP address, if I'm running a server it makes sense to set a static address
On the model A you fail because there's no eth0. Can't you include the stuff needed to get WiFi working and add a dialog to write
Thanks for the code snip, seems the be the way it should be done.
Wifi isnt currently supported at the moment. Once i can get my hands on a usb wifi module, i'll be adding wifi support. I'll also add more networking options to the menus to allow for connectivity options.
4. You've pre-configured the keyboard with a US layout and haven't given me an easy option to set it back to UK
I'll take a look at this. I plan to add options for changing language/keyboard layout to the menu also.
So, I have to choose Back then TAB to OK when I've set the root password, why isn't there a <BACK> option to the right of the <OK> option.
Regarding the menu, you simply need to press Enter when your choice is selected. I'll take your feedback on board and look into whiptail's (the menu system) options and see if <OK> <BACK> can be done.

Again, many thanks for your time and detailed feedback. Its all been taken on board.

Once the above changes are completed, would you be willing to take another look at DietPi if I contact you via Personal Message?

Regards
Dan
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

User avatar
DougieLawson
Posts: 35557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Thu Feb 26, 2015 11:38 pm

No need to personal message, just post on this thread.

Also I found lsusb is missing, that's an important diagnostic tool.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Tue Mar 03, 2015 8:06 am

DougieLawson wrote:No need to personal message, just post on this thread.
Here goes :)
Finally got my USB wifi adapter and was able to implement wifi support for DietPi. I'll be changing the scan menu to a selectable list at a later date (for now, it prints the wifi ssids found).
All your previous feedback was taken on board and has all been implemented. Thanks again.

Version 12 Released:
- Wifi is now supported
- Added Networking Control/Options in dietpi-config
- Added Language and Regional Options in dietpi-config
- SD / USB Hdd benchmarks added to dietpi-config
- Added options for additional Linux software during first run setup
- Added more unique optimizations for Pi256mb and Pi512mb models
- Cleaned up the menus (thanks Dougie)
- Fixed incorrect UTF-8 borders in Whiptail menus
- Lots of code optimizations in all menus

DietPi-Config Networking (eth):
Image

DietPi-Config Networking (wlan):
Image

DietPi-Config Overclocking:
Image
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

bergkuh
Posts: 17
Joined: Tue Mar 03, 2015 10:19 am

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Tue Mar 03, 2015 10:26 am

Your image looks really promising to me! :)

Before I start I'll need a small advice/tipp... So here's what I want to have in one image/installation:

- RetroPie via this tutorial
- Webserver (Apache2, PHP5, MySQL and ProFTP) via this tutorial (German)
- Something like Volumio/PiMusicBox (searching for tutorial)

So I'm not sure how to start... With your webserver setup or from scratch without anything ;)
Any tipps are welcome and many thanks!

User avatar
DougieLawson
Posts: 35557
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Tue Mar 03, 2015 2:42 pm

I'll have to give it a go on my A+
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

bergkuh
Posts: 17
Joined: Tue Mar 03, 2015 10:19 am

Re: [Diet-Pi] Minimal/Lightweight Raspbian Image now availab

Tue Mar 03, 2015 11:26 pm

I've installed the Core with vi and SSH, but how to I enable SFTP?! I can't find the config file...

Oh, the setup told me that my WLAN stick (EDIMAX EW-7811Un) wasn't found/detected.

Return to “General discussion”