Nextcloud 28 (Hub 7) Installation – Einfache Anleitung auf Linux Server inkl. Domain & SSL
In diesem Video zeige Ich dir, wie du Schritt-für-Schritt Nextcloud in Version 28 auf deinem Linux Server installieren kannst. Dabei zeige Ich dir die Installation eines LAMP-Stacks, sowie wie du Nextcloud installiert, diese inkl. SSL-Zertifikat aus dem internet erreichbar machen kannst und wie du diese absichern und Optimieren kannst.
➡️ Sicherheits- und Einrichtungswarnungen beheben: https://cc.apfelcast.com/gtcws
🎥 Videos:
Nextcloud Playlist: https://www.youtube.com/playlist?list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN
Eigene Domain trotz DynDNS: https://youtu.be/kDoMdTNQOgc
Externe Erreichbarkeit trotz DS-Lite (IPv6): https://youtu.be/kIK0I9dwXh8
DDOS Schutz für Nextcloud mit Fail2Ban: https://www.youtube.com/watch?v=nqz1IavVMUI
🛠️ Nextcloud IT-Support 🛠️
Du benötigst Unterstützung bei der Installation oder Konfiguration von Nextcloud Software? Ich helfe dir gerne weiter! Schreib mir einfach eine Mail an: service@apfelcast.com
Im Video verwendete Befehle:
# updating
apt update && apt upgrade -y
# Installing apache
apt install apache2 -y
# Install PHP 8.2
apt install software-properties-common
add-apt-repository ppa:ondrej/php
apt update
# Install PHP 8.2 & Moduls
apt install php8.2 libapache2-mod-php8.2 php8.2-zip php-dompdf php8.2-xml php8.2-mbstring php8.2-gd php8.2-curl php8.2-imagick libmagickcore-6.q16-6-extra php8.2-intl php8.2-bcmath php8.2-gmp php8.2-cli php8.2-mysql php8.2-zip php8.2-gd php8.2-mbstring php8.2-curl php8.2-xml php-pear unzip nano php8.2-apcu redis-server ufw php8.2-redis php8.2-smbclient php8.2-ldap php8.2-bz2
# adjust PHP.ini file
nano /etc/php/8.2/apache2/php.ini
memory_limit = 4096
upload_max_filesize = 20G
post_max_size = 20G
date.timezone = Europe/Berlin
output_buffering = Off
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=10000
opcache.memory_consumption=1024
opcache.save_comments=1
opcache.revalidate_freq=1
# Install Databse Server
apt install mariadb-server
# Maria DB Server Konfiguration
mysql_secure_installation
# open SQL dialoge
mysql
# create database calles nextcloud
CREATE DATABASE nextcloud;
# create database user with password
CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';
#grant accesss to databse
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';
#save changes and exit
FLUSH PRIVILEGES;
EXIT;
# Download lastest nextcloud version
cd /tmp && wget https://download.nextcloud.com/server/releases/latest.zip
unzip latest.zip
mv nextcloud /var/www/
#create new conf
nano /etc/apache2/sites-available/nextcloud.conf
<VirtualHost *:80>
ServerAdmin master@domain.com
DocumentRoot /var/www/nextcloud/
ServerName
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
Require all granted
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
# Enable the NextCloud and Rewrite Module
a2ensite nextcloud.conf
a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime
# restart apache
service apache2 restart
# prepare data folder
mkdir /home/data/
chown -R www-data:www-data /home/data/
chown -R www-data:www-data /var/www/nextcloud/
chmod -R 755 /var/www/nextcloud/
## create Let's Encrypt SSL-Certificate
#install certbot
apt install certbot python3-certbot-apache
certbot --apache -m master@domain.com -d cloud.domain.com
--> Domain ansurfen und Einrichtung abschließen
apfelcast Support
Du benötigst Unterstützung bei deinem Projekt oder hast Fragen zur Umsetzung?
Dann melde ich gern bei uns!