Page 5 of 15

Posted: Thu Oct 15, 2015 4:11 pm
by Fourdee
Image Gallery Details:
Allows you to host and browse your images from a web interface.
- Also Installs: LASP Webserver
Access Image Gallery:
url =

How to add your own images:
- Create your image folder

Code: Select all

mkdir /var/www/gallery/MyImageFolder
- Put a image file inside your new folder

Code: Select all

mv download.png /var/www/gallery/MyImageFolder/

>> Return to DietPi-Software List

Posted: Thu Oct 22, 2015 4:32 pm
by Fourdee
A web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.
- Also Installs: Webserver stack


Access Ampache web interface:
url =
username = admin
password = dietpi

Transfer Media files to Ampache:
- Make sure you have one of DietPi's File Servers installed.
- Folders used by Ampache = /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Video

Scan for media, update Ampache database:
DietPi will automatically add various catalogue directories to Ampache during installation. You can modify these directories as needed before running your first scan.
To start the scan and import your media into Ampache:
- Select the admin button.
- Select show catalogues from the left hand side.
- Select Update all.


Add custom media folders:
- Select the admin button.
- Select add a catalogue from the left hand side.
- Enter the details of your path (See the image example below to add your USB drive music folder to Ampache."
- Select the add catalogue button.
NB: For Ampache to access custom directories, you must ensure read access to the folder.

Code: Select all

chmod -R 775 /my/directory

Enable additional file formats via transcoding:
- E.g. to allow .m4a playback:

Code: Select all

G_CONFIG_INJECT 'transcode_m4a[[:blank:]]' 'transcode_m4a = allowed' /var/www/ampache/config/ampache.cfg.php
Update Ampache to current version: dietpi-software reinstall 40

>> Return to DietPi-Software List

Posted: Wed Nov 04, 2015 6:28 pm
by Fourdee
OpenVPN Server

An easy to use VPN server and client system. The DietPi installation of OpenVPN uses a single client file to get you connected with minimal hassle.


Obtaining the Client connection file (DietPi_OpenVPN_Client.ovpn):

DietPi will automatically generate unique 2048 bit server and client keys during installation and place them into a unified client config file.
You will need this file to connect to your OpenVPN server from a client.

Client file location:
  • DietPi will generate the client config file and place it here: /boot/DietPi_OpenVPN_Client.ovpn. Simply power off and plug the SD card into your PC to obtain the file from the FAT partition.
  • DietPi will also create a copy of the file in /mnt/dietpi_userdata/DietPi_OpenVPN_Client.ovpn. Use one of DietPi's file servers to access this file.
  • Please remove those files after they have been deployed on the client system for security reasons!

Setting up your router for external access:
OpenVPN server uses the following ports:
- TCP 443
- TCP 943
- UDP 1194
These ports must all be enabled in port forwarding on your router, and, pointing to the IP address of your DietPi system.

Download the OpenVPN client programs (Windows):
Download and install the installer that suites your Windows version.

Change the target address for the client file:
You will need to open the DietPi_OpenVPN_Client.ovpn file in a text editor to change the target domain/ip address. This can be anything from a website address, No-IP domain name, or IP address.

Change eg::
remote 1194
remote 1194

Connecting to your OpenVPN server (Windows):
Method 1 - Quick:
Simply right click the DietPi_OpenVPN_Client.ovpn file and choose "Start OpenVPN on this config file".

Method 2 - GUI:
If you want to use the OpenVPN GUI, you will need to copy DietPi_OpenVPN_Client.ovpn to the OpenVPN config location (eg: C:\Program Files\OpenVPN\config).

OpenVPN + Pi-hole:
To allow VPN clients accessing your local Pi-hole instance, you need to allow DNS requests from all network interfaces:
pihole -a -i local

>> Return to DietPi-Software List

Posted: Sat Nov 07, 2015 8:21 pm
by Fourdee
DietPi-Cleaner Details:
DietPi-Cleaner is a program that allows you to remove unwanted "junk" from your DietPi system, and free up filespace usage.
Think of it as lightweight CCleaner for DietPi and Linux.
Launch DietPi-Cleaner:

Code: Select all

Cleaner Types:
DietPi-Cleaner uses modules which you can be switched on or off before running the cleaning process.
Files cleaner
The files cleaner allows you to customize a list of filenames to search and remove, during the cleaning process.

>> Return to DietPi-Software List

Posted: Fri Dec 04, 2015 4:25 pm
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.


Access web interface:


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

Posted: Wed Dec 09, 2015 3:59 pm
by Fourdee
DietPi-Cron Details:
DietPi-Cron is a frontend menu that allows you to easily change all the cron start times/dates.

Code: Select all


>> Return to DietPi-Software List

Posted: Wed Dec 09, 2015 4:00 pm
by Fourdee
DietPi-Launcher Details:
All the DietPi programs available in one place.

Code: Select all


>> Return to DietPi-Software List

Posted: Wed Dec 09, 2015 4:00 pm
by Fourdee
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.

- A working Apache2, Nginx or Lighttpd webserver
- A URL/domain (e.g.: No-IP is recommended for a URL/domain that points to your device.
- Ports 80 and 443 (TCP) must be forwarded to your device, from your router.
letsencrypt.png (2.98 KiB) Viewed 111452 times
Create and apply your cert:
Once CertBot has been installed from dietpi-software, run dietpi-letsencrypt to configure, create and apply your SSL cert.

Code: Select all

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

>> Return to DietPi-Software List


Posted: Wed Dec 09, 2015 4:28 pm
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
Access web interface:

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: ... esktop-app
  • When configuring the remote server, use the following:
    • Select HTTP option (unless you have setup an SSL cert)
    • URL = (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

Posted: Wed Dec 09, 2015 5:10 pm
by Fourdee
RPi.GPIO Details:
The standard, well known GPIO interface library for the RPi (Python). Bring out the engineer in you!
More Info:

>> Return to DietPi-Software List