DebianとリポジトリからNagiosをインストールできますか?

DebianとリポジトリからNagiosをインストールできますか?

NagiosをインストールしてDebian VMを実行したいです。 Nagiosの公式ウェブサイトでは、CentOSやRed Hatの最小バージョンが必要だと言います。しかし、DebianにNagiosをインストールできますか?もう1つの質問は、リポジトリを使用して最も簡単な方法でインストールできることです。 apt-get install nagios をインストールすると、すぐに E: Unable to located package nagios が表示されます。

Nagiosをインストールする最良の方法は何ですか?

ベストアンサー1

https://www.howtoforge.com/tutorial/install-nagios-4-3-on-debian-9/プロセスについて説明します。

apt install wget unzip zip bash-completion net-tools

ホスト名の設定

hostnamectl set-hostname nagios.server.lan

PCホスト名とホストファイルの確認

hostnamectl 
cat /etc/hostname
cat /etc/hosts

変更を適用するには再起動してください。

Nagiosを含むWebサーバーパッケージをインストールし、ポート80で実行されていることを確認します。

apt install apache2 libapache2-mod-php7.0 php7.0 && netstat –tlpn

詳しくは上記のリンクをご覧ください。

おすすめ記事