Skip to content

Commit

Permalink
cleanup errors in code block
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik Uytterhoeven authored and Patrik Uytterhoeven committed Nov 18, 2023
1 parent 34caa04 commit 0e646a7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/01-Getting started with Zabbix.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ success
success
# firewall-cmd --get-zones
block dmz drop external home internal *mariadb-access* nm-shared public trusted work
block dmz drop external home internal mariadb-access nm-shared public trusted work
# firewall-cmd --zone=mariadb-access --add-source=<zabbix-serverip> --permanent
Expand All @@ -419,8 +419,10 @@ success

Now lets have a look to our firewall rules to see if they are what we expected:

```
# firewall-cmd --zone=mariadb-access --list-all
```
```
mariadb-access (active)
target: default
icmp-block-inversion: no
Expand All @@ -439,6 +441,19 @@ mariadb-access (active)

Our database server is ready now to accept connections from our Zabbix server :)

#### Installing the Zabbix Server

5 rpm -Uvh https://repo.zabbix.com/zabbix/6.5/rocky/9/x86_64/zabbix-release-6.5-2.el9.noarch.rpm
6 dnf clean all
7 dnf install zabbix-server-mysql zabbix-web-mysql zabbix-nginx-conf zabbix-selinux-policy zabbix-agent
8 vi /etc/zabbix/zabbix_server.conf
9 setenforce 0
10 systemctl enable zabbix-server --now
11 tail /var/log/zabbix/zabbix_server.log
12 tail -f /var/log/zabbix/zabbix_server.log
13 systemctl stop zabbix-server
14 systemctl start zabbix-server
15 tail -f /var/log/zabbix/zabbix_server.log


### Installing Zabbix with MySQL
Expand Down

0 comments on commit 0e646a7

Please sign in to comment.