Ad Widget

Collapse

Installing zabbix from a .deb package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrmurdock
    Member
    • Aug 2009
    • 85

    #1

    Installing zabbix from a .deb package

    I had to setup a local repository server to get updates for my Zabbix server. So when I downloaded the 4.03....deb Zabbix package on the Zabbix server and do a dpkg -i Zabbix*.deb it installs the repository. However, when I go to install the Zabbix server, it hits the repository and installs the old 3.0.1x of Zabbix server. What do I need to do get the packages to be installed from the .deb source?
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    #2
    Hi, did you do "apt update" after installing the zabbix-release package? If not, that's the problem.

    Otherwise, please describe your OS+version and which zabbix-release file you installed, maybe someone is able to help.

    Markku

    Comment

    • mrmurdock
      Member
      • Aug 2009
      • 85

      #3
      Markku,
      Thanks. I did do that. I just did not understand what the .deb packages really do, until late last night on the way home from work. All the dpkg -i *.deb seems to do is add the zabbix repo URL into the APT database so when we do a apt-get install zabbix-server, and etc., apt goes out to the Internet repository location. Well, I dont have external internet connectivity yet, and the repository server only has the old release of zabbix included with the Ubuntu 18.0.4.3 (zabbix server 3.0.1) so by default it looks at the repository server first before it gets to the apt url.
      I know, download the source and build it from there,however, I am trying to play nice with managers directive.

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1782

        #4
        Right, I kind of missed your local repository part. So, instead of installing zabbix-release package, just download and install the needed zabbix packages manually. You can find them in http://repo.zabbix.com/zabbix/4.4/de...main/z/zabbix/ for example, for Debian. Just browse the similar paths in the repo and download the packages you need. You can then install them with dpkg.

        I don't know if this way of installing the packages causes some issues later (with "apt upgrade" for example), so you may want to test this carefully before going for production. Maybe you need some apt pinning (https://wiki.debian.org/AptConfiguration) to prevent OS from installing the OS-provided zabbix-* packages later when upgrading the OS.

        Markku

        Comment

        Working...