Difference between revisions of "NOC Tower"

From UVOO Tech Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
# Single
 
# Single
 
- https://github.com/nocproject/noc-docker
 
- https://github.com/nocproject/noc-docker
 +
 +
## 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
 
## Install Docker

Latest revision as of 02:14, 5 April 2020

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

Multiple Hard but you get vrf help