DietPi-Software | Details for ALL installation options

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

Apache2

Post by Fourdee »

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

Nginx

Post by Fourdee »

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

phpMyAdmin

Post by Fourdee »

phpMyAdmin
Web interface SQL admin tool for webserver installations.
phpmyadmin.png
phpmyadmin.png (3.93 KiB) Viewed 175636 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: 2782
Joined: Tue Feb 06, 2007 1:36 pm

ProFTPD

Post by Fourdee »

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

Samba

Post by Fourdee »

Samba - File Server
Share files on your DietPi system with ease.
samba.jpg
samba.jpg (9.93 KiB) Viewed 175625 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.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

No-IP

Post by Fourdee »

No-IP - Dynamic DNS update client
Use your No-IP account and website URL address to always have it pointing to your DietPi system. Essential if your hosting a website.

no-ip_logo.jpg
no-ip_logo.jpg (12.97 KiB) Viewed 169361 times


Setup NoIp:

- Create your free No-IP account https://www.noip.com/sign-up and select a web address for your account.
- Type dietpi-config in a terminal and press enter.
- Goto Networking Options: Misc and select No-IP from the menu.
NB: If No-IP is not yet installed, confirm the installation and reselect No-IP from the menu once completed.
- Type in your username and password details at the prompt.
- Type in 5 for the interval option.
If successful, the No-IP current status will change to: Online
You will need to enable port forwarding on your router, for all programs your require, and point them to DietPi. E.g.: TCP port 80/443 for website, pointing to 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: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Deluge

Post by Fourdee »

Deluge (BitTorrent)
Deluge, the web interface BitTorrent server that allows you to download BitTorrent files. This Python coded BitTorrent server is an alternative to the lightweight Transmission option.
- USB dedicated hard drive highly recommended.
deluge.png
Access web interface:
URL = http://192.168.0.100:8112
Password = dietpi
- Select the host 127.0.0.1 and click connect

Access Deluge console (v6.22 and above):
- sudo -u debian-deluged deluge-console

Connect using your desktop Deluge client:
  • Open up Deluge client on your other system
  • Select Preferences > Interface and disable (untick) Classic Mode. Save changes and restart Deluge
  • When the connection manager appears, select Add.
  • Enter the following details:
    • hostname = Your device's IP address (eg: 192.168.0.100)
    • port = 58846
    • username = root
    • password = dietpi
  • Simply select and connect to the new entry
Access BitTorrent Downloads:
- Make sure you have one of DietPi's File Servers installed.
- Folder /mnt/dietpi_userdata/downloads

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

Dropbear

Post by Fourdee »

Dropbear SSH Server
Lightweight SSH server, installed by default on DietPi systems.
dropbear.jpg
dropbear.jpg (9.48 KiB) Viewed 169265 times
You can swap or change your SSH server at any time using DietPi-Software.

Access SSH Server:
Address = Your IP address, e.g.: 192.168.0.100
Port = 22
Username = root
Password = dietpi

Windows SSH Client:
For Windows, we recommend either PuTTY or KiTTY SSH client.

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

OpenSSH

Post by Fourdee »

OpenSSH Server
Feature rich SSH server with SFTP/SCP support.
openssh.gif
openssh.gif (22.78 KiB) Viewed 169217 times
You can swap or change your SSH server at any time using DietPi-Software.

Access SSH Server:
Address = Your Ip address (eg: 192.168.0.100)
Username = root
Password = dietpi
Port = 22

Windows SSH Client:
For Windows, we recommend either PuTTY or KiTTY SSH client.

Windows SFTP/SCP Client:
For Windows, we recommend either the PuTTY SFTP or SCP client, or WinSCP if a fully featured GUI is required, to transfer files and folders on your DietPi device.

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

v130

Post by Fourdee »

Amiberry
Amiberry is an optimised Amiga emulator for the Raspberry Pi and other ARM-based SoCs, that brings you the highest performance Amiga emulation. Be it a classic A500, A1200, CD32 or up to a high-end model equipped with a 68040 and a graphics card, we’ve got you covered.

This installation is possible due to a collaboration with Dimitris Panokostas (Amiberry) and Daniel Knight (DietPi).
- Keyboard + Mouse is highly recommended.
- We also offer a completely automated installation image for Amiberry. Please see: https://blitterstudio.com/amiberry/
- Direct download link: https://dietpi.com/downloads/images/Die ... miberry.7z


AmiBerry.jpg

First Run Setup
  • Kickstarts (Amiga BIOS/boot system)
    Amiga kickstart ROM images are required to run the system(s) you want to emulate. These can not be bundled due to copyright restrictions.
    If you own the Amiga Forever product, you can legally download and use Kickstarts you are eligible for, from: https://www.amigaroms.com/
    NB: Kickstart 1.3 (A500-A2500-A3000-CDTV) is highly recommended to work with most games.
    Kickstarts need to be placed in /mnt/dietpi_userdata/amiberry/kickstarts
  • Floppy disks (Amiga .adf images)
    Amiga's floppy disk images have a .adf file extension.
    You will need obtain at least one ADF image to start your Amiga experience.
    Load your ADF from or place them where every you want it, e.g. create and use:
    /mnt/dietpi_userdata/amiberry/floppy_images
    To allow uploads via file servers, remember to grant required permissions, e.g.:
    chown dietpi:dietpi /mnt/dietpi_userdata/amiberry/floppy_images
