ncraspi
Dies ist eine alte Version des Dokuments!
NextCloud auf dem Raspberry Pi einrichten
0. Vorbereitung
aktuelles Raspian-Image auf SD-Karte schreiben Lite Image für Headless oder volles Image mit Desktop
ssh aktivieren
RasPi starten
- über ssh anmelden
- raspi-config
- Passwort ändern
- Dateisystem erweitern
- ssh aktivieren
- Spracheinstrellungen anpassen
- Zeitzone konfigurieren
- reboot
- update/upgrade
Webmin installieren Webmin und anpassen
Weitere Software installieren
sudo apt install mc htop
bis hier
Betriebssystem auf USB-Stick verschieben
USB-Platte fest mounten (PARTUUID eintragen in /etc/fstab)
1. Webserver installieren
sudo apt install -y apache2 mariadb-server libapache2-mod-php7.3 install -y php7.3-gd php7.3-json php7.3-mysql php7.3-curl php7.3-intl php-mcrypt php-imagick php7.3-zip php7.3-xml php7.3-mbstring
NextCloud herunterladen
cd ~/Download wget https://download.nextcloud.com/server/releases/nextcloud-16.0.3.zip
und entpacken
unzip nextcloud-16.0.3.zip
Verzeichnis nextcloud in den Webserver verschieben und Benutzer anpassen
sudo mv nextcloud /var/www/html sudo chown -R www-data.www-data /var/www/html/nextcloud
Konfiguration für virtuellen Host anlegen
sudo nano /etc/apache2/sites-available/nextcloud.conf
mit dem Inhalt
Alias /nextcloud "/var/www/html/nextcloud/"
<Directory /var/www/html/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav on
</IfModule>
SetEnv HOME /var/www/html/nextcloud
SetEnv HTTP_HOME /var/html/www/nextcloud
</Directory>
<VirtualHost *:80>
ServerName pegasus37,no-ip.info
ServerAdmin ukruege@gmx.de
DocumentRoot /var/www/htmlnextcloud/
</VirtualHost>
ncraspi.1563901633.txt.gz · Zuletzt geändert: 2019/07/23 19:07 von noone
