This commit is contained in:
2024-08-10 00:47:22 -05:00
parent f6582b2a2a
commit b87d814c89
11 changed files with 41 additions and 16 deletions

View File

@@ -1,11 +1,13 @@
```bin
# nextcloud_ubuntu
```bash
CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'phaiNooc9oibu2shoopo2shah8kohH';
CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';
FLUSH PRIVILEGES;
exit;
```
```bin
```bash
cd /var/www/nextcloud/
sudo -u www-data php occ maintenance:install \
--database='mysql' --database-name='nextcloud' \