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

v144

Post by Fourdee »

DietPi-Services
DietPi-Services allows to control the service states of all installed software, as well as tweak system wide nice/priority levels, CPU affinity and scheduler policies.
DietPi will automatically start and stop services as needed, e.g. during boot, shutdown, backups and software installations.

Image

Stop services: dietpi-services stop

Start services: dietpi-services start

Service status: dietpi-services status

Include/Exclude services:
  • Option 1: Start dietpi-services and use the Add menu entry, respectively the Include/Exclude service submenu entry.
  • Option 2: Create/edit the following file: /boot/dietpi/.dietpi-services_include_exclude
    Add + entries for each additional service you wish to control. Add - entries for items you wish to exclude. Example:

    Code: Select all

    + service1
    - deluged
    - deluge-web
    + mightymoocow
    - lighttpd
Process tool tweaks:
  • Nice:
    As all active processes share the same CPU, DietPi-Process Tool allows you to control which processes are more or less important. By setting a higher priority level (nice), the software process will be given more of the CPU shared resources, essentially reducing any delay from other software processes.
  • Affinity:
    For systems with multiple cores, you can control which cores are available for each program.
  • Scheduler policies:
    For time critical programs (eg: audio processes / robotics), setting the scheduler to FIFO/RR will ensure maximum priority and "real-time" execution. Further information.
  • Example system:
    • Your server runs Pi-hole and a web server.
    • Pi-hole is the main use of this server, and, you want to reduce any possible delay from other programs.
    • So we set Pi-Hole to a higher priority level of nice -10.
    • Pi-hole will now be more responsive. Its users should not experience random delays when browsing the web.
>> 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

v145

Post by Fourdee »

Blynk Server
Platform with iOs and Android apps to control Arduino, ESP8266, Raspberry Pi and similar microcontroller boards over the Internet.

Also installs:
  • Blynk JS Libary
blynk.jpg

Install notes:
  • DietPi installs Blynk (including user data and config file) to the following location:
    /mnt/dietpi_userdata/blynk
  • Log files can be found in: /var/log/blynk
  • We created a systemd service for Blynk, DietPi will automatically start this:
    systemctl status blynkserver
  • DietPi will also install Blynk JS Libary, along with this installation. Please skip this section when you reach the Blynk user guide.
Access web admin interface: Server configuration:
  • NB: The config "file" changes in the web UI do not have an effect yet: https://github.com/blynkkk/blynk-server/issues/1318
  • To change settings you need to edit /mnt/dietpi_userdata/blynk/server.properties
    and restart the Blynk server: systemctl restart blynkserver
Official documentation: Install Blynk App (Android): Getting started with Blynk App:
  • To log into your own server, press Log In, then the three dots at the bottom and switch the slider to CUSTOM. There you can enter your own Blynk servers IP/domain and use the above login credentials.
  • You can then skip creating an external Blynk account and instead go on and create a new project directly: https://docs.blynk.cc/#getting-started- ... ew-project
Run test script:
  • Once you create a project in the iOS/Android App, replace the following with your auth code, then run the command:
    blynk-client Replace_With_Your_Auth_Code
Update to the latest version:
  • dietpi-software reinstall 131

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

v147

Post by Fourdee »

Aria2:
Download manager, with a slick web UI interface. Also supports BitTorrent downloads.

Also installs:
aria2.png
Access web interface:
  • url = http://192.168.0.100/aria2/docs
  • rpc secret password = dietpi
    This needs to be entered in the following location, in the web interface:
    • Settings
    • Connection Settings
    • Enter the rpc secret password into the Enter the secret token (optional): box, then save changes
Access downloads: Make changes to Aria2 settings permanently:
Please note, the aria2-webui does not support saving settings after session shutdown, this is a known limitation with the software, please use the aria2.conf to make changes:
  • Stop services with dietpi-services stop
  • Edit the following configuration file /mnt/dietpi_userdata/aria2/aria2.conf, making your required changes.
  • Start services with dietpi-services start
  • Full list of aria2.conf settings: https://aria2.github.io/manual/en/html/aria2c.html
Recommended: Protect your privacy with a VPN:
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.
>> 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

v147

Post by Fourdee »

YaCy
Decentralized open source search engine. Essentially, "peer 2 peer" Google search engine, not controlled by Google ;)

yacy.png

Access web interface:
URL = http://192.168.0.100:8090

Admin Interface Login:
Set password with:

Code: Select all

/etc/yacy/bin/passwd.sh mypassword
Login details are then:
  • Username = admin
  • Password = mypassword
Reduce CPU usage:
YaCy is extremely CPU intensive, coupled with constant background processing, we highly recommend using dietpi-services to reduce process priority.
  • Recommended setting: Nice = 19

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

v148

Post by Fourdee »

Tonido:
Lightweight backup and sync server, includes web interface and external cloud access.

Notes:
- Windows sync app is not supported for ARMv7 (RPi): https://github.com/Fourdee/DietPi/issue ... -290915782
tonido.png
Install notes:
NB: This documentation has been updated for, and requires DietPi v6.12
  • DietPi installs Tonido to the following location:
    /mnt/dietpi_userdata/tonido
  • DietPi symlinks Tonido data directories automatically. Therefore, default Tonido sync/userdata locations will point to /mnt/dietpi_userdata/tonido:

    Code: Select all

    /home/tonido/tonido #PointsTo# /mnt/dietpi_userdata/tonido
    /home/tonido/TonidoSync #PointsTo# /mnt/dietpi_userdata/tonido/sync 
    /home/tonido/TonidoSyncData #PointsTo# /mnt/dietpi_userdata/tonido/syncdata
  • We created a SystemD service for Tonido, DietPi will automatically start this:
    systemctl status tonido
Access Web Interface:

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

v148

Post by Fourdee »

IceCast:
Shoutcast streaming server, includes DarkIce for audio input (eg: mic).
icecast.png
Install notes:
  • DietPi will attempt to detect mic input during installation, and apply to DarkIce. If a mic was not available, or you experience issue, check available mics with:

    Code: Select all

    arecord -l
    • Then edit the device entry in /etc/darkice.cfg, or
    • Simple copy and paste:

      Code: Select all

      sed -i "/^device[[:space:]]/c\device = hw:$(arecord -l | grep -m1 'card' | awk '{print $2}' | sed 's/://'),0" /etc/darkice.cfg
    • Restart services

      Code: Select all

      dietpi-services restart
  • We created a SystemD service for DarkIce, DietPi will automatically start this:
    systemctl status darkice -l
Access IceCast Web Interface:
  • url = http://192.168.0.100:8000
  • source password = dietpi
  • relay password = dietpi
  • admin password = randomly generated, use code below to view:

    Code: Select all

    cat /etc/icecast2/icecast.xml | grep admin-password
Access Recording File:
This is disabled by default.
  • A recording of the stream can be enabled by editing /etc/darkice.cfg, then un-commenting localDumpFile = /mnt/dietpi_userdata/darkice_recording.ogg
  • Restart services:

    Code: Select all

    dietpi-services restart
  • A recording will then be saved in the following location:

    Code: Select all

    /mnt/dietpi_userdata/darkice_recording.ogg

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

v148

Post by Fourdee »

MotionEye
Web interface and surveillance for your RPi/USB camera. Mainly focused towards motion detection usage.

NB: Image has been pixelated:
motioneye.png

Access web interface: Access recordings (w/o web interface): Upgrade to lastest version:: sudo pip2 install -U motioneye

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

v148

Post by Fourdee »

CloudPrint:
CUPS print server, with support for Google cloud printing. Also includes a web interface for CUPS, allowing easy setup of printers.
cups.png
Access Web Interface: Add Printer:
Once in the CUPS web interface, you can add and configure printers by selecting
  • Home > Adding Printers and Classes
Enable CloudPrint:
Once the printer is setup:
  • Run the following command to enable Google Cloud Print authentication on this device:

    Code: Select all

    cps-auth
  • A URL will be generated. Use the URL link in a web-browser to complete authentication
  • Restart services

    Code: Select all

    dietpi-services restart
  • If you experience issues, you can check the status of the CloudPrint service for info with:

    Code: Select all

    systemctl status cloudprintd -l
Print >> 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

v149

Post by Fourdee »

VirtualHere:
Share physically attached USB devices from your SBC, over the network, to other systems. Awesome!
virtualhere.png
Download Client:
Download the client for your PC: USB Storage WARNING:
As per: https://github.com/Fourdee/DietPi/issue ... -292781475
It it highly recommended, you do not install VirtualHere, if your DietPi user data is stored on a USB drive.

VirtualHere does not take into account mounted drives when selecting them for remote use. This is potentially dangerous for any mounted drive that is in use, and, may cause data loss.
  • Do not use drives, on the client, that are mounted on the SBC.
  • Unmount the drive before hand in dietpi-drive_manager


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

v149

Post by Fourdee »

SABnzbd
NZB download manager with web interface.

sabnzbd.png

Access Web Interface: Web interface not loading / Unable to access:
In some instances, initial config generation during installation isn't successful.
If you experience this, please run the following commands to reapply config settings for DietPi (copy and paste all).

Code: Select all

systemctl stop sabnzbd
G_CONFIG_INJECT 'download_dir =' "download_dir = /mnt/dietpi_userdata/downloads/incomplete" /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'complete_dir =' "complete_dir = /mnt/dietpi_userdata/downloads/complete" /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'nzb_backup_dir =' "nzb_backup_dir = /mnt/dietpi_userdata/downloads/sabnzbd_nzb_backup" /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'admin_dir =' "admin_dir = /mnt/dietpi_userdata/downloads/sabnzbd_admin" /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'log_dir =' 'log_dir = /var/log/sabnzbd' /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'log_level =' 'log_level = 0' /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'refresh_rate =' 'refresh_rate = 2' /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'host =' 'host = 0.0.0.0' /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'permissions =' 'permissions = 0775' /etc/sabnzbd/sabnzbd.ini
G_CONFIG_INJECT 'auto_browser =' 'auto_browser = 0' /etc/sabnzbd/sabnzbd.ini
systemctl start sabnzbd
Access Downloads: Optional: Multi threaded PAR2: Recommended: Protect your privacy with a VPN:
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.

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