DietPi-Software | Details for ALL installation options

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

v6.15

Post by Fourdee »

myMPD
A lightweight, bare-bones, no frills Hifi music player with a web based interface. myMPD is a front end for MPD, and a recent fork of YMPD.

Also installs:
  • MPD (music player daemon)
mympd_1.gif

Access web interface: Install Notes:
We have disabled SSL and its redirect by default with the DietPi install. This is to prevent redirects to the hostname.
To re-enable the SSL connection and redirect option:
  • Edit /etc/mympd.conf
  • Replace ssl = false with ssl = true
  • Save changes and exit
  • Restart services with dietpi-services restart
  • Use the same URL address above, it will redirect to HTTPS during connection
Transfer/Add Music: Refresh Music Files / Database:
Simply select the Update database option from the settings menu in myMPD.

DietPi-JustBoom control panel: Tweak audio options on the fly
Simply run dietpi-justboom from the command line to launch


>> 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
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

v6.18

Post by MichaIng »

Nextcloud Talk:
Video calls hosted on your own Nextcloud instance. The TURN server "coturn" will be installed and configured as well to allow reliable video calls through outside the local network, NAT and firewall setups.

Also installs:
  • Nextcloud
  • coturn
Image

Install Notes:
  • During installation you will be asked to enter the external server domain and a port, that you want to use for the coturn TURN server. Note that you need to forward the chosen port and/or open it in your firewall.
  • If HTTPS was or is enabled via dietpi-letsencrypt, coturn will be configured to use the LetsEncrypt certificates for TLS connections on the chosen TURN server port automatically.
  • coturn by default will listen to non-TLS requests as well on the port configured in /etc/turnserver.conf. You can force TLS/control this by switching port forwarding in your router and/or opening/dropping ports in your firewall.
  • coturn logging by default is disabled via /etc/default/coturn command arguments, since it is very verbose and produces much disk I/O. You can enable and configure logging via /etc/turnserver.conf, if required.

>> Return to DietPi-Software List
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

v6.20

Post by Fourdee »

DietPi-NordVPN:
DietPi-NordVPN is a combination of OpenVPN installation and DietPi front end GUI. Allowing all NordVPN users to quickly and easily connect to any NordVPN server in TCP or UDP, using only open source software.

Requires NordVPN Subscription:
Although we enable forced encryption on all our BitTorrent clients, if you wish to ensure complete privacy and peice of mind for all your downloaded content, using a VPN is critical.
NordVPN. Offers unlimited bandwidth, zero logging and upto 6 devices on 1 account.Image

dietpi-nordvpn_2.jpg
Usage:
Once installed using dietpi-software:
  • Simply run dietpi-nordvpn to use the GUI, allowing you to setup your connection.
  • DietPi will also automatically start and connect the VPN during system boot.
>> 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
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

v6.20

Post by MichaIng »

WireGuard
WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache.

Image

Usage:
When installing using dietpi-software, you can choose whether to install WireGuard as VPN server or client .

When installing as VPN server:
  • You are asked to enter your public IP/domain and the port, on which the VPN server should be available. Remember to open/forward the port (UDP) through NAT.
  • During install, a client config will be automatically created as well at: /etc/wireguard/wg0-client.conf
  • Configure the client config to your needs, it contains some informational comments. By default it will pass all clients network traffic through the VPN tunnel, including DNS requests which will be resolved by the servers DNS resolver.
    If you e.g. want to use the servers Pi-hole instance on the client only, but keep all other traffic outside the VPN tunnel, you would edit the following values:
    DNS = 192.168.0.100
    AllowedIPs = 192.168.0.100/32
    (where the IP needs to match your DietPi servers local IP)
  • If your client is another Linux machine with iptables installed, you can uncomment the two kill switch lines to have all network traffic automatically disabled, when VPN connection is lost.
  • If your client is a mobile phone with WireGuard app installed, you can simply apply the config by printing a QR code onto the servers terminal via: grep -v '^#' /etc/wireguard/wg0-client.conf | qrencode -t ansiutf8
  • To allow VPN clients accessing your local Pi-hole instance, you need to allow DNS requests from all network interfaces: pihole -a -i local
Adding multiple clients:
  • Navigate to the servers WireGuard config dir: cd /etc/wireguard
  • Create a second client key pair:

    Code: Select all

    umask 0077
    wg genkey > client2_private.key
    wg pubkey < client2_private.key > client2_public.key
    umask 0022
  • Clone and configure the client config:

    Code: Select all

    cp -a wg0-client.conf wg0-client2.conf
    G_CONFIG_INJECT 'Address = ' 'Address = 10.9.0.3/24' wg0-client2.conf
    G_CONFIG_INJECT 'PrivateKey = ' "PrivateKey = $(<client2_private.key)" wg0-client2.conf
  • Configure wg0.conf (server config) so the last lines match:

    Code: Select all

    [Peer]
    PublicKey = <paste content of client2_public.key here>
    AllowedIPs = 10.9.0.3/32
  • Restart the VPN server (systemctl restart wg-quick@wg0) and apply wg0-client2.conf to your second VPN client as you did for the first before.
  • Repeat similar for third, fourth, ... VPN client.
