Need installation instruction

Hello everyone, can someone make a detailed installation instruction on centos or debian? I’m new to Linux and know almost nothing. Need very detailed instructions. Thank you in advance.

Welcome to the community @myers_88!

Is there no way that you can use Ubuntu instead? Because for that, we have very detailed step-by-step instructions here.

There is also this video by @Tephlon which explains how you can install n8n on a Debian system. It however does not set up SSL. Meaning if you rely triggers from external services, that will most likely not work.

Hey @myers_88. The video should work just fine for the base Debian n8n installation.

@jan is correct, this does not include the configuration and installation of an SSL/TLS certificate as that is something that is best done using a reverse proxy such as NGINX, Caddy Server, or Traefik.

Note that the SSL certificate is extremely important if you are going to have n8n wide open to the internet as it helps to secure your passwords and data. This is less important if you are just going to be running n8n inside a private network (either at home or at work).

Hopefully, that helps.

1 Like

If I wanted to use caddy in docker-compose.yml instead of traefik, how would I go about it?

Thank you, I installed the video on debian 11. everything worked out. Now I have another question, I want to ssh into devices from my local network, the n8n server and my devices are on the same network. when I try to connect to them via n8n, I get an error:

Error: Unable to exec
    at /home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/client.js:1728:39
    at CHANNEL_FAILURE (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/client.js:599:39)
    at 100 (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/protocol/handlers.misc.js:1212:16)
    at Protocol.onPayload (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/protocol/Protocol.js:2025:10)
    at GenericDecipherBinding.decrypt (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/protocol/crypto.js:1418:26)
    at Protocol.parsePacket [as _parse] (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/protocol/Protocol.js:1994:25)
    at Protocol.parse (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/protocol/Protocol.js:293:16)
    at Socket.<anonymous> (/home/user/.nodejs_global/lib/node_modules/n8n/node_modules/ssh2/lib/client.js:713:21)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)

That looks there could be a fault with the ssh server not playing ball but it is hard to say.

What server are you connecting to (OpenSSH, Tectia SSH, another one)? Does it work if you put in a command to run? What version of n8n are you running?

@myers_88 I translated your message into English with the help of Google translate and updated your post. Please make sure to post only English messages here in the forum.

Additionally does your question not seem to be related to the original question. So please start a new topic instead. Thanks!

1 Like