DietPi-Software | Details for ALL installation options

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

Post by Fourdee » Wed May 20, 2015 6:41 pm

ownCloud Details:
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 = dietpi

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.

FAQ:
Where is my data stored?
  • /mnt/dietpi_userdata/owncloud
Why am I limited to 2GB file size uploads?
DietPi will automatically apply the max supported upload size to the PHP and Nextcloud 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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:43 pm

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!

NB: Documentation updated and applies to DietPi v6.3+

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

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

Post by Fourdee » Wed May 20, 2015 6:45 pm

ReadyMedia / MiniDLNA
Stream your shared media to any DLNA/UPnP capable device.
DLNA T.jpg
DLNA T.jpg (72.26 KiB) Viewed 385319 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 /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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:46 pm

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

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

Post by Fourdee » Wed May 20, 2015 6:48 pm

Forum (phpbb3) Details:
If you always wanted your very own forum, PHPBB3 is all you need.
- Also Installs: Webserver
phpbb.png
Access Forums:
url = http://192.168.0.100/phpBB3

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

Enter the MySQL database details:
- Database server hostname or DSN = localhost
- Database username = phpbb3 (Previous to DietPi v6.0 = root)
- Database name = phpbb3
- Database password = dietpi

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

Create your admin account:
This account will be used for full access to phpBB3 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/phpBB3/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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:49 pm

Apache2 Webserver Stacks:
Host your own websites with:
  • LAMP Webserver = Linux, Apache2, MySql, PHP
  • LAAP 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 optimized 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 63581 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:
APC/u = http://192.168.0.100/apc.php
Opcache = http://192.168.0.100/opcache.php

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

                BrowserMatch "MSIE [2-6]" \
                                nokeepalive ssl-unclean-shutdown \
                                downgrade-1.0 force-response-1.0
                BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
        </VirtualHost>
</IfModule>
_EOF_
a2enmod ssl
service apache2 restart
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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:49 pm

Nginx Webserver Stacks:
Host your own websites with:
  • LEMP Webserver = Linux, Nginx, MySql, PHP
  • LEAP 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 optimized 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 63526 times
Access phpinfo:
url = http://192.168.0.100/phpinfo.php

Access memcache info:
APC/u = http://192.168.0.100/apc.php
Opcache = http://192.168.0.100/opcache.php

MySql / 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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:51 pm

phpMyAdmin Details:
Web interface SQL admin tool for webserver installations.
phpmyadmin.png
phpmyadmin.png (3.93 KiB) Viewed 74974 times
Access phpmyadmin:
url = http://192.168.0.100/phpmyadmin
- username = phpmyadmin (Previous to DietPi v6.0 = root)
- 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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:51 pm

ProFTP - FTP Server Details:
Access files/music/downloads etc. on your DietPi system quickly and efficiently with minimal overheads.
proftpd.png
proftpd.png (23.62 KiB) Viewed 74959 times
Accessing ProFTP with Windows:
- Goto My Computer (Windows Explorer).
- In the address bar at the top type ftp://root: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 (eg: 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 and Bitcoin.

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

Post by Fourdee » Wed May 20, 2015 6:52 pm

Samba - File Server Details:
Share files on your DietPi system with ease.
samba.jpg
samba.jpg (9.93 KiB) Viewed 74959 times
Accessing Samba File Server
- Address = \\192.168.0.100\dietpi or \\dietpi\dietpi
- username = root
- password = dietpi

Optional: Change Samba password:
- smbpasswd -a root

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

Code: Select all

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

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