DietPi-Software | Details for ALL installation options

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

ownCloud

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/cloud/#owncloud

ownCloud
Your very own personal cloud based backup/data storage system (eg: Dropbox) with ownCloud.
- Also Installs: Webserver
- USB dedicated hard drive highly recommended.

owncloud_interface.png

Access web interface:
URL = http://localhost/owncloud where 'localhost' can be substituted by local server IP or hostname, to access remotely.
Username = admin
Password = <your global password>

You may want to configure your ownCloud from command line via occ command: ownCloud admin manual
We added a shortcut to the otherwise necessary 'sudo -u www-data php /var/www/owncloud/occ':
Just use 'occ' followed by the desired command inside your terminal.

Update ownCloud to latest version:
  1. Either use the web-based updater from within the ownCloud web UI settings.
  2. Or use the updater script from console (recommended):

    Code: Select all

    sudo -u www-data php /var/www/owncloud/updater/application.php
    1
  3. Or follow the official documentation for a manual upgrade process: https://doc.owncloud.com/server/admin_m ... grade.html
FAQ:
Where is my data stored?
  • /mnt/dietpi_userdata/owncloud_data (or dietpi.txt choice)
Why am I limited to 2 GiB file size uploads?
DietPi will automatically apply the max supported upload size to the PHP and ownCloud configs.
  • 32bit systems can handle 2GB
  • 64bit systems can handle 8796PB, yep, in petabyte
  • echo -e "$(( $(php -r 'print(PHP_INT_MAX);') / 1024 / 1024))MB"
Will my data be saved after uninstallation?
  • Your userdata directory will stay after uninstallation.
  • As well a database backup will be saved to your userdata directory.
  • Thus you can easily restore your instance by reinstalling ownCloud and restore the database dump.

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

RPi Cam Control

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/camera ... am-control

RPi Cam Control
Got a RPi camera module?
Want to record paint drying using timelapse, or, start your own neighbourhood watch surveillance system? Want full control of your RPi camera in a web based interface. This is all you need!

Requires:
- Official RPi camera module (any)
dietpi-cam.png
Access web interface:
URL = http://192.168.0.100/rpicam

Where is the recoded media stored?
- /mnt/dietpi_userdata/rpicam

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

ReadyMedia

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/media/#readymedia

ReadyMedia / MiniDLNA
Stream your shared media to any DLNA/UPnP capable device.
DLNA T.jpg
DLNA T.jpg (72.26 KiB) Viewed 934402 times
Access ReadyMedia status:
URL = http://192.168.0.100:8200

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

To refresh the ReadyMedia database:

Code: Select all

rm -R /mnt/dietpi_userdata/.MiniDLNA_Cache/* && systemctl restart minidlna
List of available UPnP clients:
https://en.wikipedia.org/wiki/List_of_U ... AV_clients


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

ympd

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/media/#ympd

ympd
A lightweight, bare-bones, no frills Hifi music player with a web based interface. ympd is a front end for MPD.

Also installs:
  • MPD (music player daemon)
ympd.png

Access web interface:

URL = http://192.168.0.100:1337

Transfer/Add Music: Refresh Music Files / Database:
Simply select the Update DB button. from the settings menu in YMPD.

DietPi-JustBoom control panel: Tweak audio options on the fly
Simply run dietpi-justboom from the command line to launch
dietpi-justboom_cava.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
Fourdee
Site Admin
Posts: 2781
Joined: Tue Feb 06, 2007 1:36 pm

phpBB

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/social/#phpbb

phpBB
If you always wanted your very own forum, phpBB is all you need.
- Also Installs: Webserver

phpbb.png

Access Forums:
URL = http://<your_IP/domain>/phpbb

First Run Setup:
DietPi automatically creates the SQL database for phpBB. Please follow the steps below to enter those details into phpBB to complete the setup.
- Access the phpBB website = http://<your_IP/domain>/phpbb
- Click the "Install" tab
- Click "Proceed to next step"
- Click "Start install"

Enter the MySQL/MariaDB database details:
- Database server hostname or DSN = localhost
- Database username = phpbb
- Database name = phpbb
- Database password = dietpi (respectively your chosen global software password)

- Click "Proceed to next step"
- Click "Proceed to next step"

Create your admin account:
This account will be used for full access to phpBB forum.
- Click "Proceed to next step"
- Click "Proceed to next step"
- Click "Proceed to next step"

Email and Server URL settings
Use the default values.
- Click "Proceed to next step"
- Click "Proceed to next step"
The database tables will now be generated, please wait.

Login:
- Click "Login"
Using your admin login details that you created previously, you can now manage and create your forum pages.

As the installation is now completed, you will need to remove the installation folder, before the forum can be live. Run the following command:

Code: Select all

rm -R /var/www/phpbb/install
Your forum is now ready.


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

Apache2

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/webser ... -web-stack

Apache2 Webserver Stacks:
Host your own websites with:
  • LAMP Webserver = Linux, Apache2, MariaDB, PHP
  • LASP Webserver = Linux, Apache2, SQlite, PHP
All stacks come with 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.
apache-logo.jpg
apache-logo.jpg (17.55 KiB) Viewed 170435 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:
APCu = http://192.168.0.100/apc.php
OPcache = http://192.168.0.100/opcache.php

MariaDB Details:
Username = root
Password = dietpi


Optional - Enable SSL (https):
Lets Encrypt is highly recommended.
This will automate the creation and setup of your free SSL cert. It couldn't be simpler.

Optional - Alternative Enable SSL (https):
Create key:

Code: Select all

mkdir -p /etc/apache2/ssl
openssl req -x509 -nodes -days 1000 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
Enable SSL config and restart Apache:

Code: Select all

chmod 600 /etc/apache2/ssl/*
cat << '_EOF_' > /etc/apache2/sites-enabled/default-ssl.conf
<IfModule mod_ssl.c>
        <VirtualHost _default_:443>
                ServerAdmin webmaster@localhost
                ServerName example.com:443
                DocumentRoot /var/www

                LogLevel error
                ErrorLog ${APACHE_LOG_DIR}/error.log
                #CustomLog ${APACHE_LOG_DIR}/access.log combined

                SSLEngine on

                SSLCertificateFile /etc/apache2/ssl/apache.crt
                SSLCertificateKeyFile /etc/apache2/ssl/apache.key

                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                </FilesMatch>
                <Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                </Directory>
        </VirtualHost>
</IfModule>
_EOF_
a2enmod ssl
systemctl restart apache2
You can now access your webserver securely with https://192.168.0.100


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

Nginx

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/webser ... -web-stack

Nginx Webserver Stacks:
Host your own websites with:
  • LEMP Webserver = Linux, Nginx, MariaDB, PHP
  • LESP Webserver = Linux, Nginx, 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.
nginx.gif
nginx.gif (9.25 KiB) Viewed 170049 times
Access phpinfo:
URL = http://192.168.0.100/phpinfo.php

Access memcache info:
APCu = http://192.168.0.100/apc.php
OPcache = http://192.168.0.100/opcache.php

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.
User avatar
Fourdee
Site Admin
Posts: 2781
Joined: Tue Feb 06, 2007 1:36 pm

phpMyAdmin

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/webser ... phpmyadmin

phpMyAdmin
Web interface SQL admin tool for webserver installations.
phpmyadmin.png
phpmyadmin.png (3.93 KiB) Viewed 181491 times
Access phpmyadmin:
URL = http://192.168.0.100/phpmyadmin
- Username = phpmyadmin
- Password = The same as your root login password. Default is 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.
User avatar
Fourdee
Site Admin
Posts: 2781
Joined: Tue Feb 06, 2007 1:36 pm

ProFTPD

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/file_servers/#proftpd

ProFTPD - FTP Server
Access files/music/downloads etc. on your DietPi system quickly and efficiently with minimal overheads.
proftpd.png
proftpd.png (23.62 KiB) Viewed 181477 times
Accessing ProFTPD with Windows:
- Go to My Computer (Windows Explorer).
- In the address bar at the top type ftp://dietpi:dietpi@192.168.0.100 press enter.
NB: Change 192.168.0.100 to the IP address of your DietPi system.

Accessing ProFTP with a FTP Client:
Username = dietpi (v6.2 and lower = root)
Password = The same as your root login password. Default is dietpi
Address = Your IP address, e.g.: 192.168.0.100
Port = 21

How do I change the destination directory?
- Replace /Path/To/Directory to your target directory.

Code: Select all

systemctl stop proftpd
sed -i '/DefaultRoot /c\DefaultRoot /path/to/directory' /etc/proftpd/proftpd.conf
systemctl start proftpd
How do i enabling "jailing" (lock users to their home folders)?

Code: Select all

systemctl stop proftpd
sed -i "/DefaultRoot /c\DefaultRoot ~" /etc/proftpd/proftpd.conf
systemctl restart proftpd
>> 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: 2781
Joined: Tue Feb 06, 2007 1:36 pm

Samba

Post by Fourdee »

Deprecation warning: This post is deprecated. Please find our new documentation at: https://dietpi.com/docs/software/file_servers/#samba

Samba - File Server
Share files on your DietPi system with ease.
samba.jpg
samba.jpg (9.93 KiB) Viewed 181480 times
Accessing Samba File Server
- Address = \\192.168.0.100\dietpi
- Username = dietpi
- Password = <your global application pw> (default: dietpi)

Optional: Change Samba password:

Code: Select all

smbpasswd -a dietpi
Optional add/change the valid user:
  • Edit /etc/samba/smb.conf
  • Under the entry [dietpi], change valid users = username_i_require
  • Add the user to Samba with smbpasswd -a username_i_require
  • Restart services with dietpi-services restart
  • You can now connect to the samba server with the username and password you entered above.
Optional: How do I change the destination directory?
  • Replace /Path/To/Directory to your target directory.

    Code: Select all

    sed -i '/path = /c\path = /Path/To/Directory' /etc/samba/smb.conf
    systemctl restart nmbd smbd

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