Ad Widget

Collapse

Suggested changes in 3.0 Installation from packages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magnus
    Junior Member
    • Jun 2016
    • 7

    #1

    Suggested changes in 3.0 Installation from packages

    Hi

    I´m no expert in this matter but I suggest that you alter a few lines in the documentation Installation from packages and Database creation scripts

    General changes:
    In "Database creation scripts" (at least for MySQL), right after "mysql> quit;" add # stop here if you are installing from packages.
    In "Installation from packages" add a -p to # zcat create.sql.gz | mysql -uroot zabbix

    I also would appreciate if there were some warning about changing DBName=zabbix, DBUser=zabbix and DBPassword=zabbix to anything else than suggested, it turned out to be a lot more complicated than I thought

    Changes for CentOS 7:
    MySQL isnt in their repository anymore so you have to run "yum install mariadb-server" and then "systemctl start mariadb" and "systemctl enable mariadb". After that you need to run "mysql_secure_installation" to set up mysql password and disable some unwanted settings.
    There is also a firewall installed by default that may cause some issues. Easiest way to get through it is to run "firewall-cmd --set-default-zone=internal" and "firewall-cmd --reload", but this might not be the solution if you are on a dmz or similar.

    // Magnus
Working...