Git Product home page Git Product logo

librenms-install-shell's Introduction

自動化安裝LibreNMS

LibreNMS是一套開源的網路裝置管理軟體,其分支於Observium,並且加入了社群版沒有的Alert功能。

本專案為自動化安裝LibreNMS Shell Script。

安裝準備:

安裝git
centos: yum install git -y
ubuntu: apt install git -y

安裝步驟:

Step 1:

git clone https://github.com/BensonRUEI/Librenms-Install-Shell.git

Step 2:

根據系統不同執行不同的Shell Script,並且建議使用root來進行安裝。

CentOS 7 以上

sh Librenms-Install-Shell/Centos7_install.sh

Ubuntu 16.04 以上

sh Librenms-Install-Shell/ubuntu_install.sh

Step 3:

開啟瀏覽器連至:http://YourIP/install.php ,根據內容進行相關設定(如DB Password、DB Name)。

Step 4:

將Step所顯示的config.php文件寫入至/opt/librenms/config.php

vim /opt/librenms/config.php

Step 5:

chown librenms:librenms /opt/librenms/config.php

Switch SNMP 設定教學

請自行修改IP與CommunityString

#CISCO
conf t
snmp-server community CommunityString
snmp-server enable trap 
snmp-server host IP version 2c CommunityString
end
write memory 


#Aruba
configure t
snmp-server community CommunityString
snmp-server enable trap 
snmp-server host IP version 2c CommunityString
exit
write memory

安裝教學影片

Ubuntu 18.04 install LibreNMS

CentOS 7 install LibreNMS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.