GroundWork Developer's Kit Installation

From GroundWork Developer Kit

Jump to: navigation, search

Contents

[edit] Installing the GroundWork Developer's Kit (GDK)

NOTE: Refer to GroundWork Developer's Kit (GDK) for information on pre-requisites.

xxxx
chmod +x groundworkgdk-6.0-<operating_system>.bin
./groundworkgdk-6.0-<operating_system>.bin


Installing the GDK

At installation, the GDK Installer automatically installs and configures the following:

  1. GroundWork Monitor Run Time
  2. GroundWork Developer's Kit (GDK)
  3. user nagios under:
/usr/local/groundwork/user/nagios

Directories created in usr/local/groundwork after running the GDK Installer

[edit] GDK Directory

The GDK Installer installs the GDK in:

/usr/local/groundwork/gdk


In the figure below, the GDK directory is indicated with a red dot.
Directories created in usr/local/groundwork after running the GDK Installer

[edit] Sub-Directories and Configuration Files

The GDK Installer creates the following gdk sub-directories and Eclipse configuration files (.metadata, .classpath, .project):

[edit] User nagios

The GDK Installer creates and configures the user nagios.

After running the GDK Installer, you must change the nagios password. To change the password to 'nagios', follow these commands:

  1. su
  2. Password: <<enter the superuser password>>
  3. passwd nagios
  4. New password: nagios
  5. Reenter New Password: nagios

Commands to change user nagios password

[edit] User nagios Shell Configuration

The user nagios shell configuration is located in the users/nagios directory:

/usr/local/groundwork/users/nagios/.bashrc

[edit] Development Directory

The GDK Installer creates the monitor-portal/applications directory:

/usr/local/groundwork/gdk/monitor-portal/applications

The GDK Installer installs the following in the monitor-portal/applications directory:

Use the monitor-portal/applications when developing custom portlets or other objects. For example, when developing a custom portlet in PHP, use the sample-php directory located within the gdk/monitor-portal/applications directory:

/usr/local/groundwork/gdk/monitor-portal/applications/sample-php


In the figure below, the monitor-portal directory is indicated with a red dot and the sample-php directory is indicated with a yellow dot.
monitor-portal and sample-php directories

[edit] Eclipse

The GDK installs Eclipse under the gdk/tools directory:

/usr/local/groundwork/gdk/tools/eclipse

Eclipse configuration and ICEfaces jar files are located in the users/nagios directory:


In the figure below, the eclipse directory is indicated with a green dot.
eclipse directory

[edit] Maven

The repository of all Maven jar files is found under the nagios home directory:

/usr/local/groundwork/users/nagios/.maven/repository
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox