下载安装包 wget http://download.redis.io/releases/redis-4.0.8.tar.gz解压 tar xzvf redis-4.0.8.tar.gz安装 cd redis-4.0.8 make cd src将文件安装到指定目录 make install PREF ...
分类:
其他好文 时间:
2019-12-22 16:37:08
阅读次数:
95
最近有同事在搞编译环境迁移,碰上一个问题让我帮他看一下。 他建了一个新目录,然后把现在的代码拷过去,编译的时候发现有一个文件编译不了一执行就出现core,不知道啥情况。 我进到他的编译环境,执行make,果然出现了core文件。 使用file命令分析,发现是proc程序的core。于是使用gdb,想 ...
分类:
其他好文 时间:
2019-12-22 16:11:37
阅读次数:
74
第18章 nginx服务优化 18.1 复习以前的nginx知识 18.1.1 复习nginx编译安装的3部曲 ./configure配置(开启/关闭功能),指定安装目录 make软件编译,将源代码编译成二进制文件 make install将一些目录进行复制,修改,文件进行修改,查看的操作 18.1... ...
分类:
其他好文 时间:
2019-12-22 14:18:53
阅读次数:
98
1. You are not allowed to write any production code unless it is to make a failing unit test pass. 除非为了使一个失败的unit test通过,否则不允许编写任何产品代码 2. You are not ...
分类:
其他好文 时间:
2019-12-22 12:24:41
阅读次数:
75
A hundred years ago it was assumed and scientifically "proved" by economists that the laws of society make it necessary to have a vast army of poor an ...
分类:
其他好文 时间:
2019-12-22 10:38:04
阅读次数:
89
OpenImageDebugger + QtCreator在Linux下图像处理可以和Visual Studio + Image Watch一样方便了 ...
分类:
其他好文 时间:
2019-12-22 00:29:38
阅读次数:
169
下载地址: http://www.cygwin.com/setup-x86_64.exe 静默安装办法: .\setup-x86_64.exe --no-shortcuts --root D:\\Cygwin64 --packages gcc-core,gcc-g++,make,cmake,gdb, ...
./configure 配置环境make 是编译的意思。就是把源码包编译成二进制可执行文件make install 就是安装的意思。 make && make install 的意思是: make 与 make install 是两个命令,在你 ./configuration 生成了Makefile ...
分类:
其他好文 时间:
2019-12-21 18:25:25
阅读次数:
1236
# 安装 version=1.16.0yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel autoconf automake make wget https://nginx.org/down ...
分类:
其他好文 时间:
2019-12-21 18:22:45
阅读次数:
97