nginx tcp模块安装
- nginx版本 选择版本
- tcp_model https://github.com/yaoweibin/nginx_tcp_proxy_module
初始 nginx 1.12 版本安装
需要安装OpenSSl
- 有网络:sudo apt-get install libssl-dev
- 下载OpenSSl https://www.openssl.org/source/
安装过程
make 报错
../libcrypto.a(eng_rsax.o): In function `e_rsax_bn_mod_exp': eng_rsax.c:(.text+0x132f): undefined reference to `mod_exp_512' ../libcrypto.a(eng_rsax.o): In function `e_rsax_rsa_mod_exp': eng_rsax.c:(.text+0x1c08): undefined reference to `mod_exp_512' eng_rsax.c:(.text+0x22a8): undefined reference to `mod_exp_512' ../libcrypto.a(e_rc4_hmac_md5.o): In function `rc4_hmac_md5_cipher': e_rc4_hmac_md5.c:(.text+0x44e): undefined reference to `rc4_md5_enc' e_rc4_hmac_md5.c:(.text+0x4f1): undefined reference to `rc4_md5_enc'
解决方案 需配置 ./Configure linux-x86_64
make install 报错
cms.pod around line 457: Expected text after =item, not a number cms.pod around line 461: