Installing Zabbix 2.0.x on CentOS The Easy Way!

Original Posting and Script

This is an updated script to install Zabbix 2.0.x on CentOS/Red Hat 6. I have tested it on CentOS 6.2. The script was made for Zabbix 2.0.1, but if you modify the ZBX_VER variable in the script, it should work on any version in the 2.0 series. I have also made updates to the script based in feedback from the old versions.

Basically, the script tries to do a few things and assumes some things:

  • Only run this for NEW installations, you will lose data if you run on an existing installation
  • Run at your own risk
  • Installs Zabbix 2.0.x on CentOS 6
  • Do not corrupt an existing system
  • Be able to run the script over and over in the event that it errors
  • Be somewhat flexible
  • The database server, web server, and zabbix server all run on one box

Zabbix v2.0.x install script

  1. jose garcia’s avatar

    thanks, man.

    had to test this software and i am allergic to source code. works fine in 6.3.

    Reply

    1. brendon’s avatar

      LOL …. allergic to source code. Heh

  2. Ethan Ducre’s avatar

    I deleted the tidbits in the script about checking for SELinux since I couldn’t seem to disable SELinux. After doing so, the script worked like a charm for me. Thank you for this Brendon.

    Reply

  3. Zafer’s avatar

    Thanks man
    I was able to run it on centos 6.3 with minimal installation
    you saved my hours!!

    Reply

  4. Jay W’s avatar

    You friggin’ rock! This script saved me hours of screwing with the source build manually!

    Reply

  5. fara’s avatar

    please teach me step-by step to run these script. am i download the zabbix first and where path i should starting the script …

    im sorry .. i really zero about linux

    i have installed centos 6.2 now, …

    please help

    thx ..

    Reply

  6. Robson’s avatar

    Thanks man.

    Perfect implementation with centos 6.2 .

    Regards.
    Barreto, Robson

    Reply

  7. soumitra kar’s avatar

    You have done a great job. For some time now I thought of doing the same that is to automate the installation process. And when finally I started doing it, thought of checking if someone has already done it or not. Found your blog and tried it. Worked nicely. If someone comes to me asking for installing Zabbix 2.0, will sure tell your name. And I am going to use it needless to say. Once again, great job.

    Reply

  8. pablo’s avatar

    does it run on centos 5.5? y need zabbix 2.0 installed on it

    cheers!

    Reply

    1. brendon’s avatar

      Not sure about centos 5.5. You might want to use an old script if this doesn’t work. The old 1.8 zabbix install script was for 5.5 i think.

  9. donnerdiebel’s avatar

    What a timesaver! Thanks for sharing this ;)

    Take care and all the best,
    Björn

    Reply

  10. Jason’s avatar

    Thanks it worked great on CentOS 6.3 minimal. I’m glad people take the time to make scripts and share them to others.

    Reply

Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>