In an attempt to use an old 32bit Asus EEEPc, see below.
I stopped because 32bit , you cannot run the docker images I needed (pihole and piwigo)
adduser metskem
cp /home/metskem/iptables-setup.sh /etc/local.d/iptables-setup.start
enable community in /etc/apk/repositories
apk update && apk upgrade
apk add docker apache2 apache2-proxy openjdk11-jre mlocate vim mariadb mariadb-client net-tools iftop iotop # or openjdk8-jre for 32bit
rc-update add docker
rc-update add apache2
rc-update add local # so scripts in /etc/local.d get executed
adduser tomcat
create /etc/init.d/tomcat
restore tomcat in /usr/local/tomcat
restore jspwiki in /var/jspwiki
rc-update add tomcat
rc-update add mariadb
/etc/init.d/mariadb setup
/etc/init.d/mariadb start
mysql
create user 'piwigo_user'@'%' identified by "<<<piwigo passwd>>>";
create database piwigo;
grant all privileges on piwigo.* to piwigo_user@'%';
vim /etc/my.cnf.d/mariadb-server.cnf ==> comment out skip-networking
docker run -d -p 2222:22 -p 8081:80 -v /appl/piwigo/config:/config --restart=unless-stopped --name piwigo linuxserver/piwigo
go to www.computerhok.nl:8081 ==> setup dialog =: 192.168.2.3 piwigo_user piwigopswd .....
copy all restored album folders to /appl/piwigo/config/www/gallery/galleries
do the "Tools => Database synchronization with files" on the UI
Alpine Linux setup#
In an attempt to use an old 32bit Asus EEEPc, see below. I stopped because 32bit , you cannot run the docker images I needed (pihole and piwigo)
File /config/www/gallery/local/config/database.inc.php contains configuration:
<?php $conf['dblayer'] = 'mysqli'; $conf['db_base'] = 'piwigo'; $conf['db_user'] = '\/\/\/\/'; $conf['db_password'] = '/\/\/\/\'; $conf['db_host'] = '192.168.2.19'; $prefixeTable = 'piwigo_'; define('PHPWG_INSTALLED', true); define('PWG_CHARSET', 'utf-8'); define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); ?>