DietPi-Software | Details for ALL installation options

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

Post by Fourdee » Thu Aug 27, 2015 5:27 pm

SubSonic Details:
Feature rich media streaming server with a web interface. Coded in Java.
subsonic.png
Open the SubSonic webpage:
url = http://192.168.0.100:4040
username = admin
password = admin

Transfer music to your device:
Make sure you have one of DietPi's File Servers installed.
folder = /mnt/dietpi_userdata/Music

Jetty http 404 error:
This is a known issue with Subsonic and is out of my control.
If you experience this error while accessing the Subsonic webpage, you can resolve the issue by running the following:

Code: Select all

service subsonic stop
rm -R /var/subsonic/jetty
service subsonic start
GitHub Contributions:
Many thanks to 'thechildofroth' for his testing and fixes with the SubSonic installation.



>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Mon Aug 31, 2015 3:05 pm

HaProxy Details:
High performance TCP/HTTP load balancer.
- This is recommended for advanced users only.
- After installation: Users must manually modify the haproxy.cfg for your network requirments.
HaProxy.png
Modify your haproxy.cfg:
Config guide/manual: http://cbonte.github.io/haproxy-dconv/c ... n-1.5.html

Code: Select all

dietpi-services stop
nano /etc/haproxy/haproxy.cfg
dietpi-services start
Access web interface stats:
url = http://192.168.0.100:1338
username = admin
password = dietpi

Contributions:
This installation was made possible by Jerome Queneuder, who provided the methods for compiling and installation.


>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Wed Sep 09, 2015 6:41 pm

DietPi-Backup Details:

NB: Documentation updated for v6.10

DietPi-Backup is a program that allows you to Backup and Restore your DietPi system. Same effect as "Windows system restore". A snapshot of the system that you can restore at any time.
You can also customize which files/folders are included and excluded through the GUI.

If you have "broken" your system, or want to reset your system to an earlier date, this can all be done with DietPi-Backup. Just make sure you create a backup first ;)

dietpi-backup.png
Launch DietPi-Backup:

Code: Select all

dietpi-backup
More info:
DietPi-Backup is purely based on Rsync.

>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Wed Sep 09, 2015 6:42 pm

DietPi-Sync Details:
DietPi-Sync is a program that allows you to duplicate (sync) a directory from one location (Source) to another (Target).

For example:
If we want to duplicate (sync) the data on our external USB HDD to another location, we simply select the USB HDD as the source, then, select a target location. The target location can be anything from a networked samba fileserver, or even a FTP server.
When we run the sync, the USB HDD data will be duplicated at our selected target.

dietpi-sync.png
Launch DietPi-Sync:

Code: Select all

