wolong 发表于 2015-11-23 09:02:52

ubuntu系统安装Nagios碰到的问题

  快速指南当“sudo apt-get install libgd2-dev”时,我的ubuntu系统提示如下:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
   
正在读取状态信息... 完成
   
现在没有可用的软件包 libgd2-dev,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libgd2-dev 还没有可供安装的候选者
  原因如下:
  Ubuntu的版本不同所导致下载软件名字不一样
  With Ubuntu 6.10,
install the gd2 library with this command:

sudo apt-get install libgd2-dev
  With Ubuntu 7.10, the gd2 library name has
changed, so you'll need to use the following:

sudo apt-get install libgd2-xpm-dev



PS:U can get more info here:
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
  
ubuntu中Apache2服务器弹出“下载PHTML文件”的解决方法
  
   
sudo apt-get --purge remove php5-common
   
sudo apt-get install php5 phpmyadmin
   
最后重启Apache2
  
   
/etc/init.d/apache2 reload

下载完重启之后貌似我的XP与Ubuntu虚拟机之间可以进行命令的相互复制粘贴了,O(∩_∩)O哈哈~  
页: [1]
查看完整版本: ubuntu系统安装Nagios碰到的问题