NOC Tower
Jump to navigation
Jump to search
Single
Using LXD VM
lxc init ubuntu:18.04 noc --vm lxc config device add noc config disk source=cloud-init:config lxc config device override noc root size=100GB xc config set noc limits.memory 10GB lxc config set noc limits.cpu 4 lxc start noc lxc console noc
Install Docker
curl https://get.docker.com | sudo sh # systemctl start docker # systemctl enable docker sudo curl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
Install NOC-Docker
git clone https://code.getnoc.com/noc/noc-dc.git /opt/noc-dc cd /opt/noc-dc ./pre.sh -p all export DOCKER_CLIENT_TIMEOUT=200 docker-compose up --no-start docker-compose up migrate docker-compose up -d
If you need change default install path to other or other image run pre.sh with parameter -d or -t ./pre.sh -p all -d /opt/noc-dc -t stable