秀米云香港服务器

Nginx需要依赖下面3个包

序列号 CPU RAM HDD 带宽 售价(美元) 免费试用
香港服务器1 E5-2620 32G 1T HDD 50M/无限流量 $196.00 立即申请
香港服务器2 E5-2650 32G 1T HDD 50M/无限流量 $256.00 立即申请
香港服务器3 E5-2680 32G 1T HDD 50M/无限流量 $316.00 立即申请
香港服务器4 E5-2690 32G 1T HDD 50M/无限流量 $336.00 立即申请
香港服务器5 E5-2697 32G 1T HDD 50M/无限流量 $376.00 立即申请
香港服务器6 E5-2620*2 32G 1T HDD 50M/无限流量 $376.00 立即申请
香港服务器7 E5-2650*2 32G 1T HDD 50M/无限流量 $436.00 立即申请
香港服务器8 E5-2680*2 32G 1T HDD 50M/无限流量 $476.00 立即申请
香港服务器9 E5-2690*2 32G 1T HDD 50M/无限流量 $556.00 立即申请
香港服务器10 E5-2697*2 32G 1T HDD 50M/无限流量 $596.00 立即申请
香港服务器11 E5-2680v4*2 32G 1T HDD 50M/无限流量 $696.00 立即申请
香港服务器12 E5-2698v4*2 32G 1T HDD 50M/无限流量 $796.00 立即申请

