DietPi-Software | Details for ALL installation options

Everything you need to download and start your DietPi experience.

Postby Fourdee » Wed May 20, 2015 5: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://192.168.0.100/owncloud

1st run setup:
Once you have accessed the Owncloud web interface, please complete the following steps:
  • Create your Admin account, type in a username and password.
  • Click Storage & Database or Advanced to expand the submenu. Then enter the following details:
    • Database type = MySQL/MariaDB
    • Data Folder = /mnt/dietpi_userdata/owncloud_data
    • Database User = root
    • Database Password = dietpi
    • Database Name = owncloud
  • Click Finish setup to complete the Owncloud setup. Please be patient, Owncloud 9.x will now run a integrity check on its files.

Optional:
NB: We did try to automate all of this for our users, however, Owncloud currently has limitations that prevent DietPi from applying these settings, prior to running 1st run setup.
  • Increase the maximum file size upload to 2GB (from 513MB).
    Code: Select all
    sed -i "/upload_max_filesize=/c\upload_max_filesize=2048M" /var/www/owncloud/.user.ini
    sed -i "/post_max_size=/c\post_max_size=2048M" /var/www/owncloud/.user.ini
  • Enable Memcache:
    Enabling memcaching for Owncloud will vastly improve performance. DietPi automatically installs (APC/u, Opcache) and optimizes the caches specific to your hardware, however, Owncloud must be "told" to use it.
    Code: Select all
    sed -i "/'version'/a 'memcache.local' => '\\\OC\\\Memcache\\\APCu'," /var/www/owncloud/config/config.php
  • Set memory limit for Owncloud:
    A memory limit will prevent Owncloud from using all your system RAM. The following command will set the memory limit to 1/4th of total RAM on your device:
    Code: Select all
    LANG=en_GB.UTF-8;sed -i "/memory_limit=/c\memory_limit=$(( $(free -m -o | grep -m1 'Mem:' | awk '{print $2}') / 4 ))M" /var/www/owncloud/.user.ini
  • Tweak Owncloud:
    For maximum performance, click the dropdown menu (top left corner), select "apps", and disable the modules you don't require. eg:
    • Activity
    • First Run Wizard
    • Mail Template Editor
    • Share Files
    • Updater
    • Versions
  • Restart services:
    Once completed, simply run dietpi-services restart to restart the webserver.

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

Postby Fourdee » Wed May 20, 2015 5:43 pm

DietPi-Cam (RPi Camera / Web Interface Surveillance) Details:
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!
DietPi-Cam a modified fork of the excellent "RPi_Cam_Web_Interface" project.

Requires:
- Official RPi camera module (any)

dietpi-cam.png
Access web interface:
url = http://192.168.0.100/dietpicam

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

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

Postby Fourdee » Wed May 20, 2015 5:45 pm

ReadyMedia / MiniDLNA
Stream your shared media to any DLNA/UPnP capable device.

DLNA T.jpg
DLNA T.jpg (72.26 KiB) Viewed 241506 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_UPnP_AV_media_servers_and_clients#UPnP_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: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Wed May 20, 2015 5: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: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Wed May 20, 2015 5: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 name = phpbb3
- Database username = root
- 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: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Wed May 20, 2015 5: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 38105 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: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Wed May 20, 2015 5: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 38079 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: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Wed May 20, 2015 5:51 pm

phpMyAdmin Details:
Web interface SQL admin tool for webserver installations.

phpmyadmin.png
phpmyadmin.png (3.93 KiB) Viewed 49552 times
Access phpmyadmin:
url = http://192.168.0.100/phpmyadmin
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: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Postby Fourdee » Wed May 20, 2015 5: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 49552 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 = 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
service proftpd stop
sed -i '/DefaultRoot /c\DefaultRoot /Path/To/Directory' /etc/proftpd/proftpd.conf
service proftpd start

How do i enabling "jailing" (lock users to their home folders)?
Code: Select all
service proftpd stop
sed -i "/DefaultRoot /c\DefaultRoot ~" /etc/proftpd/proftpd.conf
service proftpd start


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

Postby Fourdee » Wed May 20, 2015 5:52 pm

Samba - File Server Details:
Share files on your DietPi system with ease.

samba.jpg
samba.jpg (9.93 KiB) Viewed 49552 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.
User avatar
Fourdee
Site Admin
 
Posts: 2485
Joined: Tue Feb 06, 2007 12:36 pm

Next

Return to Releases

Who is online

Users browsing this forum: No registered users and 3 guests