1.安装方式:rpm或者编译都可,rpm可以直接用yum安装.rpm安装的话,根据文件名进行选择即可.编译的话,不同参数对应不同的组件.编译安装zabbix:同时安装server和agent,并支持将数据放入mysql数据中,可使用类似如下配置命令:./configure--prefix=/usr/...
分类:
其他好文 时间:
2014-05-23 11:36:41
阅读次数:
634
找出单词的最长公共前缀
class Solution {
public:
string longestCommonPrefix(vector &strs) {
int len=strs.size();
if(len==0)
return "";
int length=strs[0].size(),j;
...
分类:
其他好文 时间:
2014-05-22 09:35:20
阅读次数:
230
1.解压[root@zabbix~]#tar-jxvfmsmtp-1.4.32.tar.bz22.配置[root@zabbix~]#cdmsmtp-1.4.32[root@zabbixmsmtp-1.4.32]#./configure--prefix=/usr/local/msmtp--sysconfdir=/usr/local/msmtp/etccheckingbuildsystemtype...x86_64-unknown-linux-gnucheckinghostsystemtype...x86..
分类:
其他好文 时间:
2014-05-21 12:58:08
阅读次数:
378
1.编译安装./configure --prefix=/usr/local/zabbix-proxy/
--enable-proxy --with-mysqlmysql zabbix_proxy<database/mysql/schema.sql2. 设置
zabbix_proxy.conf1 使用...
分类:
其他好文 时间:
2014-05-21 05:39:29
阅读次数:
353
1,下载安装lighttpd-1.4.34lighttpd官网下载最新稳定版本[root@localhostsoftware]#tar-zxvflighttpd-1.4.34.tar.gz[root@localhostsoftware]#cdlighttpd-1.4.34[root@localhostlighttpd-1.4.34]#./configure--prefix=/usr/local/lighttpd#安装默认模块[root@localhostlighttpd..
分类:
其他好文 时间:
2014-05-20 23:29:06
阅读次数:
313
在Linux下安装PHP,源代码方式安装,总需要配置很多参数。这里列出常用配置参数,并详细用中文解释说明了。给大家一些参考编译PHP的时候慎用
–with-curlwrappers参数 ./configure--prefix=/usr/local/PHP php 安装目录
--with-apxs2=...
分类:
移动开发 时间:
2014-05-19 13:16:39
阅读次数:
8383
把datatable保存为xml,再读取xml转化为datatable DataTable dt =
new DataTable("dt", "http://baidu.com"); dt.Prefix = "xs";//前缀 dt.C...
分类:
Web程序 时间:
2014-05-19 10:26:30
阅读次数:
344
这一节我们关注模型绑定的值提供体系,先来介绍几个重要的接口一.IValueProvider,接口定义如下:1 public interface
IValueProvider2 {3 4 bool ContainsPrefix(string prefix);...
分类:
Web程序 时间:
2014-05-19 08:08:11
阅读次数:
1288
【题目】
Write a function to find the longest common prefix string amongst an array of strings.
【题意】
求一组字符串的最长公共前缀
【思路】
使用归并思想求解
要求字符串[1,2,..,k,k+1,...n]的最大公共前缀,先分别求[1,2,...k]和[k+1,...,n]的公共前缀...
分类:
其他好文 时间:
2014-05-18 05:17:53
阅读次数:
232
本机 PHP 安装./configure --prefix=/usr/local/php5
--with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-mysql
--with-pdo-mysql --with-oci8=instant....
分类:
系统相关 时间:
2014-05-18 00:56:23
阅读次数:
487