Archive for the ‘DietPi’ Category

DietPi 8.8.1 – Stromverbrauch mit einem Fujitsu Futro S740 (refurbished ab 45 €)

Freitag, September 16th, 2022

Energieverbrauch Leerlauf ≤5 W


Energieverbrauch Volllast ≤15W

DietPi 8.8.1 – eine Installation auf einem Fujitsu Futro S740 (refurbished ab 45 €)

Donnerstag, September 15th, 2022

root@dpi-iot-jsho-tool-01f:~# cpu
─────────────────────────────────────────────────────
DietPi CPU Info
Use dietpi-config to change CPU / performance options
─────────────────────────────────────────────────────
Architecture | x86_64
Temperature | 33 °C / 91 °F : Cool runnings
Governor | schedutil
Current Freq Min Freq Max Freq
CPU0 | 1077 MHz 800 MHz 2500 MHz
CPU1 | 1796 MHz 800 MHz 2500 MHz
CPU2 | 1027 MHz 800 MHz 2500 MHz
CPU3 | 1028 MHz 800 MHz 2500 MHz
[ INFO ] DietPi-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.
root@dpi-iot-jsho-tool-01f:~#

DietPi 8.8.1 – einfache Installation von WordPress auf einem Raspberry Pi Zero W

Dienstag, August 30th, 2022
http://<your.IP@>/wordpress

 

The first time you connect enter the following MySQL database details

Database name = wordpress
Username = wordpress
Password = <dietpi global password>
Database Host = localhost
Table Prefix = wp_

DietPi 8.7.1 – Wartungsmodus per Befehl aktivieren/deaktivieren von NextCloud 24.0.4 auf einem Raspberry Pi Zero W

Freitag, August 26th, 2022

root@dpi-iot-jsho-NextCloud-01:~# cd /var/www/nextcloud
root@dpi-iot-jsho-NextCloud-01:/var/www/nextcloud# sudo -u www-data php occ maintenance:mode –off
Maintenance mode disabled
root@dpi-iot-jsho-NextCloud-01:/var/www/nextcloud#

DietPi 8.7.1 – expand root system to use all of SD card

Donnerstag, August 4th, 2022
root@dpi-iot-jsho-MinIO-01:~# dietpi-services stop
DietPi-Services
─────────────────────────────────────────────────────
Mode: stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : minio
root@dpi-iot-jsho-MinIO-01:~#
root@dpi-iot-jsho-MinIO-01:~# chmod +x /var/lib/dietpi/services/fs_partition_resize.sh
root@dpi-iot-jsho-MinIO-01:~# /var/lib/dietpi/services/fs_partition_resize.sh
Disk /dev/mmcblk0: 119,08 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x94c715c1
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 270335 262144 128M c W95 FAT32 (LBA)
/dev/mmcblk0p2 270336 62709759 62439424 29,8G 83 Linux
/dev/mmcblk0p2:
New situation:
Disklabel type: dos
Disk identifier: 0x94c715c1
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 270335 262144 128M c W95 FAT32 (LBA)
/dev/mmcblk0p2 270336 249737215 249466880 119G 83 Linux
The partition table has been altered.
resize2fs 1.46.2 (28-Feb-2021)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 4, new_desc_blocks = 15
The filesystem on /dev/mmcblk0p2 is now 31183360 (4k) blocks long.
root@dpi-iot-jsho-MinIO-01:~#
root@dpi-iot-jsho-MinIO-01:~# dietpi-services start
DietPi-Services
─────────────────────────────────────────────────────
Mode: start
[ OK ] DietPi-Services | start : minio
[ OK ] DietPi-Services | start : cron
root@dpi-iot-jsho-MinIO-01:~#

DietPi 8.7.1 – einfache Installation von MinIO auf einem Raspberry Pi Zero W

Dienstag, August 2nd, 2022

