Ad Widget

Collapse

Upgrade for "Dummies"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bbazian
    Junior Member
    • Oct 2015
    • 8

    #1

    Upgrade for "Dummies"

    I would like to upgrade my Zabbix install from 2.2 to 2.4. I see the high level instructions. Is there a more detailed step by step that I can follow?
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    What high level instructions are you referring to?

    I suppose they are detailed enough to perform the upgrade.
    Did you try to upgrade and failed or run into any other issues?

    Best Regards,
    Ingus

    Comment

    • bbazian
      Junior Member
      • Oct 2015
      • 8

      #3
      This is the document I am referring to. For example, it states, install the binaries but does not give you the instructions on how to. Do I do a wget of the installation file and then run as if it is a new install or is there something special I need to do in that the MySQL is all setup already.

      Comment

      • ingus.vilnis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2014
        • 908

        #4
        You have to install binaries the same way you installed 2.2. Check if you have installed from packages or compiled from sources.

        Also keep in mind that there are some OS specific details so there will not be one manual that fits all but generally you have the idea correct.

        If you install from packages then on CentOS 6 you have to run something like this:
        Code:
        rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
        yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent
        Before installing double check which version is going to be installed. If you still see 2.2 then run "yum clean all" and start over. But again, no idea what OS are you running so can't refer to specific installation.

        Do not touch MySQL at this part because if it works then you use the existing connection to it.

        When doing upgrade it would be good if you have two SSH connections to your Zabbix server - one where you do the commands and another which tails every update of Zabbix server log file.

        Best Regards,
        Ingus

        Comment

        • bbazian
          Junior Member
          • Oct 2015
          • 8

          #5
          Actually was done on Ubuntu and I used Apt-get. What is the correct repository for that?

          Comment

          • bbazian
            Junior Member
            • Oct 2015
            • 8

            #6
            Is this the correct repo to use for Ubuntu 14.04 x64?

            Comment

            • ingus.vilnis
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Mar 2014
              • 908

              #7
              Hi,

              For Ubuntu you have to follow this part of the installation manual:


              By the way in the ling you are trying to install server package for PostgreSQL database. Earlier you said you have MySQL so please install zabbix-server-mysql.

              Best Regards,
              Ingus

              Comment

              • bbazian
                Junior Member
                • Oct 2015
                • 8

                #8
                I am on MySql. The instructions you show installs 2.4.1. Should I not install 2.4.5? Also, I would prefer to use apt-get. What rpm command do I need to run to get that version and use apt-get?

                Comment

                • ingus.vilnis
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Mar 2014
                  • 908

                  #9
                  Hi,

                  When installing or updating software apt-get should automatically install 2.4.6 which is currently the latest.

                  I don't remember which exact command should be used there, please check some Ubuntu manuals for that. But don't worry, it is quite easy process.

                  Best Regards,
                  Ingus

                  Comment

                  Working...