php安装composer是报错解决

下载:

  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  
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/woshiliulei0/article/details/51556704
个人分类: PHP
上一篇php要解决的问题
下一篇html5 geolocation / 百度地图api Geolocation 定位当前城市信息
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