Skip to content

Comment installer Nextcloud sur un serveur Ubuntu 24.04

Netcloud24
Cloud Infrastructure Expert
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.

 

 

Nextcloud est une solution populaire pour le stockage et le partage de fichiers. Dans ce guide, nous allons vous montrer comment l’installer sur un serveur VPS exécutant Ubuntu 24.04.

Prérequis

  • Un serveur fonctionnant sous Ubuntu 24.04
  • Accès root ou sudo
  • Un domaine ou une adresse IP publique
  • Apache, MariaDB et PHP installés

Étapes d’installation

1. Mettre à jour votre système

Ouvrez votre terminal et exécutez :

sudo apt update && sudo apt upgrade -y

2. Installer Nextcloud

Téléchargez la dernière version de Nextcloud :

wget https://download.nextcloud.com/server/releases/nextcloud-latest.zip

Décompressez le fichier :

unzip nextcloud-latest.zip

Déplacez Nextcloud vers le répertoire de votre serveur :

sudo mv nextcloud /var/www/html/

3. Configurer les permissions

Assurez-vous que le serveur web peut accéder aux fichiers de Nextcloud :

Visual overview of Comment installer Nextcloud sur un serveur Ubuntu 24.04
Visual overview: Comment installer Nextcloud sur un serveur Ubuntu 24.04
sudo chown -R www-data:www-data /var/www/html/nextcloud
sudo chmod -R 755 /var/www/html/nextcloud

4. Configurer la base de données

Connectez-vous à MariaDB :

sudo mysql -u root -p

Créez une base de données et un utilisateur pour Nextcloud :

        CREATE DATABASE nextcloud;
        CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'votre_mot_de_passe';
        GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';
        FLUSH PRIVILEGES;
        EXIT;
        

5. Configurer Apache

Créez un fichier de configuration pour Nextcloud :

sudo nano /etc/apache2/sites-available/nextcloud.conf

Ajoutez le contenu suivant :

        
            DocumentRoot /var/www/html/nextcloud
            Server

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

Key topics covered in Comment installer Nextcloud sur un serveur Ubuntu 24.04
Key topics covered in this NetCloud24 guide.

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Windows RDS (Remote Desktop Services)

Practical checklist for Comment installer Nextcloud sur un serveur Ubuntu 24.04
Practical checklist for applying the guidance in this article.

Windows VPS

Comment installer Nextcloud sur un serveur Ubuntu 24.04
Comment installer Nextcloud sur un serveur Ubuntu 24.04
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.