DietPi-Software | Details for ALL installation options

Everything you need to download and start your DietPi experience.

Postby Fourdee » Wed Dec 09, 2015 4:12 pm

Wiring Pi Details:
Alternative GPIO interface library based on c. Bring out the engineer in you!

gpio.png
Installed Examples/Documentation:
Code: Select all
cd /root/wiringPi*
ls


Test/view GPIO:
Code: Select all
gpio -v
gpio readall


More Info:
http://wiringpi.com/


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Tue Jan 05, 2016 2:55 pm

WiFi HotSpot Details:
Turn your device into a wireless hotspot/access point. This allows other wireless devices to connect and share the internet connection.

Requires:
  • 1x Ethernet connection
  • 1x Supported USB WiFi adapter | May vary depending on device and available WiFi drivers/modules, however, common adapters (eg: Realtek) should be fine.

wifihotspot.png
WiFi HotSpot Connection Details:
Use the following credentials to connect devices to your hotspot.
  • SSID = DietPi-HotSpot
  • Access Key = dietpihotspot

Change WiFi HotSpot Settings:
Once installed, you can change the WiFi HotSpot settings (SSID/Key/Channel) at any time.
  • Run dietpi-config
  • Navigate to Networking Options: Adapters, then select WiFi.
  • Whilst in this menu, it is highly recommended you set the Country Code to your country. Depending on your country regulations, this could allow for channels 12/13 and increased power output (range) for the hotspot.



>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Mon Jan 11, 2016 2:26 pm

Shairport Sync Details:
Shairport Sync is an AirPlay audio player which plays audio streamed from iTunes, iOS devices and third-party AirPlay sources such as ForkedDaapd and Airfoil.
Audio played by a Shairport Sync-powered device stays synchronised with the source and hence with similar devices playing the same source. This allows for synchronised multi-room audio on multiple devices.

shairport-sync.png
AirPlay device name:
When searching for an Airplay device, select Shairport-Sync on DietPi

Stream from Android:
https://play.google.com/store/apps/details?id=eu.airaudio&hl=en_GB

Stream from iPad/iPhone
https://support.apple.com/en-gb/HT204289

Stream from a Windows/Mac PC:
Airfoil is an application that will let you stream audio playback directly to any Shairport Sync device. Press play on your favourite music player (eg: winamp/spotify) and click the speaker next to the DietPi device.

Audiophiles - Master music in realtime
By using a PC + Airfoil, you can master the music in realtime using the PC's CPU. This will allow all your shairport sync devices to sound even better without any performance hit on the device.
FuzonMp3 is a lightweight music player coded in c++ that sounds "as it should" and supports VST plugins. iZotope Ozone 5 is highly recommended for audiophiles.


Multiple Shairport devices / Change Shairport-sync Name:
If you are planning to use multiple Shairport devices on the same network, please make sure the hostname of each device is unique. The hostname will also effect the shairport-sync name.
This can be completed in dietpi-config > Security Options > Change Hostname.

Soxr interpolation:
Soxr interpolation will improve the output audio quality on Shairport. However, it is extremely CPU intensive.

Enable Soxr:
Code: Select all
sed -i '/interpolation = /c\interpolation = "soxr";' /usr/local/etc/shairport-sync.conf
dietpi-services restart

Disable Soxr:
Code: Select all
sed -i '/interpolation = /c\\/\/interpolation = "soxr";' /usr/local/etc/shairport-sync.conf
dietpi-services restart

If you have choppy playback using Soxr:
Increasing the shairplay-sync process priority (nice) may resolve the issue.
- Run dietpi-nice from the terminal
- Scroll down to and select 'Shairport Sync' then press enter
- Scroll up and select 'Nice : -20 (Highest priority)' then press enter.
DietPi will then automatically apply and set the nice level.

If the choppy playback continues, the CPU is most likely is insufficient for the processing required for soxr, and, should be disabled.


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Tue Feb 09, 2016 4:45 pm

Lighttpd Webserver Stacks:
Host your own websites with:
  • LLMP Webserver = Linux, Lighttpd, MySql, PHP
  • LLAP Webserver = Linux, Lighttpd, MariaDB, PHP
  • LLSP Webserver = Linux, Lighttpd, SQlite, PHP
