1. Installing NOC.

Look for NOC overlay in: https://bugs.gentoo.org/show_bug.cgi?id=366051
Install resent NOC overlay.

Chose ebuild: stable release noc-15.05.ebuild or from repository noc-9999.ebuild.

If you choice installation from repository (noc-9999.ebuild) you need add
 net-analyzer/noc **
to your keywords file, general in /etc/portage/package.keywords

Now you are ready to run:
 # emerge -a net-analyzer/noc
after installation complete, start mongo and postgres:
 # /etc/init.d/mongodb start
 # /etc/init.d/postgresql-9.4 start
Take a look in /opt/noc/etc/upgrade.conf
Then configuring NOC by running:
 # emerge --config net-analyzer/noc
You will be prompted for device (eth0 ?) and password for administrative account.

Now you can start NOC:
 # /etc/init.d/noc start

Go in you web browser to 'https://127.0.0.1' accept certificate and enable java scripts.
You may edit web server configuration file for listening other interface...

Add one or more Managed Object (Service Activation > Managed Objects)
You will get your network database initialized and device configuration grabbed in 5-15 minutes.




2. Upgrading NOC.

Install resent NOC overlay from https://bugs.gentoo.org/show_bug.cgi?id=366051

For NOC update:
 # /etc/init.d/noc stop
 # emerge -a net-analyzer/noc
Also remember after every NOC updates run as root:
 # cd /opt/noc
 # ./scripts/upgrade
If every think is OK start NOC:
 # /etc/init.d/noc start




3. Upgrading NOC from repository with out new ebuild.

Alternatively if you install NOC using noc-9999.ebuild you can update:
 # /etc/init.d/noc stop
 # cd /opt/noc
 # hg pull -u
 # ./scripts/upgrade
 # /etc/init.d/noc start