DietPi-Software | Details for ALL installation options

Everything you need to download and start your DietPi experience.
Locked
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

Logitech Media Server (Squeezebox) / SqueezeLite
Logitech Media Server is the server software that enables web interface control of:
  • Software audio players: SqueezeLite
  • Hardware audio players from Logitech: Squeezebox, SlimDevices
NB: If you do not own a hardware player, you can turn your DietPi system into a Squeezebox audio capable player, by selecting SqueezeLite for installation in dietpi-software.

squeezebox.png

Access web interface:

URL= http://192.168.0.100:9000

Transfer/Add music:
- Make sure you have one of DietPi's File Servers installed.
- Directory used = /mnt/dietpi_userdata/Music

Change SqueezeLite command line options:
  • Run dietpi-services
  • Select squeezelite
  • Select Edit
  • Unset and re-set the ExecStart entry:

    Code: Select all

    ExecStart=
    ExecStart=/usr/bin/squeezelite [<your custom arguments>]
    The first ExecStart= is required to replace the existing ExecStart entry instead of adding a second one.
  • Save changes with ctrl+o and exit dietpi-services
  • Restart the service: systemctl restart squeezelite

>> 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

DietPi-Cron Details:
DietPi-Cron is a frontend menu that allows you to easily change all the cron start times/dates.
dietpi-cron.png
Run:

Code: Select all

dietpi-cron

>> 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

DietPi-Launcher Details:
All the DietPi programs available in one place.
dietpi-launcher.png
Run:

Code: Select all

dietpi-launcher

>> 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

CertBot
Let's Encrypt is a free SSL certificate provider. Certbot is the official client to apply Let's Encrypt certificates to your webserver. This will allow you to have https:// (encrypted and authenticated) access to your websites.

Requirements:
  • A working Apache2, Nginx or Lighttpd webserver
  • A URL/domain (e.g.: mysite.org). No-IP can be used for a URL/domain that points to your device.
  • Ports 80 and 443 (TCP) must be forwarded to your device, from your router.
    NB: Even when you use only HTTPS on port 443, Let's Encrypt requires port 80 to stay opened for certificate renewals.
letsencrypt.png
letsencrypt.png (2.98 KiB) Viewed 125979 times
dietpi-letsencrypt.png

Create and apply your cert:
Once Certbot has been installed from dietpi-software, run dietpi-letsencrypt to configure, create and apply your SSL certificate:

Code: Select all

dietpi-letsencrypt
Simply enter the details and settings you require, then select Apply. Let's Encrypt is that simple!

>> 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

v108

Post by Fourdee »

Pydio Details:
Feature-rich backup and sync server with web interface. Similar to Owncloud with vast configuration options to meet your "cloud" needs.
- Also Installs: Webserver
pydio.png
Access web interface:
URL = http://192.168.0.100/pydio

The first time you connect:
  • Ignore the warnings and click the button titled CLICK HERE TO CONTINUE TO PYDIO.
    nb: If you require SSL access, please use Letsencrypt to set this up.
  • The wizard can now be started, click the start wizard > button to begin.
  • Enter and create a new admin account for use with Pydio. Then click the >> button.
  • Under database details, enter the following:
    - Database type = MySQL
    - Host = localhost
    - Database = pydio
    - User = pydio (Previous to DietPi v6.0 = root)
    - Password = dietpi
    - Use MySqli = No
    Click test connection, when successful, click the >> button.
  • Under advanced options, use the default values, then click the Install Pydio button.
Setup sync client on remote systems:
Once the server has been configured (as per above):
  • Download the sync client for your system: https://pydio.com/en/get-pydio/download ... esktop-app
  • When configuring the remote server, use the following:
    • Select HTTP option (unless you have setup an SSL cert)
    • URL = 192.168.0.113/pydio (replace IP with your system IP)
    • User = The "admin" user you setup in initial setup.
    • Password = The "admin" password you setup in initial setup.


>> 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

RPi.GPIO Details:
The standard, well known GPIO interface library for the RPi (Python). Bring out the engineer in you!
gpio.png
More Info:
https://pypi.python.org/pypi/RPi.GPIO


>> 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

WiFi HotSpot
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 (e.g.: 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

Shairport Sync
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/deta ... streambels

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
systemctl restart shairport-sync
Disable Soxr:

Code: Select all

sed -i '/interpolation = /c\\/\/interpolation = "soxr";' /usr/local/etc/shairport-sync.conf
systemctl restart shairport-sync
If you have choppy playback using Soxr:
Increasing the shairplay-sync process priority (nice) may resolve the issue.
- Run dietpi-services from the terminal
- Select shairport-sync via up/down buttons then press enter
- Select CPU Nice via up/down buttons then press enter
- Select -20 : (Highest priority)' via up button, then press enter
DietPi will then automatically apply and set the nice level.

If the choppy playback continues, the CPU most likely is insufficient for the processing required for soxr, and, soxr 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 or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Post by Fourdee »

Lighttpd Webserver Stacks:
Host your own websites with:
  • LLMP 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 optimised 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 89643 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 or become a DietPi patron.
Locked