Ad Widget

Collapse

How to install zabbix 5.0 with no internet (Offline installation) URGENT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rash92
    Junior Member
    • Jul 2020
    • 25

    #1

    How to install zabbix 5.0 with no internet (Offline installation) URGENT

    Hello everyone , I need to install zabbix 5.0 on centos7 with postgresql 11 with no access to internet , that means that i need to do an offline installation! Im a begginer and it's urgent .

    Could somone help me please ?
  • Gutsycat
    Member
    • Nov 2017
    • 72

    #2
    Anyway you need to download packages from official repo
    1. https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/
    2. https://repo.zabbix.com/zabbix/5.0/r...6_64/frontend/
    Also you need other rpms by dependencies.
    next try to install this stuff by

    rpm -iv zabbix-web-pgsql-scl-5.0.3-1.el7.noarch.rpm

    look for dependencies and download other packages.

    And PostgreSQL from here:



    p.s this is a bit challenging.
    Last edited by Gutsycat; 27-08-2020, 13:53.

    Comment


    • Rash92
      Rash92 commented
      Editing a comment
      Thank you very much , I will try it and provide you a feedback
  • propusgemini@gmail.com
    Senior Member
    • Mar 2018
    • 108

    #3
    Hi it's worked?
    I need install without Postgres but with mariaDB how to please

    Comment


    • Rash92
      Rash92 commented
      Editing a comment
      Hello , yeah it worked for me but i used another method , so first of all you need to download the rpm files , if you are using CentOS , create a folder and use the command below :
      (Creating a folder where you are going to download rpms for MariaDB) on a Online Server

      # mkdir /opt/MARIADB
      # yum install --downloadonly --downloaddir=/opt/MARIADB MARIADB
      You will find the rpm's in the folderMARIADB

      then do the same for Zabbix
      #mkdir /opt/zabbix
      #yum install --downloadonly --downloaddir=/opt/zabbix zabbix
      You will find zabbix's Rpms in Zabbix folder

      Then you should transfer those rpms to your Offline server , and you can install it by using the command below :
      #cd /opt/zabbix
      #rpm -ivh *.rpm

      #cd /opt/MARIADB
      #rpm -ivh *.rpm

    • Rash92
      Rash92 commented
      Editing a comment
      Hello , yeah it worked for me but i used another method , so first of all you need to download the rpm files , if you are using CentOS , create a folder and use the command below :
      (Creating a folder where you are going to download rpms for MariaDB) on a Online Server

      # mkdir /opt/MARIADB
      # yum install --downloadonly --downloaddir=/opt/MARIADB MARIADB
      You will find the rpm's in the folderMARIADB

      then do the same for Zabbix
      #mkdir /opt/zabbix
      #yum install --downloadonly --downloaddir=/opt/zabbix zabbix
      You will find zabbix's Rpms in Zabbix folder

      Then you should transfer those rpms to your Offline server , and you can install it by using the command below :
      #cd /opt/zabbix
      #rpm -ivh *.rpm

      #cd /opt/MARIADB
      #rpm -ivh *.rpm
  • propusgemini@gmail.com
    Senior Member
    • Mar 2018
    • 108

    #4
    Hi Rash in



    yum install --downloadonly --downloaddir=/opt/zabbix zabbix
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    No package zabbix available.
    Error: Nothing to do




    i'll try with antoher command

    [root@localhost zabbix]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_ 64/zabbix-release-5.0-1.el7.noarch.rpm
    Retrieving https://repo.zabbix.com/zabbix/5.0/r...-release-5.0-1 .el7.noarch.rpm
    warning: /var/tmp/rpm-tmp.zSN5nk: Header V4 RSA/SHA512 Signature, key ID a14fe59 1: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:zabbix-release-5.0-1.el7 ################################# [100%]

    [root@localhost zabbix]# yum install --downloadonly --downloaddir=/opt/zabbix za bbix
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    zabbix | 2.9 kB 00:00
    zabbix-non-supported | 951 B 00:00
    zabbix/x86_64/primary_db | 109 kB 00:00
    zabbix-non-supported/x86_64/primary | 1.6 kB 00:00
    zabbix-non-supported 4/4
    No package zabbix available.
    Error: Nothing to do


    Last edited by [email protected]; 04-05-2021, 10:05.

    Comment


    • Rash92
      Rash92 commented
      Editing a comment
      Hello , try with the command
      #yum install --downloadonly --downloaddir=/opt/zabbix zabbix-web-mysql-scl zabbix-apache-conf-scl zabbix-server-mysql zabbix-agentr
  • propusgemini@gmail.com
    Senior Member
    • Mar 2018
    • 108

    #5

    Ok execute but


    yum install --downloadonly --downloaddir=/opt/zabbix zabbix-web-mysql-scl zabbix-apache-conf-scl zabbix-server-mysql zabbix-agent
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-agent.x86_64 0:5.0.11-1.el7 will be installed
    ---> Package zabbix-apache-conf-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: zabbix-web-deps-scl = 5.0.11-1.el7 for package: zabbix-apache-conf-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: httpd for package: zabbix-apache-conf-scl-5.0.11-1.el7.noarch
    ---> Package zabbix-server-mysql.x86_64 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: fping for package: zabbix-server-mysql-5.0.11-1.el7.x86_64
    --> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-5.0.11-1.el7.x86_64
    --> Processing Dependency: libOpenIPMIposix.so.0()(64bit) for package: zabbix-server-mysql-5.0.11-1.el7.x86_64
    --> Processing Dependency: libevent-2.0.so.5()(64bit) for package: zabbix-server-mysql-5.0.11-1.el7.x86_64
    --> Processing Dependency: libOpenIPMI.so.0()(64bit) for package: zabbix-server-mysql-5.0.11-1.el7.x86_64
    --> Processing Dependency: libodbc.so.2()(64bit) for package: zabbix-server-mysql-5.0.11-1.el7.x86_64
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: zabbix-web = 5.0.11-1.el7 for package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch
    --> Running transaction check
    ---> Package OpenIPMI-libs.x86_64 0:2.0.27-1.el7 will be installed
    --> Processing Dependency: OpenIPMI-modalias = 2.0.27-1.el7 for package: OpenIPMI-libs-2.0.27-1.el7.x86_64
    ---> Package fping.x86_64 0:3.10-1.el7 will be installed
    ---> Package httpd.x86_64 0:2.4.6-97.el7_9 will be installed
    --> Processing Dependency: httpd-tools = 2.4.6-97.el7_9 for package: httpd-2.4.6-97.el7_9.x86_64
    --> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-97.el7_9.x86_64
    --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-97.el7_9.x86_64
    --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-97.el7_9.x86_64
    ---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
    ---> Package net-snmp-libs.x86_64 1:5.7.2-49.el7_9.1 will be installed
    ---> Package unixODBC.x86_64 0:2.3.1-14.el7 will be installed
    ---> Package zabbix-web.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: dejavu-sans-fonts for package: zabbix-web-5.0.11-1.el7.noarch
    ---> Package zabbix-web-deps-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mbstring for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-xml for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72 for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-ldap for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-fpm for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-bcmath for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-gd for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch
    --> Running transaction check
    ---> Package OpenIPMI-modalias.x86_64 0:2.0.27-1.el7 will be installed
    --> Processing Dependency: OpenIPMI for package: OpenIPMI-modalias-2.0.27-1.el7.x86_64
    ---> Package apr.x86_64 0:1.4.8-7.el7 will be installed
    ---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
    ---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
    --> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
    ---> Package httpd-tools.x86_64 0:2.4.6-97.el7_9 will be installed
    ---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
    ---> Package zabbix-web-deps-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mbstring for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-xml for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72 for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-ldap for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-fpm for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-bcmath for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-gd for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch
    --> Running transaction check
    ---> Package OpenIPMI.x86_64 0:2.0.27-1.el7 will be installed
    ---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
    --> Processing Dependency: fontpackages-filesystem for package: dejavu-fonts-common-2.33-6.el7.noarch
    ---> Package zabbix-web-deps-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mbstring for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-xml for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72 for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-ldap for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-fpm for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-bcmath for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-gd for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch
    --> Running transaction check
    ---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
    ---> Package zabbix-web-deps-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mbstring for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-xml for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72 for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-ldap for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-fpm for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-bcmath for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    --> Processing Dependency: rh-php72-php-gd for package: zabbix-web-deps-scl-5.0.11-1.el7.noarch
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.11-1.el7 will be installed
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch
    --> Finished Dependency Resolution
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-mbstring
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-fpm
    Error: Package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-mysqlnd
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-ldap
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-bcmath
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-gd
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-xml
    ************************************************** ********************
    yum can be configured to try to resolve such errors by temporarily enabling
    disabled repos and searching for missing dependencies.
    To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
    ************************************************** ********************

    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-mbstring
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-fpm
    Error: Package: zabbix-web-mysql-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-mysqlnd
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-ldap
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-bcmath
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-gd
    Error: Package: zabbix-web-deps-scl-5.0.11-1.el7.noarch (zabbix)
    Requires: rh-php72-php-xml
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    [root@localhost ~]#

    Comment

    Working...