All stacks come with PHP-FPM and PHP caches (APCU and OPcache). The sizes of which are optimized based on a share of total memory.

DietPi-Software | Webserver Preference System:
DietPi will install webserver stacks automatically, when required, based on your preference. Click here to find out more.

lighttpd-web-server.jpg
lighttpd-web-server.jpg (9.88 KiB) Viewed 20220 times

Access website:
url = http://192.168.0.100
local directory = /var/www

Access phpinfo:
url = http://192.168.0.100/phpinfo.php

Access memcache info:
APC/u = http://192.168.0.100/apc.php
Opcache = http://192.168.0.100/opcache.php

MySql / MariaDB Details:
username = root
password = dietpi


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

v113

Postby Fourdee » Sun Mar 20, 2016 5:59 pm

BaiKal:
Lightweight CalDAV + CardDAV server.

baikal.png

1st Run Setup:
Access the setup page:
url = http://192.168.0.100/baikal/html
Enter a new admin password for your account, then click the next/save button.

Enter MySql Details:
Use MySQL = Yes
MySQL host = 127.0.0.1
MySQL database name = baikal
MySQL username = root
MySQL password = dietpi

Once completed, you will recieve the following information:
Baïkal was not able to establish a connexion to the configured MySQL database (as configured in Specific/config.system.php).

The MySql service must be restarted before BaiKal can start using the SQL db.
Code: Select all
service mysql restart


Access web interface:
url = http://192.168.0.100/baikal/html/admin
Login username = admin
Login password = What you set during 1st run setup above.


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

v113

Postby Fourdee » Sun Mar 20, 2016 6:02 pm

RPi Monitor:
A slick, lightweight system stats monitor with web interface.

rpi-monitor.png
Access web interface:
url = http://192.168.0.100:8888



>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

v113

Postby Fourdee » Sun Mar 20, 2016 6:08 pm

Redis Server:
A non-SQL based (alternative) data store.


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

v114

Postby Fourdee » Fri Mar 25, 2016 2:10 pm

EmonPi:
Turn your Raspberry Pi into a energy usage monitor with web interface.

The DietPi optimized installation for EmonPi is aimed at users who want the following:
  • Ultra lightweight alternative installation to the official EmonPi image, with all the optimizations and features of DietPi. Allowing additional uses for your RPi device (eg: Owncloud server): Htop image of RPi Zero @ 700mhz, running our EmonPi installation.
  • Realtime and historical energy usage statistics uploaded to the emoncms.org cloud, viewable from a web browser and the Android App, from anywhere in the world.
  • Use an existing RPi, or, do not wish to purchase the full EmonPi package (eg: case).
  • Comfortable attaching the EmonPi to your Raspberry Pi GPIO. No soldering or wiring is required.

The DietPi installation does not support:
  • RF transmission. RF receiver (sensor nodes) is supported (eg: EmonTX/EmonTH)
  • EmonPi LCD screen.
  • Local emonCMS webserver on RPi. All emonPi data is sent to emoncms.org cloud.

Requires:
  • 1x EmonPi PCB - Order one here: Select Assembled PCB Only - No Enclosure, all other items to none (£59). Image of what you will receive. This installation also supports the optional temperature sensor, but its not required.
  • 1x Raspberry Pi (any model)
  • 1x Good quality Raspberry Pi PSU - (5v 2amp). The EmonPi does not need its own power supply. It will draw power directly through the GPIO's on the RPi.

emonpi.png
During Installation:
You will be asked to create a emoncms.org account and input your unique API Key. DietPi will automatically apply your API KEY during installation.
If you did not complete this, or wish to change the API Key on your system, please follow the steps located here, otherwise continue below.

Attach EmonPi to RPi

Connect power usage reader attachment
  • Plug the 3.5mm power usage reader into the EmonPi: Image
  • Clip the power user reader onto a positive (red) cable (cables are live, use caution): Image

Setup Inputs and feeds for Power usage:
Assign a name to your Power usage input.
Inputs are the realtime value of the data received from the EmonPi. We will assign a name to the power watt usage so we can use it later.
  • Login to your http://emoncms.org account
  • Click Setup at the top right of screen, then click inputs
  • Node 5 and Key 1 is your Power Wattage readings. Click the pencil on right hand side and change the name to Power WATT. Click the tick to save.