When installing as VPN client:
  • Usually the VPN provider will have install instructions and ship a config file.
  • If the you want to connect to another DietPi machine, use the generated /etc/wireguard/wg0-client.conf as mentioned above.
  • If no WireGuard (auto)start instructions are included, but you require it, please do the following:
    • Check for the created config file/interface name: ls -Al /etc/wireguard/
      It has a .conf file ending, lets assume: wg0-client.conf
    • To start the VPN interface, run: systemctl start wg-quick@wg0-client
    • To autostart the VPN interface on boot, run: systemctl enable wg-quick@wg0-client
    • To disable autostart again, run: systemctl disable wg-quick@wg0-client
  • NB: If the client config sets the DNS server via DNS = directive, assure that resolvconf is installed: apt install resolvconf
NB:
  • The WireGuard kernel module needs to rebuild whenever the kernel is updated. On most devices this will be done automatically, when the kernel (+headers) is updated via APT package, which then usually triggers the module rebuild.
  • If you update the kernel outside of APT, via source build or commands like rpi-update, assure that matching kernel headers are installed as well and rebuild the WireGuard module via: dpkg-reconfigure wireguard-dkms
Logging: journalctl -u wg-quick@wg0 respectively journalctl -u wg-quick@<config_name>

>> Return to DietPi-Software List
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

v6.23

Post by Fourdee »

LXQt - Desktop:
Optimized lightweight desktop without the bloatware. Slick and fluid GUI, however, more resource heavy than LXDE.

lxqt.png
Desktop can be run by typing startx
You can also have DietPi boot directly to the desktop by using dietpi-autostart and selecting Desktop.


>> 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

v6.23

Post by Fourdee »

GIMP
Optional desktop application:

MS Paint on steroids. If you need to edit pixels with a vast number of tools, GIMP is the only program you'll need. Just don't be a GIMP about it :D

gimp.png

>> 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
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

v6.25

Post by MichaIng »

Mycroft AI
Free and open source voice assistant.


Image


Interactive install:
  1. Branch selection: For inexperienced users we recommend the master branch as well: y
  2. Auto updates: It slows down the the startup process a bid, but it anyway takes a while to load all skills, so we recommend this as well: y
  3. Add Mycroft commands to PATH: Chose NO here, since the installer runs as user "mycroft", which is no login user, which is why this has no effect: n
  4. Check code before submitting: If you are an official Mycroft developer, choose y, else: n

Initial setup:
  1. If you did no reboot after install, load Mycroft commands to current shell session: . /etc/bashrc.d/mycroft.sh
  2. Start CLI client: mycroft-cli-client
  3. You should see and at best hear the invitation to pair your device, e.g.: PairingSkill - INFO - Pairing code: XXYYZZ
  4. Visit https://home.mycroft.ai/ to start pairing and configuring your device + skills.

Build Mimic for offline TTS (British Voice) support (optional):
  1. NB: this requires about 3 GiB RAM and takes a while, so assure that you have enough memory (4 GiB recommended), in case increase your swap file size and grab yourself a coffee.
  2. cd /mnt/dietpi_userdata/mycroft-core
  3. sudo -u mycroft .scripts/install-mimic.sh $(nproc)

>> Return to DietPi-Software List
User avatar
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

v6.27

Post by MichaIng »

TasmoAdmin
An administrative website for devices flashed with Tasmota to be used for smart home systems.

Image

Also installs: Webserver (based on your preference), PHP

Implemented by: @svh1985

Access web interface: http://<your_IP/domain>/tasmoadmin

Source code: https://github.com/reloxx13/TasmoAdmin

>> Return to DietPi-Software List
User avatar
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

v6.29

Post by MichaIng »

Domoticz
Domoticz is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.

Image

Access web interface:
- HTTP: http://<your_IP/domain>:8124
- HTTPS: https://<your_IP/domain>:8424

View logs: journalctl -u domoticz

Install directory: /opt/domoticz

Data directory: /mnt/dietpi_userdata/domoticz

Source code: https://github.com/domoticz/domoticz

>> Return to DietPi-Software List
User avatar
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

v6.31

Post by MichaIng »

Firefox Sync Server
This is Mozilla's Firefox Sync Server which manages syncing FF instance bookmarks, history, tabs and passwords across devices. Out of the box it runs on a Python server for small loads and can be configured to run behind nginx or Apache.

Image

Configure Firefox:
  • Open about:config to access advanced settings.
  • Search for: identity.sync.tokenserver.uri
  • Set value to: http://<your_local_IP>:5000/token/1.0/sync/1.5
    • We recommend to access your Firefox Sync Server only from local network or via VPN.
    • If you need to access it remotely without VPN, adjust the public_url setting inside the config file /mnt/dietpi_userdata/firefox-sync/syncserver.ini to contain your public IP or domain and desired port.
View logs: journalctl -u firefox-sync

Update method: dietpi-software reinstall 177

Install directory: /opt/firefox-sync

Database and config directory: /mnt/dietpi_userdata/firefox-sync

Source code: https://github.com/mozilla-services/syncserver

Credits: This software title has been added to DietPi-Software by CedArctic, many thanks! :D

Troubleshooting:
If the connection from clients fails, you can try to enable WSGI:

Code: Select all

G_CONFIG_INJECT 'force_wsgi_environ =' 'force_wsgi_environ = true' /mnt/dietpi_userdata/firefox-sync/syncserver.ini
This might be required if you connect through a webserver/proxy or for the Android client in general. But enable this only as last resort, first of all assure that public_url is correct.

>> Return to DietPi-Software List
Locked