How do you install n8n on your CapRover VPS KVM template?

Procédure

1. What is n8n, and why CapRover? 🤔

n8n CapRover
No-code automation: create workflows between +600 services (Slack, Google Sheets, etc.). Self-hosted app orchestrator. (PaaS). Ultra-simple web interface: one-click catalogue, updates, SSL certificates, backups.
Open Source: you keep control of your data. Ideal if you want to manage several applications on the same VPS without becoming a system administrator.

2. Prerequisites 🗒

  1. A KVMVPS

  2. CapRover template installed

  3. Access to the CapRover dashboard: http: //XXX.XXX.XXX.XXX:3000 (The ip of your VPS, included in the delivery email)

3. Preparing CapRover ⚙

  • The default password can be found in your delivery email.
  • Go to "Dashboard" and define a Root domain. If you don't have a personal domain, you can put "vpsXXXX.serveur-vps.net" and click on "Update domain". (replace "vpsXXXX" with your vps number from the delivery email).
  • Reconnect, go back to the Dashboard, and click on "Enable HTTPS". You will be asked to enter your e-mail address, which will only be used to validate the certificates.
  • Finally, go to "Settings" and set a new password to secure the installation.

4. Installing n8n (one-click) 🚀

  1. Connect

    • Go to https://captain.vps123.serveur-vps.net.

    • Log in with the admin password set previously.

  2. Open the catalogue

    • Side menu --> App --> Apps/One-click databases.

  3. Search for "n8n

    • Enter n8n in the search bar, click on the map that appears (we do not recommend the SQLite version for beginners, as it does not include an official image provided by n8n.io).

  4. Fill in the install form

    Field What to put
    App Name Whatever you want, this will be used as a subdomain to join the application.
    Application | n8n.io You can leave the proposed version or choose one from the link displayed.
    Timezone Europe/Paris if you are in France

We advise against calling your application "n8n" as this will be used as a subdomain (n8n.vpsXXXX.serveur-vps.net), Google chrome tends to put a danger message on the n8n login page if the domain includes "n8n"
.

For a first start-up, the rest of the settings are optional. You can then click on "Deploy".

5. Starting up n8n 🛠️

  • On your applications menu, click on the name you have chosen to install n8n.
  • Click on "Enable HTTPS" and then on the link displayed.
  • Create your admin account: enter your e-mail address, first and last names and password.
  • Go to the visual interface; start your first workflow.

6. Current management 🔍

Need Where to click
Update n8n Appsn8n app name → Deployment → method 6 → n8nio/n8n:1.93.0 (for example)
Restore Appsn8n app name → Deployment → Version history, Status column
View logs Appsn8n app name → Deployment → App log sections
Restart Appsn8n app name → Save and Restart button.

7. Best practices ⚡

  • Explicit app name: if you manage several instances, use several names, automaton-marketing, automaton-dev, etc.

  • Environment variables: for API keys & co, go via Apps > app name n8n > App configurations > Environment variables (avoids storing them in plain text in your workflows).

  • HTTPS everywhere: already managed by CapRover via Let's Encrypt, automatic renewal. ✅

8. Conclusion 🎉

Now you're ready to automate your processes!
In less than ten minutes, n8n is running on your secure, backed-up VPS. Explore the integrated workflow examples to connect your favourite tools and save time every day.

Need more help?

Happy automation! 🚀

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

0mn reading

How to use the Docker CE KVM template

0mn reading

How to use the Gitlab CE KVM template

0mn reading

How to use the Cloudron KVM template

0mn reading

Running a Node.js project on your CapRover KVM VPS


Ask the LWS team and its community a question