Skip to content

Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert

Netcloud24
Cloud Infrastructure Expert
HOSTING H1

Free web hosting H1

5 GB of storage and SSL for a small website or WordPress project.

Explore hosting H1
WINDOWS VPS + RDS

Run Windows applications remotely

Windows Server 2022 or 2025 and RDS CALs included in the plan. Choose resources and user capacity for your business.

Explore Windows VPS
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.

Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert

Netcloud24
Cloud Infrastructure Expert
HOSTING H1

Free web hosting H1

5 GB of storage and SSL for a small website or WordPress project.

Explore hosting H1
WINDOWS VPS + RDS

Run Windows applications remotely

Windows Server 2022 or 2025 and RDS CALs included in the plan. Choose resources and user capacity for your business.

Explore Windows VPS
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

 

 

Seafile ist eine Open-Source-Software für die Erstellung eines selbstgehosteten Cloud-Speichers. In dieser Anleitung erfahren Sie, wie Sie Seafile auf einem Debian 12-Server installieren können.

Schritt 1: System aktualisieren

Bevor Sie mit der Installation von Seafile beginnen, stellen Sie sicher, dass Ihr Debian 12-System auf dem neuesten Stand ist. Führen Sie dazu die folgenden Befehle aus:

        sudo apt update
        sudo apt upgrade -y
    

Schritt 2: Abhängigkeiten installieren

Seafile benötigt einige Abhängigkeiten, um korrekt zu funktionieren. Installieren Sie die folgenden Pakete:

        sudo apt install -y python3 python3-pip python3-setuptools python3-ldap python3-mysqldb libmysqlclient-dev libssl-dev libffi-dev
    

Schritt 3: Seafile-Server herunterladen

Laden Sie die neueste Version von Seafile von der offiziellen Website herunter:

Visual overview of Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
Visual overview: Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
        wget https://download.seafile.com/seafile-server/releases/seafile-server_8.0.0_x86-64.tar.gz
    

Schritt 4: Seafile entpacken und installieren

Entpacken Sie das heruntergeladene Archiv und verschieben Sie es in das Verzeichnis /opt:

        tar -xvzf seafile-server_8.0.0_x86-64.tar.gz
        sudo mv seafile-server_8.0.0_x86-64 /opt/seafile
    

Schritt 5: Datenbank einrichten

Seafile benötigt eine Datenbank, um die Dateien zu speichern. Erstellen Sie eine MySQL-Datenbank für Seafile:

        sudo mysql -u root -p
        CREATE DATABASE seafile_db CHARACTER SET = 'utf8' COLLATE = 'utf8_general_ci';
        CREATE USER 'seafile'@'localhost' IDENTIFIED BY 'password';
        GRANT ALL PRIVILEGES ON seafile_db.* TO 'seafile'@'localhost';
        FLUSH PRIVILEGES;
        EXIT;
    

Schritt 6: Seafile konfigurieren

Gehen Sie zum Seafile-Installationsverzeichnis und führen Sie das Setup-Skript aus:

        cd /opt/seafile
        sudo ./setup-seafile.sh
    

Während des Setups werden Sie nach verschiedenen Konfigurationsoptionen gefragt, wie z. B. dem Speicherort für die Daten und den Datenbankeinstellungen. Geben Sie die zuvor erstellte Datenbankkonfiguration ein.

Schritt 7: Seafile-Dienst einrichten

Erstellen Sie eine Systemd-Dienstdatei, um Seafile automatisch zu starten:

        sudo nano /etc/systemd/system/seafile.service
    

Fügen Sie die folgende Konfiguration hinzu:

Key topics covered in Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
Key topics covered in this NetCloud24 guide.
        [Unit]
        Description=Seafile Server
        After=network.target

        [Service]
        Type=forking
        ExecStart=/opt/seafile/seafile-server-latest/seafile.sh start
        ExecStop=/opt/seafile/seafile-server-latest/seafile.sh stop
        PIDFile=/opt/seafile/seafile-server-latest/seafile.pid

        [Install]
        WantedBy=multi-user.target
    

Aktivieren Sie dann den Dienst und starten Sie Seafile:

        sudo systemctl daemon-reload
        sudo systemctl enable seafile
        sudo systemctl start seafile
    

Schritt 8: Seafile Web Interface einrichten

Nachdem Seafile gestartet wurde, können Sie das Web-Interface einrichten. Gehen Sie zu http://:8000 und erstellen Sie das Admin-Konto.

Schritt 9: Firewall konfigurieren

Stellen Sie sicher, dass der Port 8000 in Ihrer Firewall geöffnet ist, um auf das Seafile Web Interface zugreifen zu können:

        sudo ufw allow 8000
        sudo ufw reload
    

VPS-Empfehlung

Wenn Sie nach einem zuverlässigen VPS suchen, besuchen Sie den folgenden Link für Windows VPS-Dienste: Windows VPS von NetCloud24.

Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
Wie man Seafile Self-Hosted Cloud Storage auf Debian 12 installiert
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.