Skip to content

Releases: OCSInventory-NG/Packager-for-Unix

Unix Packager 1.1

06 Apr 16:19
13d985a
Compare
Choose a tag to compare

OCS Inventory Team is proud to announce that the version 1.1 of the Unix Packager is released.

Unix Packager 1.0

21 Nov 14:21
Compare
Choose a tag to compare

OCS Agent Unix Packager

Banner

OCS Agent Standalone Unix Packager

Some Links:
Ask question | Website | OCS Professional

Description

The aim of this script is to create a all in one package to be deployed on every Linux machine.
The package embeds compiled Perl for the related OS, OCS Agent perl package, and all required perl modules.

  • packageOCSAgent.config: packager configuration
    • PROXY_HOST if you have direct Internet connection
    • OCS_INSTALL_DIR: OCS Agent installation directory
    • PERL_VERSION: Perl version you want to compile and embed in OCS package
    • PERL_DL_LINK: Perl download link
    • OCSAGENT_DL_LINK: OCS Agent download link
    • NMAP_DL_LINK: Nmap download link
    • OCS_AGENT_CRONTAB: [0-1] Create script to add crontab on system
    • OCS_AGENT_CRONTAB_HOUR: How many hour between each crontab call
    • OCS_AGENT_LAZY: [0-1] Activate lazy mode on Agent
    • OCS_AGENT_TAG: Set default tag
    • OCS_SERVER_URL: Set server URL
    • OCS_SSL_ENABLED: [0-1] Enable SSL check
    • OCS_SSL_CERTIFICATE_FULL_PATH: Path to the certificate
    • OCS_LOG_FILE: [0-1] Enable file logging feature
    • OCS_LOG_FILE_PATH: Set the log path file
  • PerlModulesDownloadList.txt: download URL for all Perl modules dependencies
  • packageOCSAgent.sh: packager script

Usage

As root user

#./packageOCSAgent.sh

Output is a tar/gz archive: ocsinventory-agent_LinuxDistribution_MajorVersion.tar.gz