Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos7 Zabbix3.0 installation

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

one。 Add yum third-party sources:

Wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

Wget-O / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

two。 Add a Zabbix source:

Rpm-ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm

three。 Install the server side zabbix package

Yum install-y zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get

# (take a clear look at which packages to install httpd php are basically dependent on installation)

Dependencies Resolved

=

Package Arch Version Repository Size

=

Installing:

Zabbix-server-mysql x86 million 64 3.0.8-2.el7 zabbix 1.7m

Zabbix-web-mysql noarch 3.0.8-2.el7 zabbix 4.5k

Installing for dependencies:

OpenIPMI-libs x8631 64 2.0.19-15.el7 base 502k

OpenIPMI-modalias x8631 64 2.0.19-15.el7 base 15k

Dejavu-fonts-common noarch 2.33-6.el7 base64 k

Dejavu-sans-fonts noarch 2.33-6.el7 base 1.4m

Fping x8631 64 3.10-4.el7 epel 46k

Httpd x8631 64 2.4.6-45.el7.centos base 2.7m

Httpd-tools x8631 64 2.4.6-45.el7.centos base 84k

Iksemel x8631 64 1.4-6.el7 epel 50k

LibXpm x8631 64 3.5.11-3.el7 base 54k

Libtool-ltdl x8631 64 2.4.2-21.el7_2 base 49k

Libxslt x8634 1.1.28-5.el7 base 242k

Libzip x8631 64 0.10.1-8.el7 base 48k

Mailcap noarch 2.1.41-2.el7 base 31k

Net-snmp-libs x86x 64 1purl 5.7.2-24.el7_2.1 base 747k

Php x8631 64 5.4.16-42.el7 base 1.4m

Php-bcmath x8631 64 5.4.16-42.el7 base 57k

Php-cli x8631 64 5.4.16-42.el7 base 2.7m

Php-common x8631 64 5.4.16-42.el7 base 564k

Php-gd x8631 64 5.4.16-42.el7 base 127k

Php-ldap x8631 64 5.4.16-42.el7 base 52k

Php-mbstring x8631 64 5.4.16-42.el7 base 505k

Php-mysql x8631 64 5.4.16-42.el7 base 101k

Php-pdo x8631 64 5.4.16-42.el7 base 98k

Php-xml x8631 64 5.4.16-42.el7 base 125k

T1lib x8631 64 5.1.2-14.el7 base 166k

UnixODBC x8634 2.3.1-11.el7 base 413k

Zabbix-web noarch 3.0.8-2.el7 zabbix 3.5m

Transaction Summary

=

four。 Database related operations

CentOS 7 removes MySQL database software from the default list of programs and replaces it with mariadb. Mariadb command statement and mysql are the same, do not want to bother, so install mariadb

1. Install MariaDB

Yum-y install mariadb mariadb-server

After installing MariaDB, start MariaDB first

Systemctl start mariadb

Set up boot boot

Systemctl enable mariadb

Next, we will have a simple configuration of MariaDB.

Mysql_secure_installation

The first is to set the password, which will prompt you to enter the password first.

Enter current password for root (enter for none):

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report