dietpi-sync
Add custom Include and Exclude patterns:
DietPi-Sync uses a set of global include and exclude patterns. You can add your own to either file and it will be read at runtime. Files and folders are supported (eg: /root/* or myfile.txt)
- Include file = /DietPi/dietpi/.dietpi-sync_include
- Exclude file = /DietPi/dietpi/.dietpi-sync_exclude


>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Mon Sep 14, 2015 4:47 pm

DietPi-Process Tool Details:
DietPi-Process tool is a program that allows you to control and tweak system wide nice (priority) levels, affinity and scheduler policies, for most software and processes.

2.png
Launch DietPi-Process Tool:

Code: Select all

dietpi-process_tool
Your customized settings will be applied automatically by DietPi, and, during boot.

More Information:
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 and Bitcoin.

User avatar
Fourdee
Site Admin
Posts: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Fri Sep 18, 2015 1:11 pm

DietPi-Morsecode Details:
Imagine your stranded on a boat:
- It has a power failure and its midnight.
- No cellphone coverage or radio.
- No flares.
- The only thing you have with you is a Raspberry Pi, 7inch screen and a battery supply.

But how do you send a message?

This is where DietPi-Morsecode comes in:
It will read your text file, convert it to morse code, then output to your screen using white and black. It could save your life!
dietpi-morsecode.png
dietpi-morsecode.png (9.16 KiB) Viewed 54564 times
Create a text file to be read:

Code: Select all

echo -e "This file will be read by DietPi-Morsecode and converted into morse code." > "$HOME/dietpi-morsecode"
Run DietPi-Morsecode on current screen / term:
This will convert your text file into morsecode and display it on the screen.

Code: Select all

dietpi-morsecode
echo -e "\e[0m" && clear
Run DietPi-Morsecode on the main screen:
This will convert your text file into morsecode and display it on the main screen.

Code: Select all

dietpi-morsecode &> /dev/tty1
echo -e "\e[0m" &> /dev/tty1
Run DietPi-Morsecode using the RPi LED status lights:
This will convert your text file into morsecode and display it using the LED lights.

Code: Select all

dietpi-morsecode 1

>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Thu Oct 08, 2015 4:28 pm

Wordpress Details:
WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability. Allowing you to create your own website.

- Also Installs: LAMP Webserver
wordpress.jpg
Access Web Interface:
URL = http://192.168.0.100/wordpress

The first time you connect, enter the following MySql database details:
Database name = wordpress
User Name = wordpress (Previous to DietPi v6.0 = root)
Password = dietpi
Database Host = localhost
Table Prefix = wp_


>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Sat Oct 10, 2015 1:57 pm

VNC Server Details:
Run a Desktop environment on your device that can be accessed remotely, over the network. Great for headless devices.
vncserver.png
VNC servers start automatically during boot, unless you have selected Desktop as a dietpi-autostart option.
You can control the VNC service with:
  • systemctl status vncserver.service
Connection Details:
  • Use the IP address of your DietPi device (eg: 192.168.0.100)
  • If you can't connect, try connecting to screen 1 (eg: 192.168.0.100:1)
  • Password = The password you entered during installation.
  • Change Password = Run vncpasswd from the console/terminal.
Setup a VNC Viewer (Windows):
Simpy select a VNC viewer for your system and download: https://www.realvnc.com/download/viewer/
Run the VNC viewer and enter the IP address of your DietPi device to begin the remote session.

Optional: Change VNC Server options
  • Edit dietpi.txt

    Code: Select all

    nano /DietPi/dietpi.txt
  • Run VNC server in shared desktop mode (v137+):

    Code: Select all

    SOFTWARE_VNCSERVER_SHARE_DESKTOP=1
  • Run VNC server on screen :1, creating a new desktop with 1280x720 resolution:

    Code: Select all

    SOFTWARE_VNCSERVER_WIDTH=1280
    SOFTWARE_VNCSERVER_HEIGHT=720
    SOFTWARE_VNCSERVER_DEPTH=32
    SOFTWARE_VNCSERVER_DISPLAY_INDEX=1
  • Restart service:

    Code: Select all

    systemctl restart vncserver.service

>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Tue Oct 13, 2015 6:43 pm

PhpSysInfo Details:
Allows you to monitor your system stats from a webpage.
- Also Installs: LASP Webserver
PhpSysInfo.png
Access PhpSysInfo:
url = http://192.168.0.100/phpsysinfo


>> 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: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Post by Fourdee » Tue Oct 13, 2015 6:46 pm

Fail2Ban Details:
Protects your system from brute-force attacks, by banning the source IP address. We have enabled detection for SSH servers (OpenSSH and Dropbear), however, fail2ban also supports additional software.
fail2ban-logo.jpg
fail2ban-logo.jpg (23.72 KiB) Viewed 54010 times
When is a IP address ban triggered?
By default, after 3 failed SSH login attempts, fail2ban will ban the source IP address for 10 minutes.

Check status of fail2ban block activity:

Code: Select all

fail2ban-client status sshd
fail2ban-client status dropbear
Enable support for additional programs:
Fail2Ban supports brute-force protection for other software (eg: Apache, proftpd etc).
You can enable/disable these features by modifiying the /etc/fail2ban/jail.conf file, and setting enable = true under the [software] name.


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

Locked