PHP Composer: installation on ubuntu

来源:互联网 发布:linux netsnmp 下载 编辑:程序博客网 时间:2024/06/05 04:18


下载:

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


安装:

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

加入全局命令:

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

测试:

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 }


apt-get install snmp-mibs-downloaderapt-get update


http://serverfault.com/questions/440285/why-does-snmp-fail-to-use-its-own-mibs

0 0
原创粉丝点击