Plex Development
  • Introduction
  • Installation & Setup
    • Requirements
    • Windows Installation Guide
    • Linux Installation Guide
    • Bot Application Setup
    • Creating a MongoDB Cluster
    • Plex Tickets/Staff Dashboard
    • Setting Up a Reverse Proxy with Nginx
    • Setting Up a Reverse Proxy with Cloudflare Tunnels
  • Plex Tickets: Categories & Panels
  • Product Addons
    • Creating an addon
    • Addon Guidelines
  • Frequently Asked Questions
    • ⭐ Recommended Hosts
    • How to update
    • Common Issues
    • How to get channel/role/user ID
    • Using Custom Emojis
    • How to add multiple role ID's to config
    • Valid timezones
    • Keep Your Node.js Application Running 24/7
  • 🛒 PLEX STORE
    • Markdown Guide
    • Email System
    • How to update
    • API
    • Anti-piracy placeholders
  • LINKS
    • Website
    • Terms of Service
Powered by GitBook
On this page
  • Step 1: Log in to Your VPS
  • Step 2: Place Bot Files on the Server
  • Step 3: Navigate to the Bot Directory
  • Step 4: Install Node.js Modules
  • Step 5: Start the Bot

Was this helpful?

  1. Installation & Setup

Linux Installation Guide

Follow these steps to install and run the bot on your Linux server:

PreviousWindows Installation GuideNextBot Application Setup

Last updated 3 months ago

Was this helpful?

Step 1: Log in to Your VPS

  1. Log in to your VPS using your preferred SSH client or terminal software (e.g., PuTTY, MobaXterm, or any similar tool).


Step 2: Place Bot Files on the Server

  1. Ensure the bot files are uploaded to a directory of your choice on the server.


Step 3: Navigate to the Bot Directory

  1. Open a terminal on the server and navigate to the folder containing your bot files using the cd command:

    cd /path/to/your-bot-directory

Step 4: Install Node.js Modules

  1. Ensure all required Linux dependencies are installed.

    • For a list of required dependencies, refer to the .

  2. Install the Node.js modules required for the bot by running:

    npm install
    • This will install all necessary dependencies as listed in the package.json file.


Step 5: Start the Bot

  1. Run the bot with the following command:

    node index
  2. Check the terminal output to ensure the bot starts without errors.


Keeping the Bot Online 24/7

By following this guide, your bot should be up and running in no time. For additional help, feel free to reach out to our support team on Discord.

To keep the bot running continuously, you can use the screen command or the tmux command.

Linux Dependencies Guide
Click here for a detailed guide on using
screen or tmux.