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
|
||||
Reference in New Issue
Block a user