• 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

转载于:https://www.cnblogs.com/joycezhou/p/11270365.html

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