关闭

php安装composer是报错解决

1588人阅读 评论(0) 收藏 举报
分类:

下载:

  1. curl -sS https://getcomposer.org/installer | php  


安装:

  1. /usr/bin/php composer.phar --version  

加入全局命令:

  1. mv composer.phar /usr/local/bin/composer   

测试:

  1. composer –version  


看到版本号即成功!

“Composer version fc3fbdeab3355c2c9d03e496c41b1a3bb9565a49 2013-11-20 14:17:10″


参考:

http://theprogrammer.co.za/wp/2014/02/11/php-composer-installation-on-ubuntu-12-04-2/


https://getcomposer.org/download/ (官方文档)


解决一下问题:


Cannot adopt OID in SQUID-MIB: cacheClients ::= { cacheProtoAggregateStats 15 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 }
Cannot adopt OID in UCD-SNMP-MIB: laConfig ::= { laEntry 4 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadInt ::= { laEntry 5 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadFloat ::= { laEntry 6 }
Cannot adopt OID in UCD-SNMP-MIB: laErrorFlag ::= { laEntry 100 }
Cannot adopt OID in UCD-SNMP-MIB: laErrMessage ::= { laEntry 101 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }


  1. apt-get install snmp-mibs-downloader  
  2.   
  3. apt-get update  
0
1

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:83169次
    • 积分:2221
    • 等级:
    • 排名:第17368名
    • 原创:135篇
    • 转载:43篇
    • 译文:0篇
    • 评论:6条
    最新评论