This guide covers how to set up and configure n8n on a Linux VPS. Whether you're running a production environment or a development setup, these instructions will help you get started quickly and securely.
Prerequisites
- Access to the App Marketplace dashboard
- Root or sudo access to the server
- A VPS running Ubuntu 22.04 or later (2GB+ RAM recommended)
- An active Kazepute VPS instance
Accessing the Marketplace
The automation component plays a crucial role in the overall architecture. Understanding how it interacts with n8n will help you make better configuration decisions.
# Check marketplace app status
curl -s http://localhost:8080/health | jq .
# View application logs
docker logs -f n8n-app --since 1h
# Restart the marketplace app
docker compose -f /opt/n8n/docker-compose.yml restart
The output should show the service running without errors. If you see any warning messages, address them before proceeding to the next step.
Deployment Configuration
Security should be a primary consideration when configuring n8n. Always use strong passwords, keep software updated, and restrict network access to only the necessary ports and IP addresses.
Performance Considerations
Regular maintenance is essential for keeping your n8n installation running smoothly. Schedule periodic reviews of log files, disk usage, and security updates to prevent issues before they occur.
Post-Installation Setup
If you encounter issues during setup, check the system logs first. Most problems can be diagnosed by examining the output of journalctl or the application-specific log files in /var/log/.
# Check marketplace app status
curl -s http://localhost:8080/health | jq .
# View application logs
docker logs -f n8n-app --since 1h
# Restart the marketplace app
docker compose -f /opt/n8n/docker-compose.yml restart
The output should show the service running without errors. If you see any warning messages, address them before proceeding to the next step.
Important Notes
Before making changes to the configuration, always create a backup of the existing files. This ensures you can quickly roll back if something goes wrong during the setup process.
Next Steps
With n8n now set up and running, consider implementing monitoring to track performance metrics over time. Regularly review your configuration as your workload changes and scale resources accordingly.