http://suifu.blog.51cto.com/9167728/1770703 监控和被监控端都要安装和配置snmp: [root@HE1bin]# yum install net-snmp* [root@HE1bin]# vi /etc/snmp/snmpd.conf 41行将defaul ...
分类:
其他好文 时间:
2017-05-07 23:20:53
阅读次数:
649
题目: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers s ...
分类:
其他好文 时间:
2017-05-07 23:13:56
阅读次数:
217
题目: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,- ...
分类:
其他好文 时间:
2017-05-07 23:07:54
阅读次数:
169
思路:
1、mp3转成pcm(音频数据),ffmpeg做的事
2、OpenSL ES引擎创建AudioPlayer,实际调用了AudioTrack遇到的错误:
Error #include ne...
分类:
移动开发 时间:
2017-05-07 22:06:50
阅读次数:
799
题目: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can yo ...
分类:
其他好文 时间:
2017-05-07 22:00:42
阅读次数:
200
题目: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For ...
分类:
其他好文 时间:
2017-05-07 21:58:27
阅读次数:
202
进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi +n filename :打开文件,并将光标置于第n行首 vi + filename :打开文件,并将光标置于最后一行首 vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配 ...
分类:
系统相关 时间:
2017-05-07 21:17:49
阅读次数:
245
#!/bin/sh # # iptables Start iptables firewall # # chkconfig: 2345 08 92 # description: Starts, stops and saves iptables firewall # # config: /etc/sys ...
分类:
其他好文 时间:
2017-05-07 20:30:16
阅读次数:
181
方法一:文件指针固定,依靠偏移量来访问文件内容 方法二: 偏移量固定,依靠SEEK_CUR当前指针来访问文件内容 ...
分类:
其他好文 时间:
2017-05-07 20:07:39
阅读次数:
157
linux下命令发送邮件配置1、然后修改/etc/mail.rc,在文件末尾增加以下内容,指定外部的smtp服务器地址、帐号密码等配置如下setfrom=邮箱账号setsmtp=smtp.qq.comsetsmtp-auth-user=邮箱账号setsmtp-auth-password=邮箱配置的授权码输入到这里setsmtp-auth=loginsetsmtp-use-st..
分类:
系统相关 时间:
2017-05-07 20:01:26
阅读次数:
190