- docker pull oxidized/oxidized:latest
- docker run --name='oxidized' -itd -v /data/oxidized:/root/.config/oxidized -p 8888:8888/tcp -t oxidized/oxidized
- docker logs oxidized
提示No such file or directory @ rb_sysopen - /root/.config/oxidized/router.db
创建 router.db
touch 192.168.1.1:vrp:admin:admin
vim 192.168.1.1:vrp:admin:admin
192.168.1.1:vrp:admin:admin
- docker restart oxidized
- 进入容器中 docker exec -it oxidized bash
docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -v /usr/local/software:/data -it -d --name elk sebp/elk
https://packetpushers.net/install-oxidized-network-configuration-backup/
Install Ruby 2.3 from SCL:
yum install centos-release-scl
yum install rh-ruby23 rh-ruby23-ruby-devel
scl enable rh-ruby23 bash
The following additional packages will be required to build the dependencies:
yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++
Alternatively, install Ruby 2.3 by following the instructions at Installing Ruby 2.3 using RVM.
Finally, install oxidized via Rubygems:
gem install oxidized
gem install oxidized-script oxidized-web
output git
目录下git init