ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installation of Zabbix in Centos 7

    IT Discussion
    linux zabbix centos 7 centos
    6
    126
    58.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller
      last edited by

      Here is a site with some handy directions:

      http://www.unixmen.com/how-to-install-zabbix-server-on-centos-7/

      1 Reply Last reply Reply Quote 1
      • L
        Lakshmana
        last edited by

        When i try to install the zabbix there is an authentication failure error comes.Why?
        Whether I have check the /etc/sudoers or change the permission of the folder of me to install the zabbix?

        S 2 Replies Last reply Reply Quote 0
        • S
          scottalanmiller @Lakshmana
          last edited by

          @Lakshmana said:

          When i try to install the zabbix there is an authentication failure error comes.Why?

          When asking a question like this, we will always ask to see the command that you ran. So best to include it upfront instead of waiting for us to ask because obviously we could never answer "why" without knowing what you did.

          1 Reply Last reply Reply Quote 0
          • S
            scottalanmiller @Lakshmana
            last edited by

            @Lakshmana said:

            Whether I have check the /etc/sudoers or change the permission of the folder of me to install the zabbix?

            I know that you are in the sudoers with full root access. It was verified.

            1 Reply Last reply Reply Quote 0
            • L
              Lakshmana
              last edited by

              Error I am facing here is given below as shown

              [lakshmana@dny-lnx-zabbix home]$ yum install epel-release
              Loaded plugins: fastestmirror
              You need to be root to perform this command.

              Why this comes?

              1 Reply Last reply Reply Quote 0
              • S
                scottalanmiller
                last edited by

                You are missing the sudo before the command.

                1 Reply Last reply Reply Quote 0
                • S
                  scottalanmiller
                  last edited by scottalanmiller

                  The EPEL is already installed as part of a base install, but no harm in doing it twice. But the command would be:

                  sudo yum install epel-release
                  
                  J 1 Reply Last reply Reply Quote 1
                  • L
                    Lakshmana
                    last edited by

                    I have started my iinstallation by the other command

                    Configure the ZabbixZone package repository and GPG key using command:

                    rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX

                    rpm -Uv http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm

                    1 Reply Last reply Reply Quote 0
                    • S
                      scottalanmiller
                      last edited by

                      Don't forget the sudo

                      1 Reply Last reply Reply Quote 1
                      • L
                        Lakshmana
                        last edited by

                        Then the installtion of the Zabbix agent is done by the following command

                        Now, Install Zabbix server and agent using command:

                        sudo yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway

                        which requires internet to download the package of 223 MB.

                        1 Reply Last reply Reply Quote 0
                        • S
                          scottalanmiller
                          last edited by

                          That is pretty small, it should be pretty fast.

                          1 Reply Last reply Reply Quote 0
                          • L
                            Lakshmana
                            last edited by

                            In order to update the time zone go to the file given below
                            Edit file /etc/httpd/conf.d/zabbix:

                            vi /etc/httpd/conf.d/zabbix.conf

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              scottalanmiller @Lakshmana
                              last edited by

                              @Lakshmana said:

                              In order to update the time zone go to the file given below
                              Edit file /etc/httpd/conf.d/zabbix:

                              vi /etc/httpd/conf.d/zabbix.conf

                              Why are you changing the timezone? Is that part of a normal installation?

                              1 Reply Last reply Reply Quote 0
                              • L
                                Lakshmana
                                last edited by

                                No,If needed means we can change

                                1 Reply Last reply Reply Quote 0
                                • L
                                  Lakshmana
                                  last edited by

                                  After the update of the time zone needs to update it by the following command

                                  Restart the httpd

                                  systemctl restart httpd
                                  After the MySQL needs to configured here.If needed we need to install in the server

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    scottalanmiller
                                    last edited by

                                    Don't forget a space after all punctuation.

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      Lakshmana
                                      last edited by

                                      Ok.The mysql and LAMP can be installed by the following link provided below

                                      http://www.unixmen.com/install-lamp-server-apache-mariadb-php-centosrhelscientific-linux-7/

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        Lakshmana
                                        last edited by

                                        Maria DB installation issue, I am facing in this is given below
                                        [lakshmana@dny-lnx-zabbix ~]$ mysql_secure_installation
                                        /usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found

                                        NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
                                        SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

                                        In order to log into MariaDB to secure it, we'll need the current
                                        password for the root user. If you've just installed MariaDB, and
                                        you haven't set the root password yet, the password will be blank,
                                        so you should just press enter here.

                                        Enter current password for root (enter for none):
                                        ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
                                        Enter current password for root (enter for none):
                                        ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
                                        Enter current password for root (enter for none):

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          scottalanmiller
                                          last edited by

                                          I think that you forgot the step to start the server.

                                          1 Reply Last reply Reply Quote 0
                                          • L
                                            Lakshmana
                                            last edited by

                                            Yes, I have started the MariaDB by the following command given below

                                            sudo systemctl start mariadb
                                            sudo systemctl enable mariadb

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 1 / 7
                                            • First post
                                              Last post