Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
en:howtos:nextcloud [2022/02/18 08:09] – Externe Bearbeitung 127.0.0.1 | en:howtos:nextcloud [2022/02/18 08:45] (aktuell) – morquai | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Owncloud | + | ====== Owncloud |
- | Wer nutzt nicht Dienste wie DropBox, Google Drive, OneDrive | + | Who doesn' |
- | [[https:// | + | [[https:// |
- | Die [[https:// | + | The [[https:// |
- | Ich habe das Ganze mir PHP 8.0 und MariaDB | + | I installed the whole thing with PHP 8.0 and MariaDB |
- | Hier die aus der Erinnerung gebliebenen Installation Schritte auf dem Raspberry Pi:\\ | + | Here are the installation steps on the Raspberry Pi that I remembered:\\ |
- | ===== Vorbemerkungen | + | ===== Preliminary Remarks |
- | * Alle Schritte werden als root user ausgeführt, vor jeden Command | + | * All steps are run as root user, writing |
- | * Die [[https:// | + | * The [[https:// |
- | ===== PHP 8.0 Installation | + | ===== PHP 8.0 installation |
- | apt install libapache2-mod-php8.0 php8.0 php8.0-apcu php8.0-bcmath php8.0-bz2 php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0-gd php8.0-gmp php8.0-igbinary php8.0-imagick php8.0-intl php8.0-mbstring php8.0-memcached php8.0-msgpack php8.0-mysql php8.0-opcache php8.0-readline php8.0-redis php8.0-smbclient php8.0-xml php8.0-zip php8.1-cli php8.1-common php8.1-opcache php8.1-readline | + | apt install libapache2-mod-php8.0 php8.0 php8.0-apcu php8.0-bcmath php8.0-bz2 php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0 -gd php8.0-gmp php8.0-igbinary php8.0-imagick php8.0-intl php8.0-mbstring php8.0-memcached php8.0-msgpack php8.0-mysql php8.0-opcache php8.0 -readline php8.0-redis php8.0-smbclient php8.0-xml php8.0-zip php8.1-cli php8.1-common php8.1-opcache php8.1-readline |
====== MariaDB Installation ====== | ====== MariaDB Installation ====== | ||
apt install mariadb-server mariadb-client | apt install mariadb-server mariadb-client | ||
- | Damit sind die Prerequisites installiert und die eigentliche Installation von Nextcloud | + | The prerequisites are now installed and the actual installation of Nextcloud |
- | ====== Installation | + | ====== Installation |
cd /var/www | cd /var/www | ||
mkdir nextcloud | mkdir nextcloud | ||
chown www-data: | chown www-data: | ||
- | # Hier | + | # Here |
| | ||
- | ====== | + | ====== Apache2 Web Server Configuration |
- | Nextcloud | + | Nextcloud |
cd / | cd / | ||
vi sites-available/ | vi sites-available/ | ||
- | Hier habe ich folgenden Inhalt eingefügt: | + | Here I added the following content: |
- | Alias /nextcloud "/ | + | Alias /nextcloud "/ |
| | ||
< | < | ||
Require all granted | Require all granted | ||
- | | + | |
Options FollowSymLinks MultiViews | Options FollowSymLinks MultiViews | ||
| | ||
< | < | ||
- | | + | |
</ | </ | ||
</ | </ | ||
- | Unter sites-available | + | All installed applications are listed under sites-available, |
cd sites-enabled | cd sites-enabled | ||
ln -s ../ | ln -s ../ | ||
- | | + | |
- | Damit ist der Zugang zu Nextcloud, | + | This creates access to Nextcloud, |
a2enmod rewrite | a2enmod rewrite | ||
a2enmod headers | a2enmod headers | ||
- | a2enmod | + | a2enmod |
a2enmod dir | a2enmod dir | ||
a2enmod mime | a2enmod mime | ||
a2enmod setenvif | a2enmod setenvif | ||
- | ====== Installation | + | ====== Installation |
cd /var/www | cd /var/www | ||
- | # nextcloud-23.0.2.tar.bz2 | + | # nextcloud-23.0.2.tar.bz2 |
tar -xzf / | tar -xzf / | ||
chown -R www-data: | chown -R www-data: | ||
- | # Ja, " | + | # Yes, " |
sudo -u www-data php / | sudo -u www-data php / | ||
- | ===== Nacharbeiten | + | ===== Rework |
- | Nachdem jetzt alles vorbereitet ist muss noch der Apache2 | + | Now that everything is prepared, the Apache2 |
systemctl restart apache2 | systemctl restart apache2 | ||
- | Unter http:// | + | At http:// |
- | Viel Spass | + | Have fun |