1.背景
- Raspberry Pi 3のOS(Raspbian)をStretchからBusterにバージョンアップしたのを機にZabbixも新たにインストール
2.インストールするパッケージ
- Zabbix 4.2
- 最新のパッケージ https://www.zabbix.com/jp/download
- Raspbianのレポジトリだと4.0
- MySQL ※1
- PHP ※2
- lighttpd
※1 serverの依存パッケージ ※2 frontendの依存パッケージ
3.メモ
- 基本的な手順は公式ページの通り
- https://www.zabbix.com/documentation/4.2/manual/installation/install_from_packages/debian_ubuntu
- 2.b frontendを別環境に構築する場合は不要
- 2.b agentも監視項目によっては不要
- 追加インストール、設定する部分
- php7.3-fpm
- /etc/php/7.3/fpm/php.ini
- 公式ページにあるapache2のPHP設定内容はこちら
- sudo systemctl restart lighttpd
- sudo systemctl restart php7.0-fpm
- lighttpd ※apache2アンインストール
- sudo lighttpd-enable-mod fastcgi
- sudo lighttpd-enable-mod fastcgi-php
- /etc/lighttpd/conf-available/15-fastcgi-php.conf
- sudo service lighttpd force-reload
0 件のコメント:
コメントを投稿