Installer NextCloud sur OVH

1 Télécharger nextcloud

Site : https://nextcloud.com/install/

Télécharger l’archive file et le décompresser.

2 Éditer /config/config.php

<?php
$CONFIG = array (
 'instanceid' => '··········',
'passwordsalt' => '··········',
'trusted_domains' =>
array (
0 => 'xxxx.yyyyyy.fr',
1 => 'yyyyyyy.fr',
2 => 'sslzzz.ovh.net',
),
'datadirectory' => '/home/loginftp/www/PathDeDataOfNextcloud/',
'dbtype' => 'mysql',
'version' => '15.0.2.0',
'dbname' => 'loginftp',
'dbhost' => 'mysqlxxx',
'dbtableprefix' => 'oc_',
'dbuser' => 'loginftp',
'dbpassword' => 'Mot de passe',
'installed' => true,
'loglevel' => 4,
'forcessl' => true,
'check_for_working_webdav' => false,
'theme' => '',
'maintenance' => false,
'secret' => '················',
'trashbin_retention_obligation' => 'auto, 366',
'versions_retention_obligation' => 'auto, 366',
'appstore.experimental.enabled' => true,
'overwrite.cli.url' => 'http://xxxx.yyyyyy.fr',
'integrity.check.disabled' => true,
'memcache.local' => '\\OC\\Memcache\\ArrayCache',
'updater.secret' => '················',
);

3 Monter le tout via ftp.

  • Aller sur la page du cloud (une page d’installation s’ouvre),
  • Lui donner un nom et un mot de passe pour le compte admin,
  • Configurer MySQL.

Ensuite,

régler NextCloud sur OVH mutualisé.