18-04-2020
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
#### Commande plesk:
|
||||
|
||||
```bash
|
||||
~# plesk
|
||||
@@ -30,7 +30,7 @@ plesk installer --select-release-current --install-component php7.2
|
||||
|
||||
|
||||
|
||||
Réparer Plesk:
|
||||
#### Réparer Plesk:
|
||||
|
||||
```bash
|
||||
$ plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
|
||||
@@ -40,7 +40,7 @@ $ plesk repair installation
|
||||
|
||||
|
||||
|
||||
Tester la zone DNS:
|
||||
#### Tester la zone DNS:
|
||||
|
||||
```bash
|
||||
# plesk bin dns --info maboiteverte.fr
|
||||
@@ -64,7 +64,7 @@ SUCCESS: Getting information for Domain 'maboiteverte.fr' complete.
|
||||
|
||||
|
||||
|
||||
Ajouter l'`user` bruno au groupe `sudo`:
|
||||
#### Ajouter l'`user` bruno au groupe `sudo`:
|
||||
|
||||
```bash
|
||||
# ubuntu:
|
||||
@@ -74,22 +74,31 @@ root@localhost:~# usermod -aG sudo bruno
|
||||
|
||||
|
||||
|
||||
Nextcloud:
|
||||
#### Redémarrer MySQL / MariaDB:
|
||||
|
||||
```bash
|
||||
bruno@localhost:~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php occ maintenance:repair
|
||||
# sous root:
|
||||
|
||||
service mysql restart || service mariadb restart || service mysqld restart
|
||||
```
|
||||
|
||||
|
||||
|
||||
Liste des extzensions installées:
|
||||
Liste des extensions installées:
|
||||
|
||||
plesk bin extension --list
|
||||
```bash
|
||||
plesk bin extension --list
|
||||
```
|
||||
|
||||
Réparer Plesk :
|
||||
|
||||
```bash
|
||||
plesk repair installation
|
||||
```
|
||||
|
||||
Réparer les permissions d'un site:
|
||||
|
||||
plesk repair fs example.com
|
||||
```bash
|
||||
plesk repair fs example.com
|
||||
```
|
||||
|
||||
|
||||
69
docs/Plesk/nextcloud.md
Normal file
69
docs/Plesk/nextcloud.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# Nextcloud:
|
||||
|
||||
|
||||
|
||||
https://docs.nextcloud.com/server/18/admin_manual/index.html
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php occ maintenance:mode --on
|
||||
The current PHP memory limit is below the recommended value of 512MB.
|
||||
Maintenance mode enabled
|
||||
```
|
||||
|
||||
```bash
|
||||
~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php occ maintenance:repair
|
||||
```
|
||||
|
||||
```bash
|
||||
~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php updater/updater.phar
|
||||
Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty
|
||||
|
||||
Current version is 18.0.3.
|
||||
|
||||
No update available.
|
||||
|
||||
Nothing to do.
|
||||
```
|
||||
|
||||
```bash
|
||||
~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php occ upgrade
|
||||
The current PHP memory limit is below the recommended value of 512MB.
|
||||
Nextcloud is already latest version
|
||||
```
|
||||
|
||||
```bash
|
||||
~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php occ maintenance:mode --off
|
||||
The current PHP memory limit is below the recommended value of 512MB.
|
||||
Maintenance mode disabled
|
||||
```
|
||||
|
||||
```bash
|
||||
~/httpdocs/nextcloud$ sudo -u bruno /opt/plesk/php/7.3/bin/php console.php files:scan --all
|
||||
The current PHP memory limit is below the recommended value of 512MB.
|
||||
Starting scan for user 1 out of 1 (bruno)
|
||||
+---------+-------+--------------+
|
||||
| Folders | Files | Elapsed time |
|
||||
+---------+-------+--------------+
|
||||
| 5 | 16 | 00:00:00 |
|
||||
+---------+-------+--------------+
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Joplin:
|
||||
|
||||
```bash
|
||||
bruno@localhost:~/.nextcloud/data/9d67e72f9807/bruno/files$ l
|
||||
total 10728
|
||||
drwxr-xr-x 5 bruno psacln 4096 Apr 12 08:39 .
|
||||
drwxr-xr-x 6 bruno psacln 4096 Apr 12 09:59 ..
|
||||
drwxr-xr-x 2 bruno psacln 4096 Apr 11 19:15 Documents
|
||||
drwxr-xr-x 5 bruno psacln 16384 Apr 12 12:55 .Joplin
|
||||
-rw-r--r-- 1 bruno psacln 3963036 Apr 11 19:15 'Nextcloud intro.mp4'
|
||||
-rw-r--r-- 1 bruno psacln 6933565 Apr 11 19:15 'Nextcloud Manual.pdf'
|
||||
-rw-r--r-- 1 bruno psacln 50598 Apr 11 19:15 Nextcloud.png
|
||||
drwxr-xr-x 2 bruno psacln 4096 Apr 11 19:15 Photos
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user