Intelligent Logging & Reporting
|
|
|
|
Development
 
Connect with iView

Facebook      Facebook

Twitter      Twitter    

SVN Development Environment


Cyberoam iView SVN Development Environment



Browse SVN




Extracting and Building

Ensure the following software is installed :

  1. Subversion Client
  2. Cygwin 1.5.25 with ELFIO,autoconf,automake,binutils,gcc,make,perl support in case of Windows environment
  3. Linux distribution with ELFIO,autoconf,automake,binutils,gcc,make,perl support in case of unix environment
  4. Cyberoam-iView
  5. Java 1.5.x (supported version)
  6. Ant 1.6 or higher
  7. Apache Tomcat 5.5
  8. PostgreSQL 8.4
1.    Get Cyberoam iView source in your local directory (For example /var/iview)

svn co https://cyberoam-iview.svn.sourceforge.net/svnroot/cyberoam-iview/cyberoam-iview /var/iview

Note: In case of Windows environment you need to get the source code in Cygwin shell. i.e. running cygwin.bat file from cygwin installation directory or from the windows start menu

2.    Cyberoam iView application contains two seperate modules. Both modules are compiled in seperate way.

    2.1    Cyberoam iView Syslog Server and Report generation engine (cd /var/iview/garner)

    • Step 1: Export postgres header and library path. This path can be found from installed postgres path.

      For example
      export ENV_PG_INC_PATH=/usr/include/pgsql
      export ENV_PG_LIB_PATH=/usr/lib/pgsql


    • Step 2: aclocal

    • Step 3: autoconf

    • Step 4: autoheader

    • Step 5: automake

    • Step 6: ./configure --prefix= --sysconfdir=/etc --no-create --no-recursion --enable-clockevent
      [Note: If you are compiling under windows then please add " --enable-cygwin" with above ./configure command ]

    • Step 7: make clean;make

    • Step 8: install.sh (Only if you already have installed iView)

    2.2    Building Cyberoam iView Web application (cd /var/iview/webapp)

    • Step 1: ant build

    • Step 2: ant deploy -Ddeploy.dir=[IVIEWHOME]/tocmat/webapps/ (Only if you already have installed iView)