Linux Troubleshooting Make Easy.

Linux Learning & Troubleshooting Make Easy.

Install OpenNMS on Linux

OpenNMS is an award winning network management application platform with a long track record of providing solutions for enterprises and carriers. OpenNMS can generate its own events or receive events from outside sources. There are a number of data collectors within OpenNMS, including support for the SNMP and JMX protocols.




Installation procedure of OpenNMS:
To get different versions of OpenNMS, Click here : yum.opennms.org

Get the OpenNMS Repo:
#  wget yum.opennms.org/repofiles/opennms-repo-stable-rhel5.noarch.rpm
#  rpm -ivh opennms-repo-stable-rhel5.noarch.rpm

Installing the PostgreSQL Database Server :
#  yum -y install postgresql-server
#  service postgresql start
#  chkconfig postgresql on

Configure PostgreSQL for OpenNMS, OpenNMS needs to be able to connect to PostgreSQL as the postgres user over a TCP/IP connection by default.

Need to edit your database's pg_hba.conf file:
#  vi /var/lib/pgsql/data/pg_hba.conf

Change the following parameters:
   # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

  # "local" is for Unix domain socket connections only
  local   all         all                               ident sameuser
  # IPv4 local connections:
  host    all         all         127.0.0.1/32          ident sameuser
  # IPv6 local connections:
  host    all         all         ::1/128               ident sameuser

With:
   local   all         all                                      trust
   host    all         all         127.0.0.1/32              trust
   host    all         all         ::1/128                   trust

Edit postgresql.conf to accept TCP/IP connections:
#  vi /var/lib/pgsql/data/postgresql.conf

   ## you can use "*" to listen on all addresses
   listen_addresses = 'localhost'

   max_connections = 60


#  service postgresql restart

Create the OpenNMS Database :
#  sudo -u postgres createdb -U postgres -E UNICODE opennms

Installing the JDK :
#  wget download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-i586.rpm
#  rpm -ivh jdk-7u2-linux-i586.rpm

Installing the OpenNMS packages :
#  yum install opennms

Installing IPLIKE on postgresql :
#  yum -y install iplike
#  /usr/sbin/install_iplike.sh

To ensure that it's correctly installed:
#  su - postgres -c "psql -U postgres -h localhost -d opennms -c '\df+ iplike' | head"

Output should be like following:
  List of functions
 Schema |  Name  | Result data type     | Argument data types | Volatility |  Owner 
--------+--------+------------------+---------------------+------------+------------+-----------
 public    | iplike     | boolean                 | text, text                   | volatile    | opennms


OpenNMS needs to know which Java JDK Installed:
#  su -c '/opt/opennms/bin/runjava -s'

To run the OpenNMS installer on a machine installed from YUM sources:
#  su -c '/opt/opennms/bin/install -dis'

Now you can start OpenNMS:
#  service opennms start
#  chkconfig opennms on

You can now connect using a web browser:

http://your-server-address:8980/opennms/
credentials: admin/admin login and password



18 comments:

Coach Factory said...

canada goose, instyler ionic styler, ugg boots, moncler, nfl jerseys, moncler, abercrombie and fitch, birkin bag, juicy couture outlet, marc jacobs, reebok outlet, moncler outlet, mac cosmetics, mcm handbags, juicy couture outlet, canada goose pas cher, celine handbags, babyliss pro, wedding dresses, north face outlet, canada goose outlet, soccer shoes, giuseppe zanotti, beats by dre, canada goose outlet, bottega veneta, chi flat iron, uggs on sale, asics shoes, north face jackets, moncler, canada goose outlet, herve leger, canada goose uk, soccer jerseys, moncler, ghd, new balance shoes, p90x3, jimmy choo shoes, mont blanc, ugg outlet, lululemon outlet, valentino shoes, ferragamo shoes, ugg, supra shoes, insanity, ugg boots, rolex watches

Coach Factory said...

hermes pas cher, lululemon, tn pas cher, hogan sito ufficiale, nike air max, longchamp, nike blazer, converse pas cher, michael kors, karen millen, roshe run, hollister, nike free, oakley pas cher, nike free pas cher, sac louis vuitton, ray ban pas cher, air force, nike roshe run, ray ban uk, air jordan, vanessa bruno, abercrombie and fitch, nike roshe, timberland, louboutin, longchamp soldes, michael kors, vans outlet, north face, nike huarache, ralph lauren pas cher, montre femme, longchamp, nike trainers, air max, burberry, louis vuitton uk, barbour, lacoste, louis vuitton, sac guess, ralph lauren, vans pas cher, sac louis vuitton, michael kors, mulberry, new balance pas cher, hollister, hollister