Setup feed:
Feeds allow your EmonPi data (inputs) to be saved to a database. You will need feeds setup if you want to view historical (and pretty) stats.
  • Login to your http://emoncms.org account
  • Click Setup at the top right of screen, then click inputs
  • Select the spanner on the far right of Power WATT
  • Check the screen matches this image, then click add
  • To verify the feed is active, click Setup at the top right of screen, then click inputs. You should see log under Process list of Power WATT: Image

Setup My Electric App:
My electric is an application that will allow you to view historical usage of your electricity. Also renders a pretty graph and can calculate costs.
  • Login to your http://emoncms.org account
  • Click Apps at the top of screen, then click My Electric
  • Under the Logout button at the top right, click the spanner
  • Under Power feed (Watts): select Power WATT
  • Under Bar graph feed: select Power WATT
  • Under Wh or kWh feed?: select Watt hours elapsed
  • Enter your unit costs for your electric (optional). then click Save
  • Press F5 to refresh the page and view your energy usage


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

v114

Postby Fourdee » Sun Mar 27, 2016 4:40 pm

Tor HotSpot:
Turn your device into a WiFi HotSpot/Access Point with Tor routing. All WiFi HotSpot traffic will be routed through the Tor network, for all connected WiFi devices.
Perfect for users requiring anonymity and privacy.

Also Installs:
- WiFi HotSpot

Requires:

test.png
WiFi HotSpot Connection Details:
Please see the following link: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=1207#p1207

Verify traffic is being routed through Tor:
On the connected WiFi device, go to the following URL: https://check.torproject.org



>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

v115

Postby Fourdee » Sun Apr 03, 2016 2:52 pm

Webserver Preference System:

What is "Webserver Preference System"?
The DietPi webserver preference system allows you to choose your favourite webserver for use in DietPi installations.
When you select any software for installation that requires a webserver, DietPi will automatically install, configure and optimize your chosen webserver preference. DietPi will also install Mysql/Sqlite as required, depending on your software selections. Basically, you will never need to manually select/install a webserver stack again. DietPi will do it all for you.

Untitled.png

Which Webserver is right for me?
Apache2:
- Memory use = High | Multithreaded = Yes
Feature-rich and popular. Recommended for beginners and users who are looking to follow Apache2 based guides.

Nginx:
- Memory use = Medium | Multithreaded = Yes
Lightweight alternative to Apache2. Nginx claims faster webserver performance compared to Apache2. Ideal for medium-high traffic situations where Lighttpd will suffer.

Lighttpd:
- Memory use = Low | Multithreaded = Optional - Some drawbacks
Extremely lightweight and is generally considered to offer the "best" webserver performance on Linux for SBC's (single board computers). Recommended for users who expect low webserver traffic and/or personal use.
Although the DietPi installation of Lighttpd is set to single threaded, do not be put off by this, in low usage scenarios (<10 users) it will still outperform Nginx and Apache2.

Multitheading is supported by Lighttpd and can be enabled in the configuration file:
  • Edit the file /etc/lighttpd/lighttpd.conf
  • Add the entry (change 4 to your total core count)
    Code: Select all
    server.max-worker = 4
  • Restart services
    Code: Select all
    dietpi-services restart

Further reading & benchmarks:
http://detechter.com/the-battle-of-the-web-servers-apache-vs-nginx-vs-lighttpd-2/

What software will trigger a webserver installation?
If you select any software in dietpi-software for installation, that requires a webserver to function.
Examples:
  • PiHole
  • Ampache
  • Owncloud
  • DietPiCam

I only want to install a LAMP stack, what should I do?
Unless you specifically need a webserver stack, it is recommended that you allow DietPi to install webserver stacks automatically. This will ensure compatibility and stability on your system, for the webserver choice you have made.

Where can I change the preference setting?
Run dietpi-software and select Webserver Preference from the menu. This setting can NOT be changed, if an existing webserver is installed on the system.



>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2421
Joined: Tue Feb 06, 2007 12:36 pm

PreviousNext

Return to Releases

Who is online

Users browsing this forum: No registered users and 4 guests