1. gzip 模块需要 zlib 库 ( 下载: http://www.zlib.net/ )zlib-1.2.8.tar.gz

2. rewrite 模块需要 pcre 库 ( 下载: http://www.pcre.org/ )pcre-8.21.tar.gz

3. ssl 功能需要 openssl 库 ( 下载: http://www.openssl.org/ )openssl-1.0.1.tar.gz

注意:如果用源码安装的话,后面nginx安装的时候需要指定--with-pcre对应的压缩包路径,如果用二进制包安装则不需指定

依赖包一键安装:yum -y install zlib zlib-devel opensslopenssl--devel pcre pcre-devel

yum -y groupinstall "Development Tools" "Development Libraries"此命令可以一键安装开发工具包

安装命令: 

openssl:tar-xzvfopenssl-1.0..tar.gzcdopenssl-1.0../config(注意)&&make&&makeinstallpcre:tar-xzvfpcre-8.21.tar.gzcdpcre-8.21./configure&&make&&makeinstallzlib:tar-xzvfzlib-1.2..tar.gzcdzlib-1.2../configure&&make&&makeinstall

nginx安装命令:nginx各个版本下载地址:http://nginx.org/download/

groupadd-rnginxuseradd-r-gnginx-s/bin/false-Mnginx#注意前面至少一个有空格./configure--sbin-path=/usr/local/nginx/nginx--conf-path=/usr/local/nginx/nginx.conf--pid-path=/usr/local/nginx/nginx.pid--with-http_ssl_module--with-pcre=../pcre-8.21#指向解压的源码目录--with-zlib=../zlib-1.2.#指向解压的源码目录--with-openssl=../openssl-1.0.#指向解压的源码目录--with-http_stub_status_module#启用nginx的NginxStatus功能,用来监控Nginx的当前状态--user=nginx--group=nginx

注:编译好的nginx可以通过/usr/local/nginx/nginx-V(具体路径以安装的为主) 查看编译时候的参数

启动nginx

/usr/local/nginx/nginx#不指定配置文件地址/usr/local/nginx/nginx-c/usr/local/nginx/nginx.conf#指定配置文件地址

停止服务

sudokill`cat/usr/local/nginx/nginx.pid`

服务控制脚本(todo)

浏览器中输入localhost如果可以看到欢迎界面则安装成功

虚拟主机配置

  只需更改 server_name 为对应的网站域名即可

检测配置文件  

/usr/local/nginx/nginx-t

重新加载配置文件(不停止服务)

/usr/local/nginx/nginx-sreload

打开目录浏览功能

location/{autoindexon;#打开目录列表autoindex_exact_sizeoff;#on显示文件的确切大小,off则会用M、G等单位autoindex_localtimeon;#显示文件服务器时间,off显示GMT时间roothtml;indexindex.htmlindex.htm;}

Nginx编译参数解析

–prefix#nginx安装目录,默认在/usr/local/nginx–pid-path#pid问件位置,默认在logs目录–lock-path#lock问件位置,默认在logs目录–with-http_ssl_module#开启HTTPSSL模块,以支持HTTPS请求。–with-http_dav_module#开启WebDAV扩展动作模块,可为文件和目录指定权限–with-http_flv_module#支持对FLV文件的拖动播放–with-http_realip_module#支持显示真实来源IP地址–with-http_gzip_static_module#预压缩文件传前检查,防止文件被重复压缩–with-http_stub_status_module#取得一些nginx的运行状态–with-mail#允许POP3/IMAP4/SMTP代理模块–with-mail_ssl_module#允许POP3/IMAP/SMTP可以使用SSL/TLS–with-pcre=../pcre-8.11#注意是未安装的pcre路径–with-zlib=../zlib-1.2.#注意是未安装的zlib路径–with-debug#允许调试日志–http-client-body-temp-path#客户端请求临时文件路径–http-proxy-temp-path#设置httpproxy临时文件路径–http-fastcgi-temp-path#设置httpfastcgi临时文件路径–http-uwsgi-temp-path=/var/tmp/nginx/uwsgi#设置uwsgi临时文件路径–http-scgi-temp-path=/var/tmp/nginx/scgi#设置scgi临时文件路径

pcre安装日志

pcre-8.21configurationsummary:Installprefix..................:/usr/localCpreprocessor..................:gcc-ECcompiler......................:gccC++preprocessor................:g++-EC++compiler....................:g++Linker..........................:/usr/bin/ldCpreprocessorflags............:Ccompilerflags................:-O2C++compilerflags..............:-O2Linkerflags....................:Extralibraries.................:BuildC++library...............:yesEnableJITcompilingsupport....:noEnableUTF-support............:noUnicodeproperties..............:noNewlinechar/sequence...........:lfRmatchesonlyANYCRLF.........:noEBCDICcoding...................:noRebuildchartables.............:noUsestackrecursion.............:yesPOSIXmemthreshold.............:Internallinksize..............:Matchlimit.....................:Matchlimitrecursion...........:MATCH_LIMITBuildsharedlibs...............:yesBuildstaticlibs...............:yesUseJITinpcregrep.............:noBuffersizeforpcregrep........:Linkpcregrepwithlibz.........:noLinkpcregrepwithlibbz2.......:noLinkpcretestwithlibreadline..:no——————————————————————————————————————————————————————————————————————make[]:Enteringdirectory`/root/software/pcre-8.21'test-z"/usr/local/lib"||/bin/mkdir-p"/usr/local/lib"/bin/sh./libtool--mode=install/usr/bin/install-clibpcre.lalibpcreposix.lalibpcrecpp.la'/usr/local/lib'libtool:install:/usr/bin/install-c.libs/libpcre.so.0.0./usr/local/lib/libpcre.so.0.0.libtool:install:(cd/usr/local/lib&&{ln-s-flibpcre.so.0.0.libpcre.so.||{rm-flibpcre.so.&&ln-slibpcre.so.0.0.libpcre.so.;};})libtool:install:(cd/usr/local/lib&&{ln-s-flibpcre.so.0.0.libpcre.so||{rm-flibpcre.so&&ln-slibpcre.so.0.0.libpcre.so;};})libtool:install:/usr/bin/install-c.libs/libpcre.lai/usr/local/lib/libpcre.lalibtool:install:warning:relinking`libpcreposix.la'libtool:install:(cd/root/software/pcre-8.21;/bin/sh/root/software/pcre-8.21/libtool--tagCC--mode=relinkgcc-O2-version-info::-olibpcreposix.la-rpath/usr/local/libpcreposix.lolibpcre.la)libtool:relink:gcc-shared-fPIC-DPIC.libs/pcreposix.o-Wl,-rpath-Wl,/usr/local/lib-L/usr/local/lib-lpcre-O2-Wl,-soname-Wl,libpcreposix.so.-o.libs/libpcreposix.so.0.0.libtool:install:/usr/bin/install-c.libs/libpcreposix.so.0.0.0T/usr/local/lib/libpcreposix.so.0.0.libtool:install:(cd/usr/local/lib&&{ln-s-flibpcreposix.so.0.0.libpcreposix.so.||{rm-flibpcreposix.so.&&ln-slibpcreposix.so.0.0.libpcreposix.so.;};})libtool:install:(cd/usr/local/lib&&{ln-s-flibpcreposix.so.0.0.libpcreposix.so||{rm-flibpcreposix.so&&ln-slibpcreposix.so.0.0.libpcreposix.so;};})libtool:install:/usr/bin/install-c.libs/libpcreposix.lai/usr/local/lib/libpcreposix.lalibtool:install:warning:relinking`libpcrecpp.la'libtool:install:(cd/root/software/pcre-8.21;/bin/sh/root/software/pcre-8.21/libtool--tagCXX--mode=relinkg++-O2-version-info::-olibpcrecpp.la-rpath/usr/local/libpcrecpp.lopcre_scanner.lopcre_stringpiece.lolibpcre.la)libtool:relink:g++-fPIC-DPIC-shared-nostdlib/usr/lib/gcc/i686-redhat-linux/4.4./../../../crti.o/usr/lib/gcc/i686-redhat-linux/4.4./crtbeginS.o.libs/pcrecpp.o.libs/pcre_scanner.o.libs/pcre_stringpiece.o-Wl,-rpath-Wl,/usr/local/lib-L/usr/local/lib-lpcre-L/usr/lib/gcc/i686-redhat-linux/4.4.-L/usr/lib/gcc/i686-redhat-linux/4.4./../../..-lstdc++-lm-lc-lgcc_s/usr/lib/gcc/i686-redhat-linux/4.4./crtendS.o/usr/lib/gcc/i686-redhat-linux/4.4./../../../crtn.o-O2-Wl,-soname-Wl,libpcrecpp.so.-o.libs/libpcrecpp.so.0.0.libtool:install:/usr/bin/install-c.libs/libpcrecpp.so.0.0.0T/usr/local/lib/libpcrecpp.so.0.0.libtool:install:(cd/usr/local/lib&&{ln-s-flibpcrecpp.so.0.0.libpcrecpp.so.||{rm-flibpcrecpp.so.&&ln-slibpcrecpp.so.0.0.libpcrecpp.so.;};})libtool:install:(cd/usr/local/lib&&{ln-s-flibpcrecpp.so.0.0.libpcrecpp.so||{rm-flibpcrecpp.so&&ln-slibpcrecpp.so.0.0.libpcrecpp.so;};})libtool:install:/usr/bin/install-c.libs/libpcrecpp.lai/usr/local/lib/libpcrecpp.lalibtool:install:/usr/bin/install-c.libs/libpcre.a/usr/local/lib/libpcre.alibtool:install:chmod/usr/local/lib/libpcre.alibtool:install:ranlib/usr/local/lib/libpcre.alibtool:install:/usr/bin/install-c.libs/libpcreposix.a/usr/local/lib/libpcreposix.alibtool:install:chmod/usr/local/lib/libpcreposix.alibtool:install:ranlib/usr/local/lib/libpcreposix.alibtool:install:/usr/bin/install-c.libs/libpcrecpp.a/usr/local/lib/libpcrecpp.alibtool:install:chmod/usr/local/lib/libpcrecpp.alibtool:install:ranlib/usr/local/lib/libpcrecpp.alibtool:finish:PATH="/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/mysql/bin:/root/bin:/sbin"ldconfig-n/usr/local/lib----------------------------------------------------------------------Librarieshavebeeninstalledin:/usr/local/libIfyoueverhappentowanttolinkagainstinstalledlibrariesinagivendirectory,LIBDIR,youmusteitheruselibtool,andspecifythefullpathnameofthelibrary,orusethe`-LLIBDIR'flagduringlinkinganddoatleastoneofthefollowing:-addLIBDIRtothe`LD_LIBRARY_PATH'environmentvariableduringexecution-addLIBDIRtothe`LD_RUN_PATH'environmentvariableduringlinking-usethe`-Wl,-rpath-Wl,LIBDIR'linkerflag-haveyoursystemadministratoraddLIBDIRto`/etc/ld.so.conf'Seeanyoperatingsystemdocumentationaboutsharedlibrariesformoreinformation,suchastheld()andld.so()manualpages.

openssl安装日志

[[email protected]openssl-fips-2.0.]#makeinstallif[-n"libcrypto"];thenEXCL_OBJ='aes-586.oaesni-x86.obn-586.oco-586.ox86-mont.ox86-gf2m.odes-586.ocrypt586.ox86cpuid.osha1-586.osha256-586.osha512-586.oghash-x86.o../crypto/aes/aes_cfb.o../crypto/aes/aes_ecb.o../crypto/aes/aes_ofb.o../crypto/bn/bn_add.o../crypto/bn/bn_blind.o../crypto/bn/bn_ctx.o../crypto/bn/bn_div.o../crypto/bn/bn_exp2.o../crypto/bn/bn_exp.o../crypto/bn/bn_gcd.o../crypto/bn/bn_gf2m.o../crypto/bn/bn_lib.o../crypto/bn/bn_mod.o../crypto/bn/bn_mont.o../crypto/bn/bn_mul.o../crypto/bn/bn_nist.o../crypto/bn/bn_prime.o../crypto/bn/bn_rand.o../crypto/bn/bn_recp.o../crypto/bn/bn_shift.o../crypto/bn/bn_sqr.o../crypto/bn/bn_word.o../crypto/bn/bn_x931p.o../crypto/buffer/buf_str.o../crypto/cmac/cmac.o../crypto/cryptlib.o../crypto/des/cfb64ede.o../crypto/des/cfb64enc.o../crypto/des/cfb_enc.o../crypto/des/ecb3_enc.o../crypto/des/ofb64ede.o../crypto/des/fcrypt.o../crypto/des/set_key.o../crypto/dh/dh_check.o../crypto/dh/dh_gen.o../crypto/dh/dh_key.o../crypto/dsa/dsa_gen.o../crypto/dsa/dsa_key.o../crypto/dsa/dsa_ossl.o../crypto/ec/ec_curve.o../crypto/ec/ec_cvt.o../crypto/ec/ec_key.o../crypto/ec/ec_lib.o../crypto/ec/ecp_mont.o../crypto/ec/ec_mult.o../crypto/ec/ecp_nist.o../crypto/ec/ecp_smpl.o../crypto/ec/ec2_mult.o../crypto/ec/ec2_smpl.o../crypto/ecdh/ech_key.o../crypto/ecdh/ech_ossl.o../crypto/ecdsa/ecs_ossl.o../crypto/evp/e_aes.o../crypto/evp/e_des3.o../crypto/evp/e_null.o../crypto/evp/m_sha1.o../crypto/evp/m_dss1.o../crypto/evp/m_dss.o../crypto/evp/m_ecdsa.o../crypto/hmac/hmac.o../crypto/modes/cbc128.o../crypto/modes/ccm128.o../crypto/modes/cfb128.o../crypto/modes/ctr128.o../crypto/modes/gcm128.o../crypto/modes/ofb128.o../crypto/modes/xts128.o../crypto/rsa/rsa_eay.o../crypto/rsa/rsa_gen.o../crypto/rsa/rsa_crpt.o../crypto/rsa/rsa_none.o../crypto/rsa/rsa_oaep.o../crypto/rsa/rsa_pk1.o../crypto/rsa/rsa_pss.o../crypto/rsa/rsa_ssl.o../crypto/rsa/rsa_x931.o../crypto/rsa/rsa_x931g.o../crypto/sha/sha1dgst.o../crypto/sha/sha256.o../crypto/sha/sha512.o../crypto/thr_id.o../crypto/uid.o';exportEXCL_OBJ;ARX='/usr/bin/perl${TOP}/util/arx.plarr';elseARX='arr';fi;exportARX;if[y="y"];thenAS='/usr/bin/perl${TOP}/util/fipsas.pl${TOP}${<}gcc';elseAS='gcc-c';fi;exportAS;dir=crypto;target=fips;ifexpr"cryptofipstest":".*$dir">/dev/null>&;thenif[-d"$dir"];then(cd$dir&&echo"making$targetin$dir..."&&TOP=&&unsetTOP${LIB+LIB}${LIBS+LIBS}${INCLUDE+INCLUDE}${INCLUDES+INCLUDES}${DIR+DIR}${DIRS+DIRS}${SRC+SRC}${LIBSRC+LIBSRC}${LIBOBJ+LIBOBJ}${ALL+ALL}${EXHEADER+EXHEADER}${HEADER+HEADER}${GENERAL+GENERAL}${CFLAGS+CFLAGS}${ASFLAGS+ASFLAGS}${AFLAGS+AFLAGS}${LDCMD+LDCMD}${LDFLAGS+LDFLAGS}${SHAREDCMD+SHAREDCMD}${SHAREDFLAGS+SHAREDFLAGS}${SHARED_LIB+SHARED_LIB}${LIBEXTRAS+LIBEXTRAS}&&make-ePLATFORM='linux-elf'PROCESSOR=''CC='gcc'CFLAG='-DOPENSSL_FIPSCANISTER-fPIC-DOPENSSL_PIC-DOPENSSL_THREADS-D_REENTRANT-DDSO_DLFCN-DHAVE_DLFCN_H-Wa,--noexecstack-DL_ENDIAN-DTERMIO-O3-fomit-frame-pointer-Wall-DOPENSSL_BN_ASM_PART_WORDS-DOPENSSL_IA32_SSE2-DOPENSSL_BN_ASM_MONT-DOPENSSL_BN_ASM_GF2m-DSHA1_ASM-DSHA256_ASM-DSHA512_ASM-DMD5_ASM-DRMD160_ASM-DAES_ASM-DWHIRLPOOL_ASM-DGHASH_ASM'ASFLAG='-DOPENSSL_FIPSCANISTER-fPIC-DOPENSSL_PIC-DOPENSSL_THREADS-D_REENTRANT-DDSO_DLFCN-DHAVE_DLFCN_H-Wa,--noexecstack-DL_ENDIAN-DTERMIO-O3-fomit-frame-pointer-Wall-DOPENSSL_BN_ASM_PART_WORDS-DOPENSSL_IA32_SSE2-DOPENSSL_BN_ASM_MONT-DOPENSSL_BN_ASM_GF2m-DSHA1_ASM-DSHA256_ASM-DSHA512_ASM-DMD5_ASM-DRMD160_ASM-DAES_ASM-DWHIRLPOOL_ASM-DGHASH_ASM-c'AR='arr'NM='nm'RANLIB='/usr/bin/ranlib'CROSS_COMPILE=''PERL='/usr/bin/perl'ENGDIRS='ccgost'SDIRS='shahmacdesaesmodesbnecrsadsaecdsadhbufferevpecdhcmac'LIBRPATH='/usr/local/ssl/fips-2.0/lib'INSTALL_PREFIX=''INSTALLTOP='/usr/local/ssl/fips-2.0'OPENSSLDIR='/usr/local/ssl/fips-2.0'LIBDIR='lib'MAKEDEPEND='$${TOP}/util/domd$${TOP}-MDgcc'DEPFLAG='-DOPENSSL_NO_DEPRECATED-DOPENSSL_NO_BF-DOPENSSL_NO_CAMELLIA-DOPENSSL_NO_CAST-DOPENSSL_NO_EC_NISTP_64_GCC_128-DOPENSSL_NO_GMP-DOPENSSL_NO_IDEA-DOPENSSL_NO_JPAKE-DOPENSSL_NO_MD2-DOPENSSL_NO_MD5-DOPENSSL_NO_MDC2-DOPENSSL_NO_RC2-DOPENSSL_NO_RC4-DOPENSSL_NO_RC5-DOPENSSL_NO_RFC3779-DOPENSSL_NO_RIPEMD-DOPENSSL_NO_SEED-DOPENSSL_NO_SRP-DOPENSSL_NO_SSL2-DOPENSSL_NO_SSL3-DOPENSSL_NO_STORE-DOPENSSL_NO_TLS1-DOPENSSL_NO_TLSEXT'MAKEDEPPROG='gcc'SHARED_LDFLAGS=''KRB5_INCLUDES=''LIBKRB5=''ZLIB_INCLUDE=''LIBZLIB=''EXE_EXT=''SHARED_LIBS='libcrypto.so.1.1.0libssl.so.1.1.0'SHLIB_EXT='.so.1.1.0'SHLIB_TARGET='linux-shared'PEX_LIBS=''EX_LIBS='-ldl'CPUID_OBJ='x86cpuid.o'BN_ASM='bn-586.oco-586.ox86-mont.ox86-gf2m.o'DES_ENC='des-586.ocrypt586.o'AES_ENC='aes-586.oaesni-x86.o'CMLL_ENC='cmll-x86.o'BF_ENC='bf-586.o'CAST_ENC='c_enc.o'RC4_ENC='rc4-586.o'RC5_ENC='rc5-586.o'SHA1_ASM_OBJ='sha1-586.osha256-586.osha512-586.o'MD5_ASM_OBJ='md5-586.o'RMD160_ASM_OBJ='rmd-586.o'WP_ASM_OBJ='wp_block.owp-mmx.o'MODES_ASM_OBJ='ghash-x86.o'PERLASM_SCHEME='elf'FIPSLIBDIR=''FIPSCANLIB="${FIPSCANLIB:-libcrypto}"FIPSCANISTERINTERNAL='y'FIPSCANISTERONLY='y'FIPS_EX_OBJ='../crypto/aes/aes_cfb.o../crypto/aes/aes_ecb.o../crypto/aes/aes_ofb.o../crypto/bn/bn_add.o../crypto/bn/bn_blind.o../crypto/bn/bn_ctx.o../crypto/bn/bn_div.o../crypto/bn/bn_exp2.o../crypto/bn/bn_exp.o../crypto/bn/bn_gcd.o../crypto/bn/bn_gf2m.o../crypto/bn/bn_lib.o../crypto/bn/bn_mod.o../crypto/bn/bn_mont.o../crypto/bn/bn_mul.o../crypto/bn/bn_nist.o../crypto/bn/bn_prime.o../crypto/bn/bn_rand.o../crypto/bn/bn_recp.o../crypto/bn/bn_shift.o../crypto/bn/bn_sqr.o../crypto/bn/bn_word.o../crypto/bn/bn_x931p.o../crypto/buffer/buf_str.o../crypto/cmac/cmac.o../crypto/cryptlib.o../crypto/des/cfb64ede.o../crypto/des/cfb64enc.o../crypto/des/cfb_enc.o../crypto/des/ecb3_enc.o../crypto/des/ofb64ede.o../crypto/des/fcrypt.o../crypto/des/set_key.o../crypto/dh/dh_check.o../crypto/dh/dh_gen.o../crypto/dh/dh_key.o../crypto/dsa/dsa_gen.o../crypto/dsa/dsa_key.o../crypto/dsa/dsa_ossl.o../crypto/ec/ec_curve.o../crypto/ec/ec_cvt.o../crypto/ec/ec_key.o../crypto/ec/ec_lib.o../crypto/ec/ecp_mont.o../crypto/ec/ec_mult.o../crypto/ec/ecp_nist.o../crypto/ec/ecp_smpl.o../crypto/ec/ec2_mult.o../crypto/ec/ec2_smpl.o../crypto/ecdh/ech_key.o../crypto/ecdh/ech_ossl.o../crypto/ecdsa/ecs_ossl.o../crypto/evp/e_aes.o../crypto/evp/e_des3.o../crypto/evp/e_null.o../crypto/evp/m_sha1.o../crypto/evp/m_dss1.o../crypto/evp/m_dss.o../crypto/evp/m_ecdsa.o../crypto/hmac/hmac.o../crypto/modes/cbc128.o../crypto/modes/ccm128.o../crypto/modes/cfb128.o../crypto/modes/ctr128.o../crypto/modes/gcm128.o../crypto/modes/ofb128.o../crypto/modes/xts128.o../crypto/rsa/rsa_eay.o../crypto/rsa/rsa_gen.o../crypto/rsa/rsa_crpt.o../crypto/rsa/rsa_none.o../crypto/rsa/rsa_oaep.o../crypto/rsa/rsa_pk1.o../crypto/rsa/rsa_pss.o../crypto/rsa/rsa_ssl.o../crypto/rsa/rsa_x931.o../crypto/rsa/rsa_x931g.o../crypto/sha/sha1dgst.o../crypto/sha/sha256.o../crypto/sha/sha512.o../crypto/thr_id.o../crypto/uid.o'THIS=${THIS:-build_crypto}MAKEFILE=MakefileMAKEOVERRIDES=TOP=..DIR=$dir$target)||exit;fi;fimakingfipsincrypto...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto'[-n"shahmacdesaesmodesbnecrsadsaecdsadhbufferevpecdhcmac"]&&foriinshahmacdesaesmodesbnecrsadsaecdsadhbufferevpecdhcmac;do(obj=`/usr/bin/perl../util/fipsobj.pl$i`&&cd$i&&echo"makingfipsincrypto/$i..."&&make-eTOP=../..DIR=$iINCLUDES='-I..-I../..-I../modes-I../asn1-I../evp-I../../include'$obj)||exit;done;makingfipsincrypto/sha...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/sha'make[]:“sha1dgst.o”是最新的。make[]:“sha256.o”是最新的。make[]:“sha512.o”是最新的。make[]:“sha1-.o”是最新的。make[]:“sha256-.o”是最新的。make[]:“sha512-.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/sha'makingfipsincrypto/hmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/hmac'make[]:“hmac.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/hmac'makingfipsincrypto/des...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/des'make[]:“cfb64ede.o”是最新的。make[]:“cfb64enc.o”是最新的。make[]:“cfb_enc.o”是最新的。make[]:“ecb3_enc.o”是最新的。make[]:“ofb64ede.o”是最新的。make[]:“fcrypt.o”是最新的。make[]:“set_key.o”是最新的。make[]:“des-.o”是最新的。make[]:“crypt586.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/des'makingfipsincrypto/aes...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/aes'make[]:“aes_cfb.o”是最新的。make[]:“aes_ecb.o”是最新的。make[]:“aes_ofb.o”是最新的。make[]:“aes-.o”是最新的。make[]:“aesni-x86.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/aes'makingfipsincrypto/modes...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/modes'make[]:“cbc128.o”是最新的。make[]:“ccm128.o”是最新的。make[]:“cfb128.o”是最新的。make[]:“ctr128.o”是最新的。make[]:“gcm128.o”是最新的。make[]:“ofb128.o”是最新的。make[]:“xts128.o”是最新的。make[]:“ghash-x86.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/modes'makingfipsincrypto/bn...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/bn'make[]:“bn_add.o”是最新的。make[]:“bn_blind.o”是最新的。make[]:“bn_ctx.o”是最新的。make[]:“bn_div.o”是最新的。make[]:“bn_exp2.o”是最新的。make[]:“bn_exp.o”是最新的。make[]:“bn_gcd.o”是最新的。make[]:“bn_gf2m.o”是最新的。make[]:“bn_lib.o”是最新的。make[]:“bn_mod.o”是最新的。make[]:“bn_mont.o”是最新的。make[]:“bn_mul.o”是最新的。make[]:“bn_nist.o”是最新的。make[]:“bn_prime.o”是最新的。make[]:“bn_rand.o”是最新的。make[]:“bn_recp.o”是最新的。make[]:“bn_shift.o”是最新的。make[]:“bn_sqr.o”是最新的。make[]:“bn_word.o”是最新的。make[]:“bn_x931p.o”是最新的。make[]:“bn-.o”是最新的。make[]:“co-.o”是最新的。make[]:“x86-mont.o”是最新的。make[]:“x86-gf2m.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/bn'makingfipsincrypto/ec...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/ec'make[]:“ec_curve.o”是最新的。make[]:“ec_cvt.o”是最新的。make[]:“ec_key.o”是最新的。make[]:“ec_lib.o”是最新的。make[]:“ecp_mont.o”是最新的。make[]:“ec_mult.o”是最新的。make[]:“ecp_nist.o”是最新的。make[]:“ecp_smpl.o”是最新的。make[]:“ec2_mult.o”是最新的。make[]:“ec2_smpl.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/ec'makingfipsincrypto/rsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/rsa'make[]:“rsa_eay.o”是最新的。make[]:“rsa_gen.o”是最新的。make[]:“rsa_crpt.o”是最新的。make[]:“rsa_none.o”是最新的。make[]:“rsa_oaep.o”是最新的。make[]:“rsa_pk1.o”是最新的。make[]:“rsa_pss.o”是最新的。make[]:“rsa_ssl.o”是最新的。make[]:“rsa_x931.o”是最新的。make[]:“rsa_x931g.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/rsa'makingfipsincrypto/dsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/dsa'make[]:“dsa_gen.o”是最新的。make[]:“dsa_key.o”是最新的。make[]:“dsa_ossl.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/dsa'makingfipsincrypto/ecdsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/ecdsa'make[]:“ecs_ossl.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/ecdsa'makingfipsincrypto/dh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/dh'make[]:“dh_check.o”是最新的。make[]:“dh_gen.o”是最新的。make[]:“dh_key.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/dh'makingfipsincrypto/buffer...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/buffer'make[]:“buf_str.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/buffer'makingfipsincrypto/evp...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/evp'make[]:“e_aes.o”是最新的。make[]:“e_des3.o”是最新的。make[]:“e_null.o”是最新的。make[]:“m_sha1.o”是最新的。make[]:“m_dss1.o”是最新的。make[]:“m_dss.o”是最新的。make[]:“m_ecdsa.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/evp'makingfipsincrypto/ecdh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/ecdh'make[]:“ech_key.o”是最新的。make[]:“ech_ossl.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/ecdh'makingfipsincrypto/cmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/cmac'make[]:“cmac.o”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/cmac'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto'makingallinfips...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips'make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips'makingallinfips/sha...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/sha'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/sha'makingallinfips/rand...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/rand'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/rand'makingallinfips/des...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/des'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/des'makingallinfips/aes...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/aes'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/aes'makingallinfips/dsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/dsa'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/dsa'makingallinfips/ecdh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/ecdh'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/ecdh'makingallinfips/ecdsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/ecdsa'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/ecdsa'makingallinfips/rsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/rsa'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/rsa'makingallinfips/dh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/dh'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/dh'makingallinfips/cmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/cmac'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/cmac'makingallinfips/hmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/hmac'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/hmac'makingallinfips/utl...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/utl'make[]:Nothingtobedonefor`all'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/utl'make[]:“lib”是最新的。make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips'createddirectory`/usr/local/ssl'createddirectory`/usr/local/ssl/fips-2.0'createddirectory`/usr/local/ssl/fips-2.0/bin'createddirectory`/usr/local/ssl/fips-2.0/lib'createddirectory`/usr/local/ssl/fips-2.0/include'createddirectory`/usr/local/ssl/fips-2.0/include/openssl'makinginstallincrypto...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto'makinginstallincrypto/sha...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/sha'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/sha'makinginstallincrypto/hmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/hmac'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/hmac'makinginstallincrypto/des...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/des'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/des'makinginstallincrypto/aes...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/aes'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/aes'makinginstallincrypto/modes...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/modes'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/modes'makinginstallincrypto/bn...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/bn'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/bn'makinginstallincrypto/ec...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/ec'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/ec'makinginstallincrypto/rsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/rsa'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/rsa'makinginstallincrypto/dsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/dsa'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/dsa'makinginstallincrypto/ecdsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/ecdsa'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/ecdsa'makinginstallincrypto/dh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/dh'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/dh'makinginstallincrypto/buffer...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/buffer'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/buffer'makinginstallincrypto/evp...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/evp'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/evp'makinginstallincrypto/ecdh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/ecdh'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/ecdh'makinginstallincrypto/cmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./crypto/cmac'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto/cmac'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./crypto'makinginstallinfips...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips'makinginstallinfips/sha...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/sha'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/sha'makinginstallinfips/rand...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/rand'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/rand'makinginstallinfips/des...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/des'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/des'makinginstallinfips/aes...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/aes'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/aes'makinginstallinfips/dsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/dsa'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/dsa'makinginstallinfips/ecdh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/ecdh'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/ecdh'makinginstallinfips/ecdsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/ecdsa'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/ecdsa'makinginstallinfips/rsa...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/rsa'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/rsa'makinginstallinfips/dh...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/dh'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/dh'makinginstallinfips/cmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/cmac'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/cmac'makinginstallinfips/hmac...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/hmac'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/hmac'makinginstallinfips/utl...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./fips/utl'make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips/utl'foriinfipsldfips_standalone_sha1;doecho"installing$i";cp$i/usr/local/ssl/fips-2.0/bin/$i.new;chmod/usr/local/ssl/fips-2.0/bin/$i.new;mv-f/usr/local/ssl/fips-2.0/bin/$i.new/usr/local/ssl/fips-2.0/bin/$i;doneinstallingfipsldinstallingfips_standalone_sha1cp-p-ffipscanister.ofipscanister.o.sha1fips_premain.cfips_premain.c.sha1/usr/local/ssl/fips-2.0/lib/;chmod/usr/local/ssl/fips-2.0/lib/fips*make[]:Leavingdirectory`/root/software/openssl-fips-2.0./fips'makinginstallintest...make[]:Enteringdirectory`/root/software/openssl-fips-2.0./test'make[]:Nothingtobedonefor`install'.make[]:Leavingdirectory`/root/software/openssl-fips-2.0./test'

zlib安装日志

cplibz.a/usr/local/libchmod/usr/local/lib/libz.acplibz.so.1.2./usr/local/libchmod/usr/local/lib/libz.so.1.2.cpzlib./usr/local/share/man/man3chmod/usr/local/share/man/man3/zlib.cpzlib.pc/usr/local/lib/pkgconfigchmod/usr/local/lib/pkgconfig/zlib.pccpzlib.hzconf.h/usr/local/includechmod/usr/local/include/zlib.h/usr/local/include/zconf.h

nginx安装日志

Configurationsummary+usingPCRElibrary:../pcre-8.21+usingOpenSSLlibrary:../openssl-fips-2.0.+md5:usingOpenSSLlibrary+sha1:usingOpenSSLlibrary+usingzliblibrary:../zlib-1.2.nginxpathprefix:"/usr/local/nginx"nginxbinaryfile:"/usr/local/nginx/nginx"nginxconfigurationprefix:"/usr/local/nginx"nginxconfigurationfile:"/usr/local/nginx/nginx.conf"nginxpidfile:"/usr/local/nginx/nginx.pid"nginxerrorlogfile:"/usr/local/nginx/logs/error.log"nginxhttpaccesslogfile:"/usr/local/nginx/logs/access.log"nginxhttpclientrequestbodytemporaryfiles:"client_body_temp"nginxhttpproxytemporaryfiles:"proxy_temp"nginxhttpfastcgitemporaryfiles:"fastcgi_temp"nginxhttpuwsgitemporaryfiles:"uwsgi_temp"nginxhttpscgitemporaryfiles:"scgi_temp"_________________________________________________________________[[email protected]nginx-1.4.]#makeinstallmake-fobjs/Makefileinstallmake[]:Enteringdirectory`/root/software/nginx-1.4.'test-d'/usr/local/nginx'||mkdir-p'/usr/local/nginx'test-d'/usr/local/nginx'||mkdir-p'/usr/local/nginx'test!-f'/usr/local/nginx/nginx'||mv'/usr/local/nginx/nginx''/usr/local/nginx/nginx.old'cpobjs/nginx'/usr/local/nginx/nginx'test-d'/usr/local/nginx'||mkdir-p'/usr/local/nginx'cpconf/koi-win'/usr/local/nginx'cpconf/koi-utf'/usr/local/nginx'cpconf/win-utf'/usr/local/nginx'test-f'/usr/local/nginx/mime.types'||cpconf/mime.types'/usr/local/nginx'cpconf/mime.types'/usr/local/nginx/mime.types.default'test-f'/usr/local/nginx/fastcgi_params'||cpconf/fastcgi_params'/usr/local/nginx'cpconf/fastcgi_params'/usr/local/nginx/fastcgi_params.default'test-f'/usr/local/nginx/fastcgi.conf'||cpconf/fastcgi.conf'/usr/local/nginx'cpconf/fastcgi.conf'/usr/local/nginx/fastcgi.conf.default'test-f'/usr/local/nginx/uwsgi_params'||cpconf/uwsgi_params'/usr/local/nginx'cpconf/uwsgi_params'/usr/local/nginx/uwsgi_params.default'test-f'/usr/local/nginx/scgi_params'||cpconf/scgi_params'/usr/local/nginx'cpconf/scgi_params'/usr/local/nginx/scgi_params.default'test-f'/usr/local/nginx/nginx.conf'||cpconf/nginx.conf'/usr/local/nginx/nginx.conf'cpconf/nginx.conf'/usr/local/nginx/nginx.conf.default'test-d'/usr/local/nginx'||mkdir-p'/usr/local/nginx'test-d'/usr/local/nginx/logs'||mkdir-p'/usr/local/nginx/logs'test-d'/usr/local/nginx/html'||cp-Rhtml'/usr/local/nginx'test-d'/usr/local/nginx/logs'||mkdir-p'/usr/local/nginx/logs'make[]:Leavingdirectory`/root/software/nginx-1.4.'

标题:Nginx服务器编译安装过程手记

地址: https://www.yunhk.xyz/26320.html