Run MeshCentral - Remote Management Site - in Docker @i12bretro
Run MeshCentral - Remote Management Site - in Docker  @i12bretro
Uploaded September 2024 | Updated November 2026, 3 hours ago
#MeshCentral #HomeLab #Docker

Full steps can be found at i12bretro.github.io/tutorials/0963.html

--------------------------------------------------------------------
What is MeshCentral?
--------------------------------------------------------------------
MeshCentral is a full computer management web site. With MeshCentral, you can run your own web server to remotely manage and control computers on a local network or anywhere on the internet. - github.com/Ylianst/MeshCentral
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux based device
   02. Run the following commands in the terminal
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates git curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running MeshCentral
--------------------------------------------------------------------
   01. Now that Docker is installed, run the following commands to setup the MeshCentral Docker container and run it
         # create working directories
         mkdir ~/docker/meshcentral/{data,user_files} -p && mkdir ~/docker/mongodb -p
         # set owner of working directories
         sudo chown "$USER":"$USER" ~/docker -R
         # create docker network
         docker network create containers
         # run mongodb container
         docker run -d --name=mongodb --network containers -v ~/docker/mongodb:/data/db --restart=unless-stopped mongo
         # run meshcentral container
         # update the HOSTNAME variable
         docker run -d --name=meshcentral --network containers -p 8086:443 -e HOSTNAME=ubuntuserver.local -e REVERSE_PROXY=false -e IFRAME=false -e ALLOW_NEW_ACCOUNTS=false -e WEBRTC=false -e NODE_ENV=production -v ~/docker/meshcentral/data:/opt/meshcentral/meshcentral-data -v ~/docker/meshcentral/user_files:/opt/meshcentral/meshcentral-files --restart=unless-stopped typhonragewind/meshcentral:mongodb-latest
         # update the config file
         sed -Ei 's/("NewAccounts": "false",)/"NewAccounts": "false",\n\t"allowedOrigin": true,/' ~/docker/meshcentral/data/config.json
         # restart the container
         docker restart meshcentral
   02. Open a web browser and navigate to https://DNSorIP:8086
   03. Accept the certificate warning
   04. Click the link to create an account
   05. Complete the form by entering an username, email and password ≫ Click Create Account
   06. Welcome to MeshCentral running in Docker
 
Source:  github.com/Typhonragewind/meshcentral-docker
 


### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
Run MeshCentral - Remote Management Site - in DockerInstall Pi-Hole on Windows 11 Via WSLInstall Observium on Debian/UbuntuInstall Odoo - Open Source Business Application Suite - on LinuxMonitor Websites, Servers and Other Network Service Uptime with PHP Server MonitorRunning Shinobi CCTV in DockerRunning Homepage Application Dashboard on WindowsRunning an Amazon Linux (AL2) VM in ProxmoxInstall Group Office Collaboration Suite on LinuxRunning a Debian 12 Bookworm VM in Proxmox VERunning Homer Application Dashboard in DockerSetup GoAccess Web Log Analyzer on Linux
i12bretro |

Run MeshCentral - Remote Management Site - in Docker

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER