{"id":1902,"date":"2022-07-26T05:26:09","date_gmt":"2024-03-29T07:29:34","guid":{"rendered":""},"modified":"2025-02-02T00:46:17","modified_gmt":"2025-02-01T23:46:17","slug":"wie-man-das-lychee-fotoverwaltungssystem-auf-debian-12-installiert","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/wie-man-das-lychee-fotoverwaltungssystem-auf-debian-12-installiert\/","title":{"rendered":"Wie man das Lychee Fotoverwaltungssystem auf Debian 12 installiert"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<h1>\u00a0<\/h1>\n<p>Lychee ist ein Open-Source-Fotoverwaltungssystem, das es Benutzern erm\u00f6glicht, ihre Fotos sicher zu speichern, zu organisieren und zu teilen. In dieser Anleitung erfahren Sie, wie Sie Lychee auf einem Debian 12-Server installieren.<\/p>\n<h2>Schritt 1: System aktualisieren<\/h2>\n<p>Bevor Sie mit der Installation von Lychee beginnen, stellen Sie sicher, dass Ihr Debian 12-System auf dem neuesten Stand ist. F\u00fchren Sie dazu die folgenden Befehle aus:<\/p>\n<pre>        sudo apt update\r\n        sudo apt upgrade -y\r\n    <\/pre>\n<h2>Schritt 2: Abh\u00e4ngigkeiten installieren<\/h2>\n<p>Lychee ben\u00f6tigt einige wichtige Softwarepakete wie Apache, PHP und MariaDB. Installieren Sie diese mit den folgenden Befehlen:<\/p>\n<pre>        sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql php-xml php-gd php-mbstring php-curl php-zip unzip -y\r\n    <\/pre>\n<h2>Schritt 3: MariaDB konfigurieren<\/h2>\n<p>Starten Sie den MariaDB-Dienst und aktivieren Sie ihn f\u00fcr den automatischen Start:<\/p>\n<pre>        sudo systemctl start mariadb\r\n        sudo systemctl enable mariadb\r\n    <\/pre>\n<p>Stellen Sie sicher, dass MariaDB ordnungsgem\u00e4\u00df l\u00e4uft:<\/p>\n<pre>        sudo systemctl status mariadb\r\n    <\/pre>\n<h2>Schritt 4: Datenbank f\u00fcr Lychee erstellen<\/h2>\n<p>Loggen Sie sich in die MariaDB-Datenbank ein und erstellen Sie eine neue Datenbank f\u00fcr Lychee:<\/p>\n<pre>        sudo mysql -u root -p\r\n    <\/pre>\n<p>Geben Sie das Passwort f\u00fcr den Root-Benutzer ein und f\u00fchren Sie dann die folgenden SQL-Befehle aus:<\/p>\n<pre>        CREATE DATABASE lychee;\r\n        CREATE USER 'lychee_user'@'localhost' IDENTIFIED BY 'IhrPasswort';\r\n        GRANT ALL PRIVILEGES ON lychee.* TO 'lychee_user'@'localhost';\r\n        FLUSH PRIVILEGES;\r\n        EXIT;\r\n    <\/pre>\n<h2>Schritt 5: Lychee herunterladen und installieren<\/h2>\n<p>Laden Sie die neueste Version von Lychee herunter und entpacken Sie sie in das Webverzeichnis:<\/p>\n<pre>        cd \/var\/www\/html\r\n        sudo wget https:\/\/github.com\/LycheeOrg\/Lychee\/releases\/download\/lychee-v4.0.0\/Lychee-v4.0.0.zip\r\n        sudo unzip Lychee-v4.0.0.zip\r\n        sudo rm Lychee-v4.0.0.zip\r\n    <\/pre>\n<h2>Schritt 6: Apache konfigurieren<\/h2>\n<p>\u00c4ndern Sie die Berechtigungen des Lychee-Verzeichnisses, damit Apache darauf zugreifen kann:<\/p>\n<pre>        sudo chown -R www-data:www-data \/var\/www\/html\/Lychee\r\n        sudo chmod -R 755 \/var\/www\/html\/Lychee\r\n    <\/pre>\n<p>Erstellen Sie eine neue Apache-Konfigurationsdatei f\u00fcr Lychee:<\/p>\n<pre>        sudo vi \/etc\/apache2\/sites-available\/lychee.conf\r\n    <\/pre>\n<p>F\u00fcgen Sie die folgende Konfiguration ein:<\/p>\n<pre>        \r\n            ServerAdmin webmaster@localhost\r\n            DocumentRoot \/var\/www\/html\/Lychee\r\n            ServerName lychee.example.com\r\n\r\n            \r\n                AllowOverride All\r\n                Require all granted\r\n            \r\n        \r\n    <\/pre>\n<p>Aktivieren Sie die Konfiguration und das Rewrite-Modul:<\/p>\n<pre>        sudo a2ensite lychee.conf\r\n        sudo a2enmod rewrite\r\n        sudo systemctl restart apache2\r\n    <\/pre>\n<h2>Schritt 7: Lychee im Browser aufrufen<\/h2>\n<p>\u00d6ffnen Sie einen Webbrowser und geben Sie die IP-Adresse oder den Domainnamen Ihres Servers ein, um die Lychee-Weboberfl\u00e4che zu erreichen:<\/p>\n<pre>        http:\/\/lychee.example.com\r\n    <\/pre>\n<h2>Schritt 8: Lychee einrichten<\/h2>\n<p>Folgen Sie den Anweisungen auf der Webseite, um Lychee zu konfigurieren, einschlie\u00dflich der Eingabe der MariaDB-Datenbankinformationen und der Erstellung eines Administratorkontos.<\/p>\n<h2>VPS-Empfehlung<\/h2>\n<p>Wenn Sie nach einem zuverl\u00e4ssigen VPS suchen, besuchen Sie den folgenden Link f\u00fcr Windows VPS-Dienste: <a href=\"https:\/\/de.netcloud24.com\/\" target=\"_blank\" rel=\"follow\">Windows VPS von NetCloud24<\/a>.<\/p>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 Lychee ist ein Open-Source-Fotoverwaltungssystem, das es Benutzern erm\u00f6glicht, ihre Fotos sicher zu speichern, zu organisieren und zu teilen. In dieser Anleitung erfahren Sie, wie Sie Lychee\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-1902","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1902"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1902\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}