Coach Factory said...

michael kors outlet online, michael kors outlet store, air max, coach purses, oakley sunglasses cheap, louboutin, louis vuitton outlet online, oakley vault, louis vuitton outlet, prada outlet, louis vuitton outlet, kate spade handbags, coach outlet, michael kors outlet online, prada handbags, ray ban sunglasses, nike air max, polo ralph lauren outlet, louis vuitton handbags, michael kors outlet, burberry outlet online, longchamp handbags, gucci outlet, jordan shoes, nike shoes, longchamp handbags, nike free, coach outlet store online, ray ban outlet, louboutin outlet, polo ralph lauren outlet online, oakley sunglasses, coach outlet, kate spade outlet, coach factory outlet, chanel handbags, louis vuitton, michael kors outlet, tiffany and co, michael kors outlet online, burberry outlet online, louboutin shoes, tory burch outlet, longchamp outlet, christian louboutin shoes

Guo Guo said...

guowenhao20150313
oakley sunglasses
oakley sunglasses
hollister pas cher
true religion jeans
ray ban sunglasses
mont blanc
coach outlet
louis vuitton outlet
louis vuitton outlet
michael kors outlet online
cheap snapbacks
burberry handbags
kate spade handbags
burberry outlet
coach factory outlet
gucci outlet
herve leger dresses
ferragamo shoes
marc jacobs
coach outlet store online
oakley sunglasses
adidas shoes
kobe 9
timberland boots
herve leger
cheap nfl jerseys
cheap oakley sunglasses
converse shoes
mcm bags
tods outlet
pandora jewelry 
cheap nba jerseys
coach outlet store
louis vuitton handbags
coach outlet
instyler ionic styler
air jordan shoes
babyliss

Unknown said...

air max 90
nike roshe
air max 2015
the north face outlet
oakland raiders jerseys
beats headphones
the north face uk
minnesota vikings jerseys
surpa sneakers
the north face jackets
manchester united jersey
nike huarache
pittsburgh steelers jersey
mulberry uk
tory burch outlet online
ray ban sunglasses
coach outlet
los angeles lakers jerseys
dallas cowboys jersey
new york giants jerseys
tommy hilfiger outlet
cleveland cavaliers jersey
custom mlb jerseys
the north face clearance
tory burch outlet
ralph lauren uk
nike free uk
coach outlet canada
barcelona jersey
north face jackets
kate spade outlet
green bay packers jerseys
north face outlet
new york jets jerseys
san francisco 49ers jerseys
baltimore ravens jerseys
coach outlet
boston celtics jersey
cheap wedding dresses
mbt shoes
zhuweiming0622

Lili Wang said...

20150708wanglili
longchamp handbags
jordan 4
replica watches
abercrombie
abercrombie store
mont blanc
michael kors outlet
juicy couture
christian louboutin
lebron james shoes
timberland boots
celine
jordan 11 low
louis vuitton
toms shoes
sac longchamp
dior handbags
michael kors handbags
abercrombie store
tods shoes
nike air max
oakley sunglasses wholesale
coach factorty outlet
chanel handbags
true religion
jordan concords
football shoes
michael kors outlet
coach factory outlet
ray ban sunglasses
oakley sunglasses outlet
longchamp bags
oakley sunglasses
burberry outlet online
ray ban outlet

小 Gg said...

tiffany jewellery, http://www.tiffanyjewelleryoutlets.co.uk/
coach outlet online, http://www.coachoutletonline.in.net/
michael kors outlet, http://michaelkors.outletonlinestores.us.com/
chanel handbags, http://www.chanelhandbags-outlet.us.com/
fitflop, http://www.fitflop.in.net/
nike huarache, http://www.nike-airhuarache.co.uk/
mbt shoes, http://www.mbtshoesoutlet.us.com/
oakley sunglasses, http://www.oakley.in.net/
ralph lauren uk, http://www.ralphlaurenoutletuk.org.uk/
michael kors outlet, http://www.michaelkorsoutletusa.net/
thomas sabo uk, http://www.thomassabos.co.uk/
nike air force 1, http://www.airforce1.us.com/
christian louboutin, http://www.scarpelouboutin.it/
michael kors outlet, http://www.michaelkorsoutlets.uk/
basketball shoes, http://www.basketballshoes.us.com/
ghd hair straighteners, http://www.ghdhairstraightenerssale.co.uk/
coach outlet store, http://www.coach-outlet-store.us.com/
calvin klein underwear, http://www.calvinklein.in.net/
louis vuitton handbags, http://www.louisvuittonhandbags.org.uk/
air jordan 11, http://www.airjordan11.net/
louis vuitton handbags, http://www.louisvuittonhandbag.us/
nba jerseys, http://www.nbajerseys.us.com/
kkkkkk0925

