Ad Widget

Collapse

Installation Steps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xyue
    Member
    • Jan 2016
    • 93

    #1

    Installation Steps

    Hi,

    I am trying to setup Zabbix server on a server A and MySQL on server B. Both server will be running Ubuntu. I have go through the installation page and database creation script.Below is the installation steps i understand so far. Kindly correct me if any mistake.

    Zabbix server (server A)
    -----------------------------
    //Install repository configuration
    # wget http://repo.zabbix.com/zabbix/2.4/ub...trusty_all.deb
    # dpkg -i zabbix-release_2.4-1+trusty_all.deb
    # apt-get update

    //Install Zabbix package
    # apt-get install zabbix-server-mysql zabbix-frontend-php

    Database (Server B)
    ----------------------------
    sudo apt-get install mysql-server

    shell> mysql -uroot -p<password> //
    mysql> create database zabbix character set utf8 collate utf8_bin;
    mysql> grant all privileges on zabbix.* to zabbix@localhost identified by '<password>';//should the zabbix@locahost change to the IP of Zabbix server ??
    mysql> quit;
    shell> mysql -uzabbix -p<password> zabbix < database/mysql/schema.sql
    shell> mysql -uzabbix -p<password> zabbix < database/mysql/images.sql
    shell> mysql -uzabbix -p<password> zabbix < database/mysql/data.sql

    I am sorry many seems like stupid question but i am not an IT guy but my boss has assigned me this task so kindly advise me.

    Thank you in advance for your support.
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Originally posted by Xyue
    mysql> grant all privileges on zabbix.* to zabbix@localhost identified by '<password>';//should the zabbix@locahost change to the IP of Zabbix server ??
    Yes, you're right.
    It has to be something like
    Code:
    grant all privileges on zabbix.* to [email protected] identified by '<password>';
    Then, in zabbix_server.conf on Server A you will configure the connection:
    Code:
    ### Option: DBHost
    #       Database host name.
    #       If set to localhost, socket is used for MySQL.
    #       If set to empty string, socket is used for PostgreSQL.
    #
    # Mandatory: no
    # Default:
    DBHost=192.168.1.1
    Sincerely yours,
    Aleksey

    Comment

    • Xyue
      Member
      • Jan 2016
      • 93

      #3
      Thanks aib.

      I will try following the installation steps and will come back when I have questions. Thank you very much.

      Comment

      • Xyue
        Member
        • Jan 2016
        • 93

        #4
        Ubuntu OS

        Hi,

        Another stupid question.. For the OS part, which 1 should i download and install ?

        1. Ubuntu Desktop
        2. Ubuntu Server
        3. Ubuntu Cloud
        4. Ubuntu Kylin
        5. Ubuntu Core



        Tried google but most people only mention ubuntu 14.04 but there are few kind available.

        Please advise. Thank you.

        Comment

        • Erravandrhel
          Junior Member
          • Dec 2015
          • 14

          #5
          Securely designed, fast and economically scalable, Ubuntu helps you make the most of your infrastructure. Whether you want to deploy a cloud or a web farm, Ubuntu Server supports the most popular hardware and software.

          Comment

          Working...