The Nxeon Blog
Guides for people who run their own servers.
Straight-talking tutorials and comparisons on VPS hosting, game servers, Linux and security. No fluff, just what actually works. 346 guides from the team that runs the servers.
Search results
19 guides for “pm2” · Clear search
How to Run a Telegram Bot 24/7 on a VPS
Deploy a Telegram bot on a Linux VPS and keep it online 24/7: Python or Node, polling vs webhooks, a safe token, and a systemd service that auto-restarts.

How to Deploy a Discord Bot with Docker
Containerize your Discord bot with a Dockerfile and run it on a VPS: build the image, pass the token as an env var, and auto-restart with a restart policy.

How to Host a Discord Music Bot on a VPS
Run your own Discord music bot on a VPS: install ffmpeg and the voice dependencies, stream audio reliably, and keep it online 24/7 with PM2.

How to Host a Node.js (discord.js) Bot on a VPS
Deploy a discord.js bot on a VPS from scratch: install Node.js, structure the project, register slash commands, secure the token, and run it with PM2.

How to Host a Python Discord Bot on a Linux VPS
Deploy a discord.py bot on a Linux VPS the right way: virtualenv, dependencies, a .env token, and a systemd service that restarts on crash and boot.

How to Keep a Discord Bot Online with PM2
Use PM2 to keep your Node.js Discord bot running 24/7 on a VPS: auto-restart on crash, start on boot, log management, and zero-downtime restarts.

How to Host a Discord Bot on a VPS 24/7
Move your Discord bot off your laptop and onto a VPS so it stays online around the clock. Covers Node.js and Python, a process manager, and auto-restart.

Best VPS for Discord Bots
Discord bots need to run 24/7 without babysitting. Here's how to choose a small, reliable VPS that keeps your bot online — sizing, uptime and process management.

Best VPS for Node.js Apps
Deploying an Express, Next.js or NestJS app? Here's how to choose a VPS that runs Node reliably in production — sizing, process management and the features that matter.

How to Run Staging and Production on One VPS
Host both a staging and production environment on a single VPS: separate directories, ports, subdomains, databases, and Nginx server blocks.

How to Set Up Git-Based Deploys on a VPS
Deploy by pushing to your server: set up a bare Git repo with a post-receive hook so 'git push' builds and reloads your app.

How to Create a systemd Service for Your App
Turn any script or server into a managed service: a systemd unit file that starts on boot, restarts on crash, and logs to journald.
Deploy your first server in under a minute.
Creating an account is free and takes no card details. Every guide here runs on a Nxeon VPS or game server.