How to Install MeshCentral on Debian Latest

In this tutorial, we will guide you through the steps to install MeshCentral on Debian. MeshCentral is a web-based open-source remote computer management tool that lets you manage your devices from anywhere in the world.

Prerequisites

Step 1: Updating the System

Before installing any new packages, it is essential to update the system to the latest version. Run the following commands:

sudo apt update
sudo apt upgrade

Step 2: Installing Required Packages

MeshCentral requires Node.js to be installed on the system. Run the following command to install Node.js:

sudo apt install nodejs

Step 3: Downloading and Installing MeshCentral

  1. Download the MeshCentral package by running the following command:

    wget https://github.com/Ylianst/MeshCentral/releases/download/v0.4.7/meshcentral-v0.4.7.zip
    
  2. Unzip the package by running the following command:

    sudo apt install unzip
    unzip meshcentral-v0.4.7.zip
    
  3. Change to the MeshCentral directory and install the required dependencies by running the following command:

    cd meshcentral
    npm ci
    

Step 4: Configuring MeshCentral

  1. Create a configuration file by running the following command:

    nano config.json
    
  2. Paste the following configuration into the file and save it:

    {
      "webport": 8080,
      "uname": "<username>",
      "pname": "<password>",
      "meshname": "MeshCentral",
      "licence": "trial",
      "hidesettings": ["LogLocation"],
      "showtabs": [
        "overview",
        "devices",
        "users",
        "myprofile",
        "security",
        "settings"
      ],
      "dbconfig": {
        "protocol": "<protocol>",
        "host": "<host>",
        "port": "<port>",
        "dbname": "<dbname>",
        "username": "<dbusername>",
        "password": "<dbpassword>"
      }
    }
    

    Replace <username> and <password> with your desired username and password for MeshCentral. Replace <protocol>, <host>, <port>, <dbname>, <dbusername>, and <dbpassword> with your respective database configuration.

  3. Start the MeshCentral server by running the following command:

    node meshcentral
    

Step 5: Accessing MeshCentral

  1. Open your web browser and navigate to http://<server-ip>:8080.
  2. Enter your MeshCentral username and password to log in.
  3. You should now be able to access and manage your devices from MeshCentral.

Congratulations! You have installed MeshCentral on Debian Latest.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!