1er commit
De la docs au format Mkdocs
This commit is contained in:
92
docs/Plesk/Ghost.md
Normal file
92
docs/Plesk/Ghost.md
Normal file
@@ -0,0 +1,92 @@
|
||||
# Installer Ghost
|
||||
|
||||
|
||||
|
||||
### Installer ghost-cli:
|
||||
|
||||
Se connecter au serveur comme root:
|
||||
|
||||
```bash
|
||||
ssh root@mon_vps
|
||||
```
|
||||
|
||||
Ghost [requiert](https://docs.ghost.org/docs/supported-node-versions) l'installation de [node.js](https://nodejs.org/)
|
||||
|
||||
```bash
|
||||
root@localhost:~# /opt/plesk/node/8/bin/npm install -g ghost-cli
|
||||
|
||||
/opt/plesk/node/8/bin/ghost -> /opt/plesk/node/8/lib/node_modules/ghost-cli/bin/ghost
|
||||
+ ghost-cli@1.9.3
|
||||
added 387 packages in 18.168s
|
||||
```
|
||||
|
||||
Se connecter au serveur comme utilisateur
|
||||
|
||||
```bash
|
||||
httpuser@localhost:~$ echo 'PATH=$PATH:/opt/plesk/node/8/bin/' >> .profile
|
||||
httpuser@localhost:~$ echo 'export PATH' >> .profile
|
||||
httpuser@localhost:~$ source .profile
|
||||
```
|
||||
|
||||
Vérifier que ghost-cli est bien installé:
|
||||
|
||||
```bash
|
||||
httpuser@localhost:~$ ghost version
|
||||
|
||||
Ghost-CLI version: 1.9.3:
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Installer ghost:
|
||||
|
||||
Créer un dossier **ghost** sur le serveur:
|
||||
|
||||
```bash
|
||||
bruno@localhost:~$ cd httpdocs/
|
||||
bruno@localhost:~/httpdocs$ mkdir ghost
|
||||
```
|
||||
|
||||
Installer Ghost:
|
||||
|
||||
```bash
|
||||
bruno@localhost:~/httpdocs/ghost$ ghost install local
|
||||
|
||||
✔ Checking system Node.js version
|
||||
✔ Checking current folder permissions
|
||||
✔ Checking memory availability
|
||||
✔ Checking for latest Ghost version
|
||||
✔ Setting up install directory
|
||||
✔ Downloading and installing Ghost v2.1.1
|
||||
✔ Finishing install process
|
||||
✔ Configuring Ghost
|
||||
✔ Setting up instance
|
||||
ℹ Ensuring user is not logged in as ghost user [skipped]
|
||||
ℹ Checking if logged in user is directory owner [skipped]
|
||||
✔ Checking current folder permissions
|
||||
✔ Validating config
|
||||
✔ Checking memory availability
|
||||
✔ Starting Ghost
|
||||
|
||||
You can access your publication at http://localhost:2368/
|
||||
Next, go to to your admin interface at http://localhost:2368/ghost/ to complete the setup of your publication
|
||||
|
||||
Ghost uses direct mail by default
|
||||
To set up an alternative email method read our docs at https://docs.ghost.org/docs/mail-config
|
||||
```
|
||||
|
||||
|
||||
|
||||
https://docs.ghost.org/docs/install
|
||||
|
||||
|
||||
|
||||
### Installer ghost (avec Docker):
|
||||
|
||||
Cliquer sur Docker
|
||||
|
||||
Rechercher ghost dans le catalogue d'images Docker
|
||||
|
||||
Sur l'image ghost (officiel), cliquer sur exécuter
|
||||
|
||||
Cocher Démarrage automatique après redémarrage du système
|
||||
64
docs/Plesk/index.md
Normal file
64
docs/Plesk/index.md
Normal file
@@ -0,0 +1,64 @@
|
||||
# Plesk
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
~# plesk
|
||||
Usage: plesk [command]
|
||||
|
||||
Commands:
|
||||
bin - Run the specified Plesk command-line utility (e.g., domain, client)
|
||||
conf - Open the specified Plesk configuration file in the editor
|
||||
daily - Run daily maintenance script
|
||||
db - Database related commands. Open MySQL console by default.
|
||||
ext - Call a command-line interface of the specified Plesk extension
|
||||
help - Show help and exit
|
||||
installer - Parallels Installer shortcuts and command completion
|
||||
log - Open the specified Plesk configuration file in the editor
|
||||
login - generate login link for specified user
|
||||
php - Run a PHP script using the Plesk PHP interpreter
|
||||
repair - Check and repair Plesk
|
||||
sbin - Run the specified Plesk internal utility
|
||||
version - Show product version information
|
||||
|
||||
|
||||
|
||||
plesk installer --select-release-current --install-component php7.2
|
||||
```
|
||||
|
||||
|
||||
|
||||
Réparer Plesk:
|
||||
|
||||
```bash
|
||||
$ plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
|
||||
|
||||
$ plesk repair installation
|
||||
```
|
||||
|
||||
|
||||
|
||||
Tester la zone DNS:
|
||||
|
||||
```bash
|
||||
# plesk bin dns --info maboiteverte.fr
|
||||
|
||||
www.maboiteverte.fr. CNAME maboiteverte.fr.
|
||||
_dmarc.maboiteverte.fr. TXT v=DMARC1; p=none
|
||||
maboiteverte.fr. TXT v=spf1 +a +mx +a:localhost.localdomain -all
|
||||
ftp.maboiteverte.fr. CNAME maboiteverte.fr.
|
||||
ipv4.maboiteverte.fr. A 212.227.191.167
|
||||
mail.maboiteverte.fr. A 212.227.191.167
|
||||
maboiteverte.fr. MX 10 mail.maboiteverte.fr.
|
||||
webmail.maboiteverte.fr. A 212.227.191.167
|
||||
maboiteverte.fr. A 212.227.191.167
|
||||
ns2.maboiteverte.fr. A 212.227.191.167
|
||||
maboiteverte.fr. NS ns2.maboiteverte.fr.
|
||||
ns1.maboiteverte.fr. A 212.227.191.167
|
||||
maboiteverte.fr. NS ns1.maboiteverte.fr.
|
||||
|
||||
SUCCESS: Getting information for Domain 'maboiteverte.fr' complete.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user