root@dpi-iot-jsho-MinIO-01:~# dietpi-launcher
[ .. ] DietPi-Software | Initialising database
[ OK ] DietPi-Software | Initialised database
[ OK ] DietPi-Software | Reading database
[ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for conflicts and missing inputs
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for prerequisite software
[ OK ] DietPi-Software | Checking IPv4 network connectivity
[ OK ] DietPi-Software | Checking IPv6 network connectivity
[ OK ] DietPi-Software | Checking DNS resolver
[ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[ OK ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ OK ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ SUB1 ] DietPi-Services > unmask
[ OK ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ INFO ] DietPi-Software | APT update, please wait…
Hit:1 https://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists…
[ OK ] DietPi-Software | APT update
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing MinIO: S3 compatible distributed object server
[ OK ] DietPi-Software | curl -sSfLo /usr/local/bin/minio https://dl.minio.io/server/minio/release/linux-arm/minio
[ OK ] DietPi-Software | chmod +x /usr/local/bin/minio
[ OK ] DietPi-Software | curl -sSfLo /etc/systemd/system/minio.service https://github.com/minio/minio-service/raw/master/linux-systemd/minio.service
[ OK ] DietPi-Software | Verifying user „minio-user“ to run MinIO
[ OK ] DietPi-Software | useradd -rMU -d /mnt/dietpi_userdata/minio-data -s /usr/sbin/nologin minio-user
[ OK ] DietPi-Software | mkdir /mnt/dietpi_userdata/minio-data
[ OK ] DietPi-Software | chown -R minio-user:minio-user /mnt/dietpi_userdata/minio-data
DietPi-Software
─────────────────────────────────────────────────────
Step: Finalising install
[ OK ] DietPi-Software | systemctl daemon-reload
2022-08-02 16:30:48 [ INFO ] DietPi-RAMlog | Storing /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store…
2022-08-02 16:30:48 [ OK ] DietPi-RAMlog | Stored /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store.
[ SUB1 ] DietPi-Services > dietpi_controlled
[ OK ] DietPi-Services | dietpi_controlled : minio
[ OK ] DietPi-Services | dietpi_controlled : cron
DietPi-Software
─────────────────────────────────────────────────────
Step: Install completed
[ OK ] DietPi-Survey | Purging survey data
[ SUB1 ] DietPi-Services > restart
[ OK ] DietPi-Services | restart : minio
[ OK ] DietPi-Services | restart : cron

root@dpi-iot-jsho-MinIO-01:~#
root@dpi-iot-jsho-MinIO-01:~# vi /etc/default/minio
MINIO_ACCESS_KEY=“admin“
MINIO_SECRET_KEY=“<password>“

DietPi 8.6 – einfache Installation von NextCloud 24.0.3 auf einem Raspberry Pi Zero W

Montag, August 1st, 2022
root@dpi-iot-jsho-NextCloud-01:~# dietpi-launcher
DietPi-Update
─────────────────────────────────────────────────────
Phase: Checking for available DietPi update
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for conflicts and missing inputs
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for prerequisite software
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing Lighttpd: Extremely lightweight webserver
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing MariaDB: Persistent cached file-per-table database server
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing Redis: Volatile in-memory non-SQL database server
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing PHP: Hypertext Preprocessor for dynamic web content
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing Nextcloud: File sync, sharing and collaboration platform
DietPi-Software
─────────────────────────────────────────────────────
Step: Finalising install
DietPi-Software
─────────────────────────────────────────────────────
Step: Install completed
root@dpi-iot-jsho-NextCloud-01:~#

DietPi – das bessere Rapsberry Pi OS

Samstag, Juli 30th, 2022

DietPi 8.6 – eine vollautomatische Installation auf einem Raspberry Pi

Samstag, Juli 30th, 2022
dietpi.txt
AUTO_SETUP_ACCEPT_LICENSE=1
AUTO_SETUP_NET_ETHERNET_ENABLED=0
AUTO_SETUP_NET_WIFI_ENABLED=1
AUTO_SETUP_LOCALE=de_DE.UTF-8
AUTO_SETUP_KEYBOARD_LAYOUT=de
AUTO_SETUP_TIMEZONE=Europe/Berlin
AUTO_SETUP_NET_WIFI_COUNTRY_CODE=DE
AUTO_SETUP_NET_HOSTNAME=dpi-iot-jsho-tools-01
# AUTO_SETUP_NET_USESTATIC=1
# AUTO_SETUP_NET_STATIC_IP=<IP@>
# AUTO_SETUP_NET_STATIC_MASK=<netmask>
# AUTO_SETUP_NET_STATIC_GATEWAY=<IP@>
dietpi-wifi.txt
aWIFI_SSID[0]=’WLAN_Name‘
aWIFI_KEY[0]=’WLAN_Password‘
login as: root
root@192.168.1.150’s password: <dietpi>

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
─────────────────────────────────────────────────────
DietPi v8.6.1 : 10:11 – So 31.07.2022
─────────────────────────────────────────────────────
– LAN IP : 192.168.1.150 (wlan0)
DietPi-Update
─────────────────────────────────────────────────────
Phase: Checking for available DietPi update
DietPi-Update
─────────────────────────────────────────────────────
Phase: Checking for update pre-requirements
DietPi-Update
─────────────────────────────────────────────────────
Phase: Applying pre-patches
DietPi-Update
─────────────────────────────────────────────────────
Phase: Upgrading APT packages
DietPi-Update
─────────────────────────────────────────────────────
Phase: Installing new DietPi code
DietPi-Update
─────────────────────────────────────────────────────
Phase: Applying incremental patches
DietPi-Update
─────────────────────────────────────────────────────
Phase: Completed
DietPi-Software
─────────────────────────────────────────────────────
Step: Applying initial first run setup steps
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for conflicts and missing inputs

DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for prerequisite software

DietPi-Software
─────────────────────────────────────────────────────
Step: Finalising install
DietPi-Software
─────────────────────────────────────────────────────
Step: Applying final first run setup steps
DietPi-Software
─────────────────────────────────────────────────────
Step: Install completed

─────────────────────────────────────────────────────
DietPi v8.7.1 : 10:30 – So 31.07.2022
─────────────────────────────────────────────────────
– Device model : RPi Zero W (armv6l)
– CPU temp : 40 °C / 104 °F : Optimal temperature
– LAN IP : 192.168.1.150 (wlan0)
– MOTD : DietPi v8.7 is here, check out the release notes:
https://dietpi.com/docs/releases/v8_7/
─────────────────────────────────────────────────────

dietpi-launcher : All the DietPi programs in one place
dietpi-config : Feature rich configuration tool for your device
dietpi-software : Select optimised software for installation
htop : Resource monitor
cpu : Shows CPU information and stats
root@dpi-iot-jsho-ownCloud-01:~#

DietPi 8.6 – einfache Installation von ownCloud 10.10.0 auf einem Raspberry Pi Zero W

Samstag, Juli 30th, 2022
root@dpi-iot-jsho-tools-01:~# dietpi-software
[ OK ] DietPi-Software | Initialised database
[ OK ] DietPi-Software | Reading database
[ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for conflicts and missing inputs
DietPi-Software
─────────────────────────────────────────────────────
Step: Checking for prerequisite software
[ INFO ] DietPi-Software | MariaDB will be reinstalled
[ INFO ] DietPi-Software | PHP will be reinstalled
[ INFO ] DietPi-Software | Redis will be reinstalled
[ OK ] DietPi-Software | Checking network connectivity
[ OK ] DietPi-Software | Checking DNS resolver
[ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[ OK ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ OK ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ SUB1 ] DietPi-Services > unmask
[ OK ] DietPi-Services | unmask : redis-server
[ OK ] DietPi-Services | unmask : mariadb
[ OK ] DietPi-Services | unmask : php7.4-fpm
[ OK ] DietPi-Services | unmask : nginx
[ OK ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : nginx
[ OK ] DietPi-Services | stop : php7.4-fpm
[ OK ] DietPi-Services | stop : mariadb
[ OK ] DietPi-Services | stop : redis-server
[ INFO ] DietPi-Software | APT update, please wait…
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:2 https://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:4 https://archive.raspberrypi.org/debian bullseye/main armhf Packages [295 kB]
Fetched 13.6 MB in 26s (514 kB/s)
Reading package lists…
[ OK ] DietPi-Software | APT update
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing MariaDB: Persistent cached file-per-table database server
[ INFO ] DietPi-Software | Preparing database directory at: /mnt/dietpi_userdata/mysql
[ INFO ] DietPi-Software | /mnt/dietpi_userdata/mysql exists, will migrate containing databases
[ OK ] DietPi-Software | rm -Rf /var/lib/mysql
[ OK ] DietPi-Software | ln -s /mnt/dietpi_userdata/mysql /var/lib/mysql
[ INFO ] DietPi-Software | APT install for: mariadb-server, please wait…
Reading package lists…
Building dependency tree…
Reading state information…
mariadb-server is already the newest version (1:10.5.15-0+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[ OK ] DietPi-Software | APT install for: mariadb-server
[ OK ] DietPi-Software | systemctl stop mariadb
[ INFO ] DietPi-Software | Removing obsolete SysV mysql service
[ OK ] DietPi-Software | update-rc.d mysql remove
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing Redis: Volatile in-memory non-SQL database server
[ INFO ] DietPi-Software | APT install for: redis-server, please wait…
Reading package lists…
Building dependency tree…
Reading state information…
redis-server is already the newest version (5:6.0.16-1+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[ OK ] DietPi-Software | APT install for: redis-server
[ OK ] DietPi-Software | systemctl stop redis-server
[ OK ] DietPi-Software | phpenmod redis
[ OK ] DietPi-Software | Desired setting in /etc/redis/redis.conf was already set: loglevel warning
[ OK ] DietPi-Software | Desired setting in /etc/redis/redis.conf was already set: logfile „“
[ OK ] DietPi-Software | Desired setting in /etc/redis/redis.conf was already set: syslog-enabled yes
[ OK ] DietPi-Software | Desired setting in /etc/redis/redis.conf was already set: always-show-logo no
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing PHP: Hypertext Preprocessor for dynamic web content
[ INFO ] DietPi-Software | APT install for: php7.4-fpm php7.4-apcu php7.4-curl php7.4-gd php7.4-mbstring php7.4-xml php7.4-zip php7.4-mysql php7.4-redis, please wait…
Reading package lists…
Building dependency tree…
Reading state information…
php-apcu is already the newest version (5.1.19+4.0.11-3).
php-redis is already the newest version (5.3.2+4.3.0-2+deb11u1).
php7.4-curl is already the newest version (7.4.30-1+deb11u1).
php7.4-fpm is already the newest version (7.4.30-1+deb11u1).
php7.4-gd is already the newest version (7.4.30-1+deb11u1).
php7.4-mbstring is already the newest version (7.4.30-1+deb11u1).
php7.4-mysql is already the newest version (7.4.30-1+deb11u1).
php7.4-xml is already the newest version (7.4.30-1+deb11u1).
php7.4-zip is already the newest version (7.4.30-1+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[ OK ] DietPi-Software | APT install for: php7.4-fpm php7.4-apcu php7.4-curl php7.4-gd php7.4-mbstring php7.4-xml php7.4-zip php7.4-mysql php7.4-redis
[ INFO ] DietPi-Software | APT purge for: libapache2-mod-php*, please wait…
[ INFO ] DietPi-Software | None of the requested packages are currently installed. Aborting…
[ OK ] DietPi-Software | APT purge for: libapache2-mod-php*
[ OK ] DietPi-Software | rm -Rf /etc/php/*/apache2 /var/lib/php/modules/*/apache2
[ OK ] DietPi-Software | Desired setting in /etc/php/7.4/fpm/pool.d/www.conf was already set: pm.max_children = 3
[ OK ] DietPi-Software | Desired setting in /etc/php/7.4/fpm/pool.d/www.conf was already set: pm.start_servers = 1
[ OK ] DietPi-Software | Desired setting in /etc/php/7.4/fpm/pool.d/www.conf was already set: pm.min_spare_servers = 1
[ OK ] DietPi-Software | Desired setting in /etc/php/7.4/fpm/pool.d/www.conf was already set: pm.max_spare_servers = 1
[ OK ] DietPi-Software | Desired setting in /etc/php/7.4/fpm/pool.d/www.conf was already set: env[PATH] = /usr/local/bin:/usr/bin:/bin
[ OK ] DietPi-Software | mkdir -p /run/php_sessions
[ OK ] DietPi-Software | chmod 1733 /run/php_sessions
[ OK ] DietPi-Software | Added setting session.save_path=“/run/php_sessions“ to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting upload_tmp_dir=“/tmp“ to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting upload_max_filesize=512M to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting post_max_size=512M to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting opcache.memory_consumption=16 to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting opcache.revalidate_freq=60 to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting apc.shm_size=8M to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | Added setting apc.ttl=259200 to end of file /etc/php/7.4/mods-available/dietpi.ini
[ OK ] DietPi-Software | phpenmod mysqlnd mbstring ctype dom xsl curl tokenizer sysvmsg zip exif gd xmlwriter sysvshm posix json igbinary ffi mysqli dietpi xml redis sysvsem ftp shmop fileinfo apcu xmlreader simplexml phar pdo intl calendar readline opcache gettext dietpi-nextcloud iconv pdo_mysql sockets
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://raw.githubusercontent.com/amnuts/opcache-gui/master/index.php -o /var/www/opcache.php
[ INFO ] DietPi-Software | G_THREAD_START_1 | curl -sSfL https://raw.githubusercontent.com/krakjoe/apcu/master/apc.php -o /var/www/apc.php
[ OK ] DietPi-Software | G_THREAD: All threads finished
DietPi-Software
─────────────────────────────────────────────────────
Step: Installing ownCloud: File sync, sharing and collaboration platform
[ OK ] DietPi-Software | cd /tmp/DietPi-Software
[ OK ] DietPi-Software | Checking URL: https://download.owncloud.org/community/owncloud-latest.tar.bz2
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://download.owncloud.org/community/owncloud-latest.tar.bz2 -o owncloud-latest.tar.bz2
[ INFO ] DietPi-Software | APT install for: php7.4-intl, please wait…
Reading package lists…
Building dependency tree…
Reading state information…
php7.4-intl is already the newest version (7.4.30-1+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[ OK ] DietPi-Software | APT install for: php7.4-intl
[ OK ] DietPi-Software | G_THREAD: All threads finished
[ OK ] DietPi-Software | tar xf owncloud-latest.tar.bz2 –one-top-level=/var/www
[ OK ] DietPi-Software | rm owncloud-latest.tar.bz2
[ INFO ] DietPi-Software | Enabling required PHP modules
[ OK ] DietPi-Software | phpenmod ctype curl dom gd iconv intl mbstring pdo_mysql posix simplexml xmlreader xmlwriter zip fileinfo opcache apcu redis exif json
[ INFO ] DietPi-Software | Enabling APCu memory cache for PHP command line usage (CLI) as well, including ownCloud occ command and cron jobs.
[ OK ] DietPi-Software | phpenmod dietpi-owncloud
[ INFO ] DietPi-Software | Nginx webserver found, enabling ownCloud specific configuration.
[ OK ] DietPi-Software | cd /tmp/DietPi-Software
[ OK ] DietPi-Software | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_47/nginx.owncloud.conf -o nginx.owncloud.conf
[ OK ] DietPi-Software | mv nginx.owncloud.conf /etc/nginx/sites-dietpi/dietpi-owncloud.conf
[ OK ] DietPi-Software | systemctl restart mariadb
[ OK ] DietPi-Software | systemctl restart redis-server
[ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/owncloud_data
[ OK ] DietPi-Software | chown -R www-data:www-data /var/www/owncloud /mnt/dietpi_userdata/owncloud_data
[ OK ] DietPi-Software | mysql -e grant all privileges on *.* to tmp_root@localhost identified by ‚ak4bS3kXEZSkds3B57rvFa58d1hjaO‘ with grant option;
[ OK ] DietPi-Software | ownCloud occ install
[ OK ] DietPi-Software | mysql -e drop user tmp_root@localhost;
[ OK ] DietPi-Software | rm -R /var/www/owncloud/data
[ OK ] DietPi-Software | Desired setting in /var/www/owncloud/config/config.php was already set: ‚mysql.utf8mb4‘ => true,
[ OK ] DietPi-Software | sed -i s|’http://localhost’|’http://localhost/owncloud’| /var/www/owncloud/config/config.php
[ OK ] DietPi-Software | Added setting ‚memcache.local‘ => ‚\\OC\\Memcache\\APCu‘, to /var/www/owncloud/config/config.php after line ‚version‘ => ‚10.9.1.2‘,
[ INFO ] DietPi-Software | Enabling Redis for transactional file locking.
[ OK ] DietPi-Software | Current setting in /etc/redis/redis.conf will be preserved: unixsocket /run/redis/redis-server.sock
[ OK ] DietPi-Software | Desired setting in /etc/redis/redis.conf was already set: unixsocketperm 770
[ OK ] DietPi-Software | usermod -aG redis www-data
[ OK ] DietPi-Software | systemctl restart redis-server
[ OK ] DietPi-Software | Added setting ‚filelocking.enabled‘ => true, to /var/www/owncloud/config/config.php after line ‚memcache.local‘ => ‚\\OC\\Memcache\\APCu‘,
[ OK ] DietPi-Software | Added setting ‚memcache.locking‘ => ‚\\OC\\Memcache\\Redis‘,\n’redis‘ => array (‚host‘ => ‚/run/redis/redis-server.sock‘, ‚port‘ => 0,), to /var/www/owncloud/config/config.php after line ‚filelocking.enabled‘ => true,
Set mode for background jobs to ‚cron‘
DietPi-Software
─────────────────────────────────────────────────────
Step: Finalising install
[ OK ] DietPi-Software | systemctl daemon-reload
2022-07-30 10:03:22 [ INFO ] DietPi-RAMlog | Storing /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store…
2022-07-30 10:03:23 [ OK ] DietPi-RAMlog | Stored /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store.
[ SUB1 ] DietPi-Services > dietpi_controlled
[ OK ] DietPi-Services | dietpi_controlled : redis-server
[ OK ] DietPi-Services | dietpi_controlled : mariadb
[ OK ] DietPi-Services | dietpi_controlled : php7.4-fpm
[ OK ] DietPi-Services | dietpi_controlled : nginx
[ OK ] DietPi-Services | dietpi_controlled : cron
DietPi-Software
─────────────────────────────────────────────────────
Step: Install completed
[ OK ] DietPi-Survey | Purging survey data
[ SUB1 ] DietPi-Services > restart
[ OK ] DietPi-Services | restart : redis-server
[ OK ] DietPi-Services | restart : mariadb
[ OK ] DietPi-Services | restart : php7.4-fpm
[ OK ] DietPi-Services | restart : nginx
[ OK ] DietPi-Services | restart : cron
root@dpi-iot-jsho-tools-01:~#

DietPi 8.6 – released

Freitag, Juli 29th, 2022

DietPi 8.6 – Release Notes

Raspberry Pi Zero W – die Installation von MotionEye mit DietPi 8.3

Dienstag, April 12th, 2022

DietPi 8.2 – neue Kubernetes-Distribution MicroK8s K3s Korrekturen Docker-Compose v2 und mehr

Montag, März 14th, 2022

Raspberry Pi Zero 2W – DietPi und AdGuard Home eine Schritt für Schritt Installation

Sonntag, März 6th, 2022

DietPi 8.1 – released

Donnerstag, Februar 17th, 2022