简体   繁体   English

Linux-无法创建/ usr / local / nagios / bin / nagios文件

[英]Linux - /usr/local/nagios/bin/nagios file couldnt create

I am trying to install nagios 4.0.6 and nagios -plugins-2.0.2 on fedora 17. I have followed steps which is mentioned in sourceforge documentation. 我正在尝试在fedora 17上安装nagios 4.0.6和nagios -plugins-2.0.2。我遵循了sourceforge文档中提到的步骤。

http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

unfortunately /usr/local/nagios/bin/nagios this file isnt created I mean even bin folder haven't created. 不幸的是/ usr / local / nagios / bin / nagios这个文件没有创建,我的意思是连bin文件夹都没有创建。 so that I am unable to start nagios service. 因此我无法启动nagios服务。 What should I do? 我该怎么办?

You can install Nagios right from the Fedora repositories. 您可以直接从Fedora存储库安装Nagios

yum install nagios nagios-plugins

You can also see a list of Nagios -related packages with: yum search nagios . 您还可以通过以下方式查看与Nagios相关的软件包的列表: yum search nagios

I suggest you always install apps from the repositories, since the package manager will take care of the dependencies as well as the installation, and the packages there have been already revised and tested for the version of your OS. 我建议您始终从存储库中安装应用程序,因为package manager将负责相关性和安装,并且那里的程序包已经过修改并已针对您的操作系统版本进行了测试。 Use only 3rd party source builds or install/build the packages manually as a last resort. 不得已时,仅使用第三方资源构建或手动安装/构建软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM