查看当前编译 nginx -V 增加 --with-http_stub_status_module 监控nginx状态 进入我们之前的解压包路径 ./configure --prefix=/data/nginx --with-stream --with-http_stub_status_module ...
分类:
其他好文 时间:
2020-06-24 11:48:29
阅读次数:
61
1、下载源码:http://www.boost.org/ 2、tar zxvf boost_1_70_0.tar.gz 3、cd boost_1_70_0 4、 ./bootstrap.sh --with-libraries=all --with-toolset=gcc--with-librarie ...
分类:
系统相关 时间:
2020-06-23 19:26:01
阅读次数:
92
题目传送门:AtCoder Grand Contest 006。 A - Prefix and Suffix #include <iostream> #include <string> int N; std::string s, t; int main() { std::cin >> N >> s ...
分类:
其他好文 时间:
2020-06-23 19:17:25
阅读次数:
60
openssl版本:openssl-1.0.1h 64位编译 1、编译环境:openssl-1.0.0a必须用vs2008编译(Open Visual Studio 2008 x64 Cross Tools Command Prompt),VC6+nasm32是无法编译了,因为openssl-1.0 ...
默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件,通常通过源码包进行安装时,如果不指定--prefix,会将库安装在/usr/local/lib目录下;当运行程序需要链接动态库时,提示找不到相关的.so库,会报错。也就是说,/usr/local/lib目录不在系统默认的库搜索 ...
分类:
系统相关 时间:
2020-06-22 21:11:31
阅读次数:
66
文件->首选项->用户片段;搜索html.json;以下是一个标准的HTML模板。 { // Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body ...
分类:
Web程序 时间:
2020-06-22 18:43:17
阅读次数:
124
tar glibc-2.31.tar.gz cd glibc-2.31 mkdir build cd build ../configure --prefix=/usr/local/glibc-2.31 --with-headers=/usr/include make -j4 make install ...
分类:
系统相关 时间:
2020-06-22 15:08:42
阅读次数:
214
wget https://ftp.gnu.org/gnu/make/make-4.2.tar.gz tar -zxf make-4.2.tar.gz cd make-4.2 ./configure --prefix=$HOME/local make make install 可以在 ~/.bash_ ...
分类:
系统相关 时间:
2020-06-22 14:47:58
阅读次数:
64
[root@ha1soft]#wgethttp://tengine.taobao.org/download/tengine-2.3.2.tar.gz```添加www用户[root@ha1soft]#useraddwww-s/sbin/nologin-u1000[root@ha1soft]#ll-rw-r--r--1rootroot2835884Sep52019tengine-2.3.2.tar.g
分类:
其他好文 时间:
2020-06-22 11:07:18
阅读次数:
77
自己编译安装wget ./configure --prefix=/usr/local/nginx 先看下编译安装缺少资源 pcre 是个二进制库 pcre-devel是个开发的头文件 (缺少就安装)安装完成就启动 pkill-9 HTTP 带HTTP的进程全部杀掉inode 节点是磁盘上真正记录文件 ...
分类:
其他好文 时间:
2020-06-22 01:50:04
阅读次数:
75