Starting Amiberry
  • Amiberry can be started by running systemctl start amiberry
  • Optionally, you can enable Amiberry autostart to boot straight into the Amiga environment as fast as possible, with the least possible interference from Linux.
    Simply run dietpi-autostart and select Amiberry fast boot then reboot your system.
    If you face issues with the fast boot option or need to have other service starting up first, use Amiberry standard boot.
Create an Amiga configuration:
Once Amiberry is running, you will need to configure the emulator, to tell it which Amiga system to emulate.
  • Select Quickstart (from the left hand side menu)
  • Under Amiga model:, select the Amiga model you'd like to emulate (example A500)
  • Under Config: select the additional options for the target Amiga model (if required)
  • Click the Set configuration, button to apply changes.
Next you will need to setup the emulator for the Kickstart and Floppy disk image you wish to use:
  • Select a Kickstart (ROM):
    • On the left hand side, select ROM.
    • Under Main ROM File:, click the browse button (3 dots) ...
    • Navigate to your Kickstarts directory /mnt/dietpi_userdata/amiberry/kickstarts
      NB: Amiberry does not currently support symlinks. If you have a dedicated USB drive installation, the location is: /mnt/uuid-of-drive/amiberry/kickstarts
    • Select a Kickstart (1.3 is recommended)
  • Select a Floppy disk image (ADF):
    • On the left hand side, select Floppy drives.
    • Under DF0:, select the browse button the right hand side (3 dots) ...
    • Navigate to your Floppy image directory, e.g. /mnt/dietpi_userdata/amiberry/floppy_images
      NB: Amiberry does not currently support symlinks. If you have a dedicated USB drive installation, the location is: /mnt/uuid-of-drive/amiberry/floppy_images
    • Select the ROM you wish to use.
Enable Fullscreen output:
  • On the left hand side, select Display.
  • Ensure the Fullscreen option is enabled.
Optional: Set CPU speed to fastest (recommended)
This will emulate the Amiga as fast as possible, ensuring you get the maximum FPS for your SBC hardware.
  • On the left hand side, select CPU and FPU.
  • Under CPU Speed, select the fastest option.
  • If you find this change slows down the emulation, try using the fixed value of 25MHz
Optional: Save configuration (recommended)
It is recommended to save your settings. This will ensure the settings are applied on next startup of Amiberry
  • On the left hand side, select Configurations.
  • Enter the name, e.g. autostart, then click Save
Good to GO!
When ready, select Start to launch the emulator. Have fun!



FAQ:
  • How can I transfer Kickstarts & Floppy Images to the device?
    Make sure you have one of DietPi's File Servers installed.
    • Floppy Disk Image (.adf) directory as chosen before, e.g. /amiberry/floppy_images
    • Kickstarts (.rom) directory = /amiberry/kickstarts
  • How can I open the configuration window once the emulator has started?
    The pre-defined key for that is F12.
  • How can I reboot the Amiga emulation environment (Amiga reset)?
    Use Ctrl + Left Windows + Right Windows keys. If you don’t have a Right Windows key, try using the menu key instead.
  • What are the default controls for Joystick, when using a Keyboard?
    When using a keyboard, the default joystick controls are:
    • Arrow Keys = Up/Down/Left/Right
    • Page Down = Fire/Button 1
    • Page Up= Fire/Button 2
  • How can I improve performance (framerate)?
    A lower resolution may improve performance on most games. From the emulator main menu:
    • On the left hand side, select Display
    • 640x256 is high resolution
    • 320x256 is low resolution and should provide improved performance
    Overclocking your system will improve performance. Stability may vary across devices and overclocking is not officially supported:
    • From a terminal, run dietpi-config
    • Select the Performance Options menu
    • Select Overclocking Profiles
    • Select an overclocking profile, then reboot the system
  • How do i set the floppy drive speed for compatibility?
    Floppy drive emulation is to set to "800%" by default. This reduces loading times by upto 8x. You can lower this to 100%, increasing compatibility:
    • On the left hand side, select Floppy Drives
    • Change the Floppy Drive Emulation Speed value to 100&
  • Some games are not in full screen:
    Games run at various resolutions, from the emulator main menu:
    • On the left hand side, select Display
    • Change the Height value to 200 or 256
    • Press the Resume or Start button


If you find this installation useful, please donate.
All donations using this link will be split 50/50 between Dimitris Panokostas (Amiberry) and Daniel Knight (DietPi).
Image


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