Homepage: https://github.com/bareboat-necessities/lysmarine_gen
Getestete Version: lysmarine-bbn-full-bookworm_2025-05-18-r1441-raspios-arm64.img.xz
Alle folgenden Kommandos als root ausführen.
Root wird man nach Installation des System-Images in einer Konsole mit sudo -i.
Das Initialkennwort lautet changeme.
apt-get install mariadb-server
apt-get install apache2 libapache2-mod-php php-mysql php-xml
apt-get install python3-mysqldb python3-bcrypt mupdf-tools pwgen
git clone https://git.hoogi.de/thooge/YMS.git cd YMS
pwgen -s 16 1
mariadb CREATE DATABASE yms; CREATE USER 'ymsweb'@'localhost' IDENTIFIED BY '********'; GRANT SELECT, INSERT, UPDATE, DELETE ON yms.* TO 'ymsweb'@'localhost'; exit
mariadb yms < db/mariadb.sql mariadb yms < db/minimal.sql optional mariadb yms < db/generic.sql
./inst_apache.sh
config.inc eintragennano /var/www/html/config.inc
mkdir /var/local/lib/yms mkdir /var/local/lib/yms/thumb chown -R www-data /var/local/lib/yms chmod -R 750 /var/local/lib/yms groupadd yms usermod -aG yms www-data usermod -aG yms user chgrp yms /var/local/lib/yms chgrp yms /var/local/lib/yms/thumb chmod -R 770 /var/local/lib/yms
Die Web-GUI muß zuvor installiert worden sein.
apt-get install gettext gir1.2-rsvg-2.0
mariadb CREATE USER 'user'@'localhost' IDENTIFIED VIA unix_socket; GRANT SELECT, INSERT, UPDATE, DELETE ON yms.* TO 'user'@'localhost'; exit
./install.sh ausführenroot zurück zum normalen Benutzer userexit newgrp yms
user- und pass-Zeilen löschenhost eintragen: socket