PreCache NetInjector Documentation Center : PreCache NetInjector Administration

Welcome to PreCache NetInjector

   







Getting started

— installing the package


You package includes two administrative installations: NetInjector software and the NetInjector Management Console software.

In this section, will describe the steps to install these applications. We also document a procedure for creating public keys for OpenSSH.

System requirements

RedHat Linux v8.0 or above

Java Runtime Engine 1.4 or above

OpenSSH v3.4 or above

NetInjector Installation

  1. As root user, verify IP configuration.
  2. Create group and user entries for netinj, e.g.:
  3. groupadd -g 500 netinj
    useradd -u 500 -g netinj -d /home/netinj netinj
  4. Mount the CD-ROM.
  5. mount /mnt/cdrom
  6. Untar the tar file from the CD into the netinj home directory:
  7. cd ~netinj
    tar xzvf /mnt/cdrom/router_*.tar.gz
  8. If auto start from boot is required, add at the end of
    /etc/rc.local :
  9. sudo su - netinj /home/netinj/bin/start_router
    Note: sudo must be installed to auto start from boot.

Management Console installation

The NetInjector Management Console may be installed and executed remotely from any Linux workstation with proper JRE installed.

  1. Untar the file admin_*.tar.gz from CD.
  2. Store jnmsgui.jar and netinj_gui.ini locally.
  3. Run jnmsgui.jar to start the Management Console.

OpenSSH

The Management Console protects access to remote routers by using SSH. Install an ssh client on the Management Console's host and ssh server on all remote routers.

To avoid entering a password or passphrase when accessing a remote router, you may want to select the public-key scheme for SSH access.

To create a public-key under OpenSSH:

  1. On all remote routers, create .ssh directory with attribute 700:
  2. mkdir /home/netinj/.ssh; chmod 700 /home/netinj/.ssh
  3. For the Management Console's host, generate the two id files id_rsa and id_rsa.pub under /home/netinj/.ssh:
  4. ssh-keygen -t rsa
    Leave the passphrase empty to avoid the need to enter a passphrase.
  5. For all remote routers, copy the content of id_rsa.pub into the file:
  6. /home/netinj/.ssh/authorized_keys