1、安装Nginx并启用模块 Nginx从1.9.0开始发布ngx_stream_core_module模块,该模块支持tcp代理及负载均衡 安装Nginx并启动模块 ngx_stream_core_module这个模块默认没有启用,需要在便宜时通过指定with-strem参数激活这个模块 环境准备 ...
分类:
数据库 时间:
2017-04-13 15:26:14
阅读次数:
278
近期学习linux这门课,做实验要编译系统内核,然后。。五一没事就捣鼓了一上午。还好成功了。以下就写下过程吧。注意:以下过程的有些make 这类的命令 可能要获取权限 1.開始时能够查一下自己如今系统的版本号: uname -a 。 我的是 3.2.0.-23 2.然后在 http://www.ke ...
分类:
系统相关 时间:
2017-04-13 14:43:46
阅读次数:
283
一 为什么使用CMake CMake是一个比make更高级的编译配置工具,它可以根据不同平台、不同的编译器,生成相应的Makefile或者vcproj项目。通过编写CMakeLists.txt,可以控制生成的Makefile,从而控制编译过程。CMake自动生成的Makefile不仅可以通过make ...
分类:
其他好文 时间:
2017-04-12 20:25:35
阅读次数:
1009
//声明对象 @property (nonatomic,strong) UIActivityIndicatorView *activityindicator; self.activityindicator = [[UIActivityIndicatorViewalloc] initWithFrame ...
分类:
其他好文 时间:
2017-04-12 14:59:57
阅读次数:
145
Prosperity discovers vice, adversity virtue. 得意时露瑕疵,逆境中见品质。 Adversity will discover your virtue, not produce your virtue. It is through your own exerc ...
分类:
其他好文 时间:
2017-04-12 11:21:32
阅读次数:
144
Step 1: Create the Incremental Backup RMAN> BACKUP DEVICE TYPE DISK INCREMENTAL FROM SCN 750983 DATABASE FORMAT '/tmp/incr_for_standby/bkup_%U'; Step ...
分类:
数据库 时间:
2017-04-12 09:50:29
阅读次数:
174
解决办法: 1) 可以用 " touch * " 来更新整个项目文件的时间,这也可以解决问题。 或 2)" touch 对应文件 " 就可以解决这个问题。 touch之后,再make工程就可以正常编译你的代码了。 ...
分类:
其他好文 时间:
2017-04-12 09:42:33
阅读次数:
157
首先到官网下载需要的包:http://www.keepalived.org/download.html 然后系统出现警告: *** WARNING - this build will not support IPVS with IPv6. Please install libnl/libnl-3 d ...
分类:
其他好文 时间:
2017-04-12 04:41:13
阅读次数:
463
Window -> Preferences -> Java -> Code Style -> Code templates -> (in right-hand pane) Comments -> double-click Types and make sure it has the followin ...
分类:
系统相关 时间:
2017-04-12 03:35:49
阅读次数:
212
os模块 转自http://www.cnblogs.com/zhaof/p/5809246.html ...
分类:
编程语言 时间:
2017-04-12 02:41:03
阅读次数:
196