« Catégorie:N8N » : différence entre les versions

De Support SOFAKOM
(Page créée avec « = Installation = == Sur serveur Ubuntu == === NODE === curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash nvm install 22 nvm current === n8n === export N8N_SECURE_COOKIE="false" npx n8n === En tant que service === ==== Premier lancement comme root ==== sudo nano /etc/systemd/system/n8n.service [Unit] Description=n8n After=network.target [Service] ExecStart=/home/aeyos/.nvm/versions/node/v22.13.1/bin/n8n #WorkingDirect... »)
 
(Page blanchie)
Balise : Blanchiment
 
(17 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
= Installation =
== Sur serveur Ubuntu ==
=== NODE ===
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm install 22
nvm current


=== n8n ===
export N8N_SECURE_COOKIE="false"
npx n8n
=== En tant que service ===
==== Premier lancement comme root ====
sudo nano /etc/systemd/system/n8n.service
[Unit]
Description=n8n
After=network.target
[Service]
ExecStart=/home/aeyos/.nvm/versions/node/v22.13.1/bin/n8n
#WorkingDirectory=/home/aeyos
Restart=always
User=root
Environment=PATH=/usr/bin:/usr/local/bin:/home/aeyos/.nvm/versions/node/v22.13.1/bin
Environment=NODE_ENV=production
Environment=N8N_SECURE_COOKIE=false # permet un access en http, utile pour tester au debut avant la mise en place de letsencrypt
# Environment=N8N_PORT=6254 # 5678 par defaut
Environment=N8N_PAYLOAD_SIZE_MAX=200 #16Mo par defaut , voir https://docs.n8n.io/hosting/configuration/environment-variables/endpoints/
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable n8n.service
sudo systemctl restart n8n.service
sudo systemctl status n8n.service
==== Autre lancement comme aeyos ====
sudo nano /etc/systemd/system/n8n.service
User=aeyos
sudo systemctl daemon-reload
sudo systemctl restart n8n.service
sudo systemctl status n8n.service
= Ressources =
* Markdown-Cheatsheet : https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#emphasis
* Rédaction (supporte copier coller) : https://stackedit.io/app#
* Aide AIRTABLE Formula : https://support.airtable.com/docs/formula-field-reference
* Graph explorer (microsoft) : https://developer.microsoft.com/en-us/graph/graph-explorer

Version actuelle datée du 28 mai 2025 à 16:43

Pages dans la catégorie « N8N »

Cette catégorie comprend 5 pages, dont les 5 ci-dessous.