...
How to install corecontrol on debian vps
Learn how to install corecontrol on debian vps!

Here’s a detailed how-to guide to install CoreControl on Debian VPS.

What is CoreControl?

CoreControl is a web-based server management tool that gives you a GUI for handling Docker containers, server stats, logs, and other system utilitiesβ€”all from a browser.

βœ… Prerequisites

Before you begin, ensure you have the following:

Launch 100% ssd debian vps from $2. 49/mo!


Compare Debian VPS Plans

KVM-SSD-1
KVM-SSD-8
KVM-SSD-16
KVM-SSD-32
CPU
1 Core
2 Cores
4 Cores
8 Cores
Memory
1 GB
8 GB
16 GB
32 GB
Storage
16 GB NVMe
128 GB NVMe
256 GB NVMe
512 GB NVMe
Bandwidth
1 TB
4 TB
8 TB
16 TB
Network
1 Gbps
1 Gbps
1 Gbps
1 Gbps
Delivery Time
⏱️ Instant
⏱️ Instant
⏱️ Instant
⏱️ Instant
Location
US/EU/APAC
US/EU/APAC
US/EU/APAC
US/EU/APAC
Price
$7.58*
$39.50*
$79.40*
$151.22*
KVM-SSD-1
$7.58*
CPU 1 Core
Memory 1 GB
Storage 16 GB NVMe
Bandwidth 1 TB
Network 1 Gbps
Delivery Time ⏱️ Instant
Location US/EU/APAC
KVM-SSD-8
$39.50*
CPU 2 Cores
Memory 8 GB
Storage 128 GB NVMe
Bandwidth 4 TB
Network 1 Gbps
Delivery Time ⏱️ Instant
Location US/EU/APAC
KVM-SSD-16
$79.40*
CPU 4 Cores
Memory 16 GB
Storage 256 GB NVMe
Bandwidth 8 TB
Network 1 Gbps
Delivery Time ⏱️ Instant
Location US/EU/APAC
KVM-SSD-32
$151.22*
CPU 8 Cores
Memory 32 GB
Storage 512 GB NVMe
Bandwidth 16 TB
Network 1 Gbps
Delivery Time ⏱️ Instant
Location US/EU/APAC

How to Install CoreControl on Debian VPS

To install CoreControl on Debian VPS, follow the steps below:

  1. βš™οΈ Update Your System

    sudo apt update && sudo apt upgrade -y
    

    This ensures all your system packages are up to date.

  2. 🐳 Install Docker & Docker Compose

    1. Install Docker

      curl -fsSL https://get.docker.com -o get-docker.sh
      sudo sh get-docker.sh
      
    2. Add your user to the Docker group

      sudo usermod -aG docker $USER
      newgrp docker
      
    3. Install Docker Compose (plugin version)

      sudo apt install docker-compose-plugin -y
      

      Test Docker installation:

      docker version
      docker compose version
      
  3. πŸ“ Set Up Directory Structure

    Create a directory for CoreControl:

    mkdir -p ~/corecontrol
    cd ~/corecontrol
    
  4. 🧰 Create docker-compose.yml

    Create and open the file:

    nano docker-compose.yml
    

    Paste the following (replace ports, paths, or env vars as needed):

    services:
      web:
        image: haedlessdev/corecontrol:latest
        ports:
          - "3000:3000"
        environment:
          JWT_SECRET: RANDOM_SECRET # Replace with a secure random string
          DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres"
    
      agent:
        image: haedlessdev/corecontrol-agent:latest
        environment:
          DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres"
        depends_on:
          db:
            condition: service_healthy
    
      db:
        image: postgres:17
        restart: always
        environment:
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: postgres
        volumes:
          - postgres_data:/var/lib/postgresql/data
        healthcheck:
          test: ["CMD-SHELL", "pg_isready -U postgres"]
          interval: 2s
          timeout: 2s
          retries: 10
    
    volumes:
      postgres_data:
    

    ⚠️ Security Tip: Choose a strong admin password. You can also store it in a .env file and use ${CORECONTROL_ADMIN_PASS} in the docker-compose.yml.

  5. πŸš€ Start the CoreControl Container

    docker compose up -d
    

    Check logs:

    docker logs -f corecontrol
    

    You should see something like Listening on port 80.

  6. 🌐 Access CoreControl

    Open your browser and visit:

    http://localhost:3000
    

    Β 

    Corecontrol login screen
    Login with:

    • Username: admin@example.com
    • Password: admin

πŸ” Useful Docker Commands

  • Restart CoreControl: docker restart corecontrol
  • Stop CoreControl: docker stop corecontrol
  • Update image:
docker compose pull
docker compose up -d

Launch 100% ssd debian vps from $2. 49/mo!

Conclusion

You now know how to install CoreControl on Debian VPS.

Avatar of editorial staff

Editorial Staff

Rad Web Hosting is a leading provider of web hosting, Cloud VPS, and Dedicated Servers in Dallas, TX.
lg