« NextCloud » : différence entre les versions
Aller à la navigation
Aller à la recherche
| Ligne 5 : | Ligne 5 : | ||
# apt update && apt upgrade | # apt update && apt upgrade | ||
=== Archive NextCloud === | === Archive NextCloud === | ||
[https://nextcloud.com/install/# '''Page de téléchargement'''] | |||
# apt install unzip | # apt install unzip | ||
# cd /tmp/ | # cd /tmp/ | ||
| Ligne 11 : | Ligne 12 : | ||
# rm <font color = green>nextcloud-21.0.1.zip</font> | # rm <font color = green>nextcloud-21.0.1.zip</font> | ||
# chown -R www-data. /var/www/nextcloud | # chown -R www-data. /var/www/nextcloud | ||
=== Serveur SQL MariarDB === | === Serveur SQL MariarDB === | ||
Installation : | Installation : | ||
Version du 11 avril 2021 à 21:06
LXC Ubuntu 20.04
Installation Serveur
# apt update && apt upgrade
Archive NextCloud
# apt install unzip # cd /tmp/ # wget https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip # unzip nextcloud-21.0.1.zip -d /var/www/ # rm nextcloud-21.0.1.zip # chown -R www-data. /var/www/nextcloud
Serveur SQL MariarDB
Installation :
# apt install mariadb-server
On lance le script pour attribuer un mot de passe root, virer l'utilisateur anonyme etc.
# mysql_secure_installation
Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y ... Success!
On créé la base de donnée pour NextCloud :
# mysql -U
MariaDB [(none)]> create database nextcloud; MariaDB [(none)]> create user nextcloud@localhost identified by 'motdepasse'; MariaDB [(none)]> grant all privileges on nextcloud.* to nextcloud@localhost IDENTIFIED BY 'motdepasse'; MariaDB [(none)]> flush privileges; MariaDB [(none)]> quit;