Pnane Weg said...

1 hermes belt
jordan retro 11
canada goose coats on sale
vans outlet
hermes birkin bag
kate spade
michael kors bags sale
rolex watches for men
dior handbags
converse outlet
under armour clearance
gucci handbags
gucci outlet
wholesale nike
lebron james basketball shoes
coach wallets
kobe shoes
cheap michael kors handbags
louboutin outlet
coach purses
new jordans
hermes bags
abercrombie and fitch coupons
polo ralph lauren factory store
fendi outlet
nike shoes wholesale
kobe bryant shoes 2015
coach outlet store
clarks shoes clearance
polo shirts
cheap salomon shoes
north face jackets
columbia clothing outlet
juicy couture handbags
abercrombie
ralph lauren outlet online
1022 wjl

Pnane Weg said...

cheap michael kors handbags
gucci belts
ralph lauren outlet
chanel handbags
air jordan 6
supras
oakley sunglasses outlet
new jordan
hollister clothing store online
cheap gucci belts
wholesale jordans
michael kors outlet online
coach clearance
north face jackets for women
converse outlet
air jordan 6
jordan 12
ralph lauren polo shirts
cheap gucci shoes
cheap nike air max
nike outlet store online
michael jordan shoes
oakley outlet
michael kors factory outlet
fitflops sandals for women
boys north face jackets
jordans for girls
celine outlet
coach bags sale
mont blanc pens
gucci handbags
air jordan 11
coach purses
nike high heels
new balance outlet
girls jordans
1022 wjl

Wenhao Guo said...

cyber monday 2015
michael kors outlet clearance
ray ban sunglasses
louis vuitton outlet
michael kors outlet
snow boots
tiffany outlet
the north face uk
adidas outlet store
nike huarache
coach outlet
wedding dresses
nba jerseys
michael kors factory outlet
prada shoes
coach outlet canada
christian louboutin online
true religion jeans
ugg boots
michael kors factory outlet
michael kors handbags clearance
mulberry outlet
oakley sunglasses
hermes belt
true religion jeans
cheng1111

Wenhao Guo said...

cyber monday 2015
michael kors outlet clearance
ray ban sunglasses
louis vuitton outlet
michael kors outlet
snow boots
tiffany outlet
the north face uk
adidas outlet store
nike huarache
coach outlet
wedding dresses
nba jerseys
michael kors factory outlet
prada shoes
coach outlet canada
christian louboutin online
true religion jeans
ugg boots
michael kors factory outlet
michael kors handbags clearance
mulberry outlet
oakley sunglasses
hermes belt
true religion jeans
cheng1111

ninest123 Ninest said...

ninest123 11.26
michael kors handbags, burberry factory outlet, longchamp bags, replica watches, louboutin uk, michael kors outlet, uggs outlet, prada handbags, louis vuitton outlet online, cheap oakley sunglasses, ralph lauren outlet, louis vuitton outlet, cheap jordans, louboutin shoes, louis vuitton, gucci handbags, ralph lauren polo, oakley sunglasses, oakley sunglasses, oakley sunglasses, longchamp outlet, ray ban sunglasses, longchamp outlet, nike outlet, ray ban sunglasses, christian louboutin, uggs outlet, prada outlet, nike free, michael kors outlet online, nike air max, ray ban sunglasses, uggs on sale, christian louboutin, nike air max, replica watches, michael kors outlet online, burberry outlet, uggs on sale, tiffany jewelry, louis vuitton handbags, oakley sunglasses, tiffany jewelry, uggs on sale, tory burch outlet, michael kors, louis vuitton outlet, michael kors outlet online

ninest123 Ninest said...

longchamp pas cher, timberland pas cher, polo ralph lauren uk, nike trainers uk, true religion outlet, hermes pas cher, nike roshe run pas cher, nike tn pas cher, michael kors, nike air max pas cher, michael kors uk, abercrombie and fitch UK, north face uk, north face pas cher, mulberry uk, vanessa bruno pas cher, michael kors, lunette ray ban pas cher, sac guess pas cher, longchamp soldes, nike air max uk, coach purses, louboutin pas cher, coach outlet store online, abercrombie and fitch, ralph lauren pas cher, true religion outlet, vans pas cher, hollister uk, nike free pas cher, true religion outlet, nike free, nike air max uk, ray ban uk, jordan pas cher, polo lacoste pas cher, nike blazer pas cher, hogan sito ufficiale, true religion jeans, lunette oakley pas cher, lululemon outlet, nike roshe uk, nike air max, new balance, converse, burberry pas cher, coach outlet, michael kors outlet online, nike air force

ninest123 Ninest said...

iphone 6s cases, mac cosmetics, north face outlet, oakley, vans scarpe, nike air max, hermes handbags, softball bats, ipad cases, s6 cases, louboutin, nike roshe run, gucci, vans outlet, abercrombie and fitch, celine handbags, mont blanc, valentino shoes, iphone 5s cases, ray ban, giuseppe zanotti, lululemon outlet, beats by dre, nfl jerseys, mcm handbags, bottega veneta, nike air max, iphone 6 cases, chi flat iron, insanity workout, iphone cases, converse, asics running shoes, instyler ionic styler, reebok outlet, babyliss pro, hollister clothing, north face outlet, polo ralph lauren, soccer shoes, wedding dresses, salvatore ferragamo, iphone 6 plus cases, new balance shoes, herve leger, iphone 6s plus cases, p90x workout, ghd hair, hollister, timberland boots, jimmy choo outlet, soccer jerseys

ninest123 Ninest said...

louis vuitton, pandora jewelry, moncler, pandora uk, canada goose, canada goose pas cher, barbour jackets uk, moncler, canada goose outlet, hollister, louis vuitton, moncler jackets, replica watches, toms shoes, uggs outlet, moncler, canada goose outlet, ugg pas cher, canada goose uk, lancel, ugg uk, juicy couture outlet, bottes ugg pas cher, converse shoes outlet, thomas sabo uk, karen millen uk, wedding dresses uk, sac louis vuitton, pandora charms, supra shoes, pandora jewelry, barbour, moncler pas cher, coach outlet, moncler outlet, marc jacobs, louis vuitton uk, ugg,uggs,uggs canada, swarovski jewelry, canada goose jackets, canada goose, sac louis vuitton, doke & gabbana, moncler, ugg,ugg australia,ugg italia, montre pas cher, canada goose jackets, swarovski uk, juicy couture outlet, links of london uk, moncler uk
ninest123 11.26

chenlina said...

chenlina20151219
louis vuitton outlet
michael kors bag
canada goose outlet
ugg boots
ugg boots outlet
michael kors outlet
ugg boots
canada goose jackets
michaek kors outlet
cheap ugg boots
canada goose outlet
polo ralph lauren
uggs on sale
michael kors outlet online
the north face outlet
louis vuitton outlet
cheap air max
abercrombie and fitch
canada goose outlet
ray ban sunglasses
tory burch outlet
jordan 11
uggs boots for women
oakley sunglasses
coach outlet
louis vuitton handbags
timberland outlet
ray ban sunglasses outlet
ray ban sunglasses outlet
abercrombie kids
canada goose outlet online
coach outlet store online
coach outlet
michael kors outlet
ugg boots
uggs outlet
canada goose jackets
hollister co
abercrombie & fitch
ugg boots
as

艾丰 said...

jianbin0324
nike air max
swarovski outlet
ray-ban sunglasses
michael kors outlet online
jordan shoes
michael kors canada
michael kors handbags
lebron shoes
mbt shoes
air jordan 4
mlb jerseys
links of london
mcm backpack
pandora outlet
louis vuitton handbags
prada handbags
cheap nfl jersey
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
abercrombie and fitch
hermes birkin bag
cheap nike shoes
louis vuitton outlet store
michael kors outlet
michael kors handbags
louis vuitton outlet
michael kors factory outlet
hermes belt for sale
true religion jeans
mulberry outlet store
adidas outlet store
michael kors handbags
coach outlet store
air jordan shoes for sale
mac cosmetics
hermes outlet
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
nike foamposite
nfl jerseys wholesale
lebron shoes

Xiaozhengm 520 said...

2016-4-7 xiaozhengm
asics shoes
coach outlet
hollister clothing
christian louboutin outlet
true religion jeans
louis vuitton bags
christian louboutin shoes
toms shoes
hollister
ray ban sunglasses
jordan shoes
jordan retro 3
rolex watches
oakley outlet
ralph lauren outlet
gucci bags
celine handbags
michael kors uk
jordan 4 toro
tory burch handbags
louis vuitton handbags
toms shoes
michael kors outlet
nike air max
ray ban
hollister clothing
timberland boots
jordan concords
louis vuitton
cheap oakleys
louis vuitton handbags
coach outlet
true religion
cartier watches
oakley sunglasses
ray ban outlet
coach outlet online
michael kors handbags
ugg boots
coach outlet