DR模式中LVS主机与实际服务器都有一块网卡连在同一物理网段上。IP分配VIP:10.10.3.170RIP1:10.10.3.140RIP2:10.10.3.1411、安装所需的依赖包yum install -y wget make kernel-devel gcc gcc-c++ libnl* ...
分类:
其他好文 时间:
2014-07-10 13:35:54
阅读次数:
597
原来的版本是用fopen打开文件的,如果要从ANDROID的APK中取文件,直接就洗白了修改如下void CCCrypto::MD5File(const char* path, unsigned char* output){unsigned long len = 0;//to make sure w...
分类:
移动开发 时间:
2014-07-10 12:46:13
阅读次数:
316
In the 1960s, the legendaryStanford artificial intelligence pioneer, John McCarthy, famously gave agraduate student the job of “solving” computer visi...
分类:
其他好文 时间:
2014-07-10 00:59:27
阅读次数:
249
First step: I have to make the wireless ethernet card start to work for my Lenovo W520 with Debian installed. Initially, I installed the package firmw...
分类:
其他好文 时间:
2014-06-30 13:47:42
阅读次数:
257
Linux安装Apache+MySQL+PHP
安装部分依赖
安装apr(可选)
# tar -xf apr-1.5.0.tar.bz2
# cd apr-1.5.0
#./configure --prefix=/usr/local/apr //指定其安装位置
# make && make install
安装apr-util
# tar -xf apr-util-1.5.3.ta...
分类:
系统相关 时间:
2014-06-28 07:35:28
阅读次数:
386
这两天在服务器为php安装curl拓展是遇到一个问题。很是纠结了一下...系统是centos6.464位系统,php版本5.3.3,因需要安装curl拓展,但是使用5.3.3的源码包安装curl拓展时make报错:/php-5.3.3/ext/curl/interface.c:319:警告:初始化丢弃了指针目标类型的限定/php-5.3.3/ext/cu..
分类:
Web程序 时间:
2014-06-28 00:57:26
阅读次数:
310
1 c++ 类的数据成员的初始化发生在构造函数前class InitialData{ public: int data1; int data2; InitialData(int a, int b) { ...
分类:
编程语言 时间:
2014-06-27 22:31:42
阅读次数:
375
Ant的概念 可能有些读者并不连接什么是Ant以及入可使用它,但只要使用通过Linux系统得读者,应该知道make这个命令。当编译Linux内核及一些软件的源程序时,经常要用这个命令。Make命令其实就是一个项目管理工具,而Ant所实现功能与此类似。像make,gnumake和nmake这些编译工具...
分类:
其他好文 时间:
2014-06-27 19:03:53
阅读次数:
166
可能很多人在使用Android studio 中的插件中会发现这个错误提示:Compiler output path for module can not be null. check your module/project settings。
会报这个错误是因为你工程没有make。因为Findbugs并不是针对你的源代码进行检测,而是根据编译后文件(如:class.dex)进行检测。
所以如...
分类:
数据库 时间:
2014-06-27 09:42:01
阅读次数:
303
转载请注明出处:http://www.openext.org/2014/06/lxc-erro1#tar zxvf lxc-xxx.tar#./autogen#./configure –prefix=/usr/local/lxc#make#make install#lxc-lsthe error:#echo “/usr/local/lxc/lib” >> /etc/ld.so.conf#ldcon...
分类:
其他好文 时间:
2014-06-27 08:36:38
阅读次数:
156