Ad Widget

Collapse

Zabbix Installation on a NO internet RHEL server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JohanLandman
    Junior Member
    • Feb 2020
    • 1

    #1

    Zabbix Installation on a NO internet RHEL server

    Good Day,
    I would like to install Zabbix on a server which does not have access to the internet.
    I cannot get access to the internet at all. If I want to install something,
    I have to download it into my browser, scp it to the server and then install.
    This is a Redhat 7 server.

    Can I please get some assistance and instructions on how to accomplish this?

    Regards
    Johan
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    The process isn't any different than installing other software on RHEL, it's just that yum won't be able to automatically fill in all the dependencies for a package, so you'll have to download those manually and 'yum install' them, until all the necessary dependency packages are present.

    Start by going to the Zabbix download link

    In the "Choose your platform" area, choose "Red Hat Enterprise Linux", choose "7" for OS Version. The URL below that area will update when you've selected RHEL 7.

    Copy the part of the URL up to and including x86_64/ to your browser, it will probably look something like: https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/

    Browse that directory with your browser. You need to download a few packages:
    1. Either zabbix-server-mysql-4.4.5-2.el7.x86_64.rpm OR zabbix-server-pgsql-4.4.5-2.el7.x86_64.rpm , depending on which database you want to use
    2. Either zabbix-web-mysql-4.4.5-2.el7.noarch.rpm OR zabbix-web-pgsql-4.4.5-2.el7.noarch.rpm , again depending on which database backend you will use
    3. zabbix-sender-4.4.5-2.el7.x86_64.rpm
    4. zabbix-get-4.4.5-2.el7.x86_64.rpm
    5. zabbix-js-4.4.5-2.el7.x86_64.rpm
    6. zabbix-agent-4.4.5-2.el7.x86_64.rpm
    You may also need to download zabbix-web-4.4.5-2.el7.noarch.rpm . I'm not sure on that one, as we don't use the provided packages (we build our own from the source code). Probably safest to have it downloaded, but don't copy it to the server until you see a message that it's required, later in the process.

    If your environment needs to do Java-based monitoring via JMX, you also need to download zabbix-java-gateway-4.4.5-2.el7.x86_64.rpm

    If your environment will use Zabbix proxies, you'll need to download whichever type of proxy you want to use.

    Copy all the RPMs from items 1 through 6 to your server and type

    sudo yum install zabbix-server-*.rpm zabbix-web-*.rpm zabbix-sender-*.rpm zabbix-get-*.rpm zabbix-js-*.rpm zabbix-agent-*.rpm

    Watch for complaints from yum about dependency packages that are missing, for example 'mariadb-libs' (if you chose the mysql server and web packages) or php.

    Anything that's missing that's a package that comes from RHEL, you'll need to download from wherever you get individual RHEL packages (e.g. access.redhat.com , or your local Satellite server if you have Satellite). Download those packages, copy to the server, use 'yum install' with the RPM package names, and repeat as you find additional dependencies that are missing.

    Comment

    Working...