Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Before installing NetVizura make sure to set the time on your server correctly. Time change after the installation will invalidate the license!

NetVizura requires working connection to the internet to install required dependent software. After installation is successful you can turn off internet access for NetVizura server.

Info

Before installing NetVizura you will have to install: Oracle Java 1.8, Apache Tomcat 6 and PostgreSQL 9.3 or higher, in that order.

The installation process has been tested on CentOS 6.6.

NetVizura Installation Steps

To install NetVizura follow these steps:

Step 1: sudo and wget installation: yum -y install sudo wget

Step 2: Apache Tomcat 6 package installation:

  1. execute command yum install tomcat6
  2. add Tomcat service to system startup: chkconfig tomcat6 on

Step 3: PostgreSQL package installation:

  1. edit file /etc/yum.repos.d/CentOS-Base.repo 

    1. in section [base] add line "exclude=postgresql*"

    2. in section [updates] add line "exclude=postgresql*"

  2. go to http://yum.postgresql.org/ and choose stable PostgreSQL package in regard to your CentOS version and architecture.
    CentOS 6, 64 bit example: https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-centos95-9.5-2.noarch.rpm

  3. in the folder where the file is downloaded execute command yum -y localinstall pgdg-centos95-9.5-2.noarch.rpm

  4. execute command yum -y install postgresql95-server

  5. execute command service postgresql-9.5 initdb

  6. execute command service postgresql-9.5 start

  7. verify that PostgreSQL is running properly with the command service postgresql-9.5 status

  8. add PostgreSQL service to system startup: chkconfig postgresql-9.5 on


Step 4: Installing NetVizura package

After this steps, install the NetVizura package downloaded from the website with the command yum -y localinstall downloaded_file_name.rpm


Step 5: Verify installation

Excerpt Include
Linux CentOS (ISO) Installation
Linux CentOS (ISO) Installation
nopaneltrue


Post Install Steps

After installation tweaking of configuration files is required in order to utilize the installed RAM to the fullest extent. The main consumers of RAM are operating system, PostgreSQL database and Tomcat. General rule for distributing memory is to split it in ratio 2:1 between PostgreSQL and Tomcat with 1 GB or more reserved for operating system. 

For instance:

Installed RAMPostgreSQLTomcatOS
4 GB2 GB1 GB1 GB
16 GB10 GB5 GB1 GB

Tweaking PostgreSQL

Tweaking PostgreSQL for best performance is a topic on which many books were written, but the following are some common sense suggestions. For the curious ones recommended reads (among countless others) are PostgreSQL Optimization GuidePostgreSQL Tuning Guide, this article and this book.

In order to apply following tweaks edit file /var/lib/pgsql/PG_VERSION_NUMBER/data/postgresql.conf. You will need to restart the PostgreSQL service after done editing with command: service postgresql restart. Almost all of the following parameters are commented with carron character (#). Be aware that if you comment out the parameter that has been changed, PostgreSQL will revert to the default value.

Excerpt Include
Linux Debian Installation
Linux Debian Installation
nopaneltrue

Tomcat Memory Allocation 

During installation NetVizura automatically allocates memory for Tomcat process. The amount allocated to Tomcat process is calculated according to the formula:

(RAMtotal - 1GB) / 3 but no less than 1GB.

For instance:

Total RAMTomcat
3 GB1 GB
4 GB1 GB
16 GB5 GB

However, if you need to tweak Tomcat RAM allocation differently (the example for 2048MB):

  1. Edit file /etc/tomcat6/tomcat6.conf
  2. Locate JAVA_OPTS environment variable that defines memory This line looks something like the following:
    JAVA_OPTS="${JAVA_OPTS} -Xmx1024m -Xms1024m"
  3. Modify the -Xmx and -Xms to the same amount. This should look something like:
    JAVA_OPTS="${JAVA_OPTS} -Xmx2048M -Xms2048M"
  4. Save the file and restart Tomcat: service tomcat6 restart
Panel
bgColorGhostWhite
titleColorwhite
titleBGColorSteelBlue
titleOn this page:

Table of Contents
indent20px