Difference between revisions of "NOC Tower"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
- https://github.com/nocproject/noc-docker
 
- https://github.com/nocproject/noc-docker
  
# Multiple
+
## 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
 +
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
 
- https://code.getnoc.com/noc/tower/blob/master/Readme.md
 
- https://code.getnoc.com/noc/tower/blob/master/Readme.md
 
- https://code.getnoc.com/noc/tower/-/blob/master/docs/Ubuntu.md
 
- https://code.getnoc.com/noc/tower/-/blob/master/docs/Ubuntu.md
 
- https://code.getnoc.com/noc/tower/-/blob/master/contrib/systemd/noc-tower.service
 
- https://code.getnoc.com/noc/tower/-/blob/master/contrib/systemd/noc-tower.service

Revision as of 23:30, 4 April 2020

Single

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
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