nginx 安装手记
Nginx需要依赖下面3个包
- 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 openssl openssl--devel pcre pcre-devel
yum -y groupinstall "Development Tools" "Development Libraries" 此命令可以一键安装开发工具包
安装命令:
openssl:
tar -xzvf openssl-1.0..tar.gz
cd openssl-1.0.
./config(注意) && make && make install pcre:
tar -xzvf pcre-8.21.tar.gz
cd pcre-8.21
./configure && make && make install zlib:
tar -xzvf zlib-1.2..tar.gz
cd zlib-1.2.
./configure && make && make install
nginx安装命令: nginx各个版本下载地址:http://nginx.org/download/
groupadd -r nginx
useradd -r -g nginx -s /bin/false -M nginx #注意 \ 前面至少一个有空格
./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 #指定配置文件地址
停止服务
sudo kill `cat /usr/local/nginx/nginx.pid`
服务控制脚本(todo)
浏览器中输入localhost如果可以看到欢迎界面则安装成功
虚拟主机配置
只需更改 server_name 为对应的网站域名即可
检测配置文件
/usr/local/nginx/nginx -t
重新加载配置文件(不停止服务)
/usr/local/nginx/nginx -s reload
打开目录浏览功能
location / { autoindex on;#打开目录列表
autoindex_exact_size off; #on显示文件的确切大小,off则会用M、G等单位
autoindex_localtime on; #显示文件服务器时间,off显示GMT时间
root html;
index index.html index.htm;
}
Nginx编译参数解析
–prefix #nginx安装目录,默认在/usr/local/nginx
–pid-path #pid问件位置,默认在logs目录
–lock-path #lock问件位置,默认在logs目录
–with-http_ssl_module #开启HTTP SSL模块,以支持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 #设置http proxy临时文件路径
–http-fastcgi-temp-path #设置http fastcgi临时文件路径
–http-uwsgi-temp-path=/var/tmp/nginx/uwsgi #设置uwsgi 临时文件路径
–http-scgi-temp-path=/var/tmp/nginx/scgi #设置scgi 临时文件路径
pcre安装日志
pcre-8.21 configuration summary: Install prefix .................. : /usr/local
C preprocessor .................. : gcc -E
C compiler ...................... : gcc
C++ preprocessor ................ : g++ -E
C++ compiler .................... : g++
Linker .......................... : /usr/bin/ld
C preprocessor flags ............ :
C compiler flags ................ : -O2
C++ compiler flags .............. : -O2
Linker flags .................... :
Extra libraries ................. : Build C++ library ............... : yes
Enable JIT compiling support .... : no
Enable UTF- support ............ : no
Unicode properties .............. : no
Newline char/sequence ........... : lf
\R matches only ANYCRLF ......... : no
EBCDIC coding ................... : no
Rebuild char tables ............. : no
Use stack recursion ............. : yes
POSIX mem threshold ............. :
Internal link size .............. :
Match limit ..................... :
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : yes
Build static libs ............... : yes
Use JIT in pcregrep ............. : no
Buffer size for pcregrep ........ :
Link pcregrep with libz ......... : no
Link pcregrep with libbz2 ....... : no
Link pcretest with libreadline .. : no —————————————————————————————————————————————————————————————————————— make[]: Entering directory `/root/software/pcre-8.21'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcre.la libpcreposix.la libpcrecpp.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 -f libpcre.so.0.0. libpcre.so. || { rm -f libpcre.so. && ln -s libpcre.so.0.0. libpcre.so.; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcre.so.0.0. libpcre.so || { rm -f libpcre.so && ln -s libpcre.so.0.0. libpcre.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcre.lai /usr/local/lib/libpcre.la
libtool: install: warning: relinking `libpcreposix.la'
libtool: install: (cd /root/software/pcre-8.21; /bin/sh /root/software/pcre-8.21/libtool --tag CC --mode=relink gcc -O2 -version-info :: -o libpcreposix.la -rpath /usr/local/lib pcreposix.lo libpcre.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 -f libpcreposix.so.0.0. libpcreposix.so. || { rm -f libpcreposix.so. && ln -s libpcreposix.so.0.0. libpcreposix.so.; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcreposix.so.0.0. libpcreposix.so || { rm -f libpcreposix.so && ln -s libpcreposix.so.0.0. libpcreposix.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcreposix.lai /usr/local/lib/libpcreposix.la
libtool: install: warning: relinking `libpcrecpp.la'
libtool: install: (cd /root/software/pcre-8.21; /bin/sh /root/software/pcre-8.21/libtool --tag CXX --mode=relink g++ -O2 -version-info :: -o libpcrecpp.la -rpath /usr/local/lib pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.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 -f libpcrecpp.so.0.0. libpcrecpp.so. || { rm -f libpcrecpp.so. && ln -s libpcrecpp.so.0.0. libpcrecpp.so.; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcrecpp.so.0.0. libpcrecpp.so || { rm -f libpcrecpp.so && ln -s libpcrecpp.so.0.0. libpcrecpp.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcrecpp.lai /usr/local/lib/libpcrecpp.la
libtool: install: /usr/bin/install -c .libs/libpcre.a /usr/local/lib/libpcre.a
libtool: install: chmod /usr/local/lib/libpcre.a
libtool: install: ranlib /usr/local/lib/libpcre.a
libtool: install: /usr/bin/install -c .libs/libpcreposix.a /usr/local/lib/libpcreposix.a
libtool: install: chmod /usr/local/lib/libpcreposix.a
libtool: install: ranlib /usr/local/lib/libpcreposix.a
libtool: install: /usr/bin/install -c .libs/libpcrecpp.a /usr/local/lib/libpcrecpp.a
libtool: install: chmod /usr/local/lib/libpcrecpp.a
libtool: install: ranlib /usr/local/lib/libpcrecpp.a
libtool: 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
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for
more information, such as the ld() and ld.so() manual pages.
openssl安装日志
[root@localhost openssl-fips-2.0.]# make install
if [ -n "libcrypto" ]; then \
EXCL_OBJ='aes-586.o aesni-x86.o bn-586.o co-586.o x86-mont.o x86-gf2m.o des-586.o crypt586.o x86cpuid.o sha1-586.o sha256-586.o sha512-586.o ghash-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' ; export EXCL_OBJ ; \
ARX='/usr/bin/perl ${TOP}/util/arx.pl ar r' ; \
else \
ARX='ar r' ; \
fi ; export ARX ; \
if [ y = "y" ]; then \
AS='/usr/bin/perl ${TOP}/util/fipsas.pl ${TOP} ${<} gcc' ; \
else \
AS='gcc -c' ; \
fi ; export AS ; \
dir=crypto; target=fips; if expr " crypto fips test " : ".* $dir " >/dev/null >&; then if [ -d "$dir" ]; then ( cd $dir && echo "making $target in $dir..." && TOP= && unset TOP ${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 -e PLATFORM='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='ar r' NM='nm' RANLIB='/usr/bin/ranlib' CROSS_COMPILE='' PERL='/usr/bin/perl' ENGDIRS='ccgost' SDIRS='sha hmac des aes modes bn ec rsa dsa ecdsa dh buffer evp ecdh cmac' 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} -MD gcc' 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.0 libssl.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.o co-586.o x86-mont.o x86-gf2m.o' DES_ENC='des-586.o crypt586.o' AES_ENC='aes-586.o aesni-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.o sha256-586.o sha512-586.o' MD5_ASM_OBJ='md5-586.o' RMD160_ASM_OBJ='rmd-586.o' WP_ASM_OBJ='wp_block.o wp-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=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target ) || exit ; fi; fi
making fips in crypto...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto'
[ -n "sha hmac des aes modes bn ec rsa dsa ecdsa dh buffer evp ecdh cmac" ] && for i in sha hmac des aes modes bn ec rsa dsa ecdsa dh buffer evp ecdh cmac ; do \
( obj=`/usr/bin/perl ../util/fipsobj.pl $i` && \
cd $i && echo "making fips in crypto/$i..." && \
make -e TOP=../.. DIR=$i INCLUDES='-I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include ' $obj ) || exit ; \
done;
making fips in crypto/sha...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/sha'
making fips in crypto/hmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/hmac'
make[]: “hmac.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/hmac'
making fips in crypto/des...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/des'
making fips in crypto/aes...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/aes'
making fips in crypto/modes...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/modes'
making fips in crypto/bn...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/bn'
making fips in crypto/ec...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/ec'
making fips in crypto/rsa...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/rsa'
making fips in crypto/dsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/dsa'
make[]: “dsa_gen.o”是最新的。
make[]: “dsa_key.o”是最新的。
make[]: “dsa_ossl.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/dsa'
making fips in crypto/ecdsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/ecdsa'
make[]: “ecs_ossl.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/ecdsa'
making fips in crypto/dh...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/dh'
make[]: “dh_check.o”是最新的。
make[]: “dh_gen.o”是最新的。
make[]: “dh_key.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/dh'
making fips in crypto/buffer...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/buffer'
make[]: “buf_str.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/buffer'
making fips in crypto/evp...
make[]: Entering directory `/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[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/evp'
making fips in crypto/ecdh...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/ecdh'
make[]: “ech_key.o”是最新的。
make[]: “ech_ossl.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/ecdh'
making fips in crypto/cmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/cmac'
make[]: “cmac.o”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/cmac'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto'
making all in fips...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips'
make[]: Entering directory `/root/software/openssl-fips-2.0./fips'
making all in fips/sha...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/sha'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/sha'
making all in fips/rand...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/rand'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/rand'
making all in fips/des...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/des'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/des'
making all in fips/aes...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/aes'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/aes'
making all in fips/dsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/dsa'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/dsa'
making all in fips/ecdh...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/ecdh'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/ecdh'
making all in fips/ecdsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/ecdsa'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/ecdsa'
making all in fips/rsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/rsa'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/rsa'
making all in fips/dh...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/dh'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/dh'
making all in fips/cmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/cmac'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/cmac'
making all in fips/hmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/hmac'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/hmac'
making all in fips/utl...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/utl'
make[]: Nothing to be done for `all'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/utl'
make[]: “lib”是最新的。
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips'
created directory `/usr/local/ssl'
created directory `/usr/local/ssl/fips-2.0'
created directory `/usr/local/ssl/fips-2.0/bin'
created directory `/usr/local/ssl/fips-2.0/lib'
created directory `/usr/local/ssl/fips-2.0/include'
created directory `/usr/local/ssl/fips-2.0/include/openssl'
making install in crypto...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto'
making install in crypto/sha...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/sha'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/sha'
making install in crypto/hmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/hmac'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/hmac'
making install in crypto/des...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/des'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/des'
making install in crypto/aes...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/aes'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/aes'
making install in crypto/modes...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/modes'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/modes'
making install in crypto/bn...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/bn'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/bn'
making install in crypto/ec...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/ec'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/ec'
making install in crypto/rsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/rsa'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/rsa'
making install in crypto/dsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/dsa'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/dsa'
making install in crypto/ecdsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/ecdsa'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/ecdsa'
making install in crypto/dh...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/dh'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/dh'
making install in crypto/buffer...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/buffer'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/buffer'
making install in crypto/evp...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/evp'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/evp'
making install in crypto/ecdh...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/ecdh'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/ecdh'
making install in crypto/cmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./crypto/cmac'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto/cmac'
make[]: Leaving directory `/root/software/openssl-fips-2.0./crypto'
making install in fips...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips'
making install in fips/sha...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/sha'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/sha'
making install in fips/rand...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/rand'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/rand'
making install in fips/des...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/des'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/des'
making install in fips/aes...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/aes'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/aes'
making install in fips/dsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/dsa'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/dsa'
making install in fips/ecdh...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/ecdh'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/ecdh'
making install in fips/ecdsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/ecdsa'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/ecdsa'
making install in fips/rsa...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/rsa'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/rsa'
making install in fips/dh...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/dh'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/dh'
making install in fips/cmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/cmac'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/cmac'
making install in fips/hmac...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/hmac'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/hmac'
making install in fips/utl...
make[]: Entering directory `/root/software/openssl-fips-2.0./fips/utl'
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips/utl'
for i in fipsld fips_standalone_sha1 ; \
do \
echo "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; \
done
installing fipsld
installing fips_standalone_sha1
cp -p -f fipscanister.o fipscanister.o.sha1 \
fips_premain.c fips_premain.c.sha1 \
/usr/local/ssl/fips-2.0/lib/; \
chmod /usr/local/ssl/fips-2.0/lib/fips*
make[]: Leaving directory `/root/software/openssl-fips-2.0./fips'
making install in test...
make[]: Entering directory `/root/software/openssl-fips-2.0./test'
make[]: Nothing to be done for `install'.
make[]: Leaving directory `/root/software/openssl-fips-2.0./test'
zlib安装日志
cp libz.a /usr/local/lib
chmod /usr/local/lib/libz.a
cp libz.so.1.2. /usr/local/lib
chmod /usr/local/lib/libz.so.1.2.
cp zlib. /usr/local/share/man/man3
chmod /usr/local/share/man/man3/zlib.
cp zlib.pc /usr/local/lib/pkgconfig
chmod /usr/local/lib/pkgconfig/zlib.pc
cp zlib.h zconf.h /usr/local/include
chmod /usr/local/include/zlib.h /usr/local/include/zconf.h
nginx安装日志
Configuration summary
+ using PCRE library: ../pcre-8.21
+ using OpenSSL library: ../openssl-fips-2.0.
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using zlib library: ../zlib-1.2. nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/nginx"
nginx configuration prefix: "/usr/local/nginx"
nginx configuration file: "/usr/local/nginx/nginx.conf"
nginx pid file: "/usr/local/nginx/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
_________________________________________________________________ [root@localhost nginx-1.4.]# make install
make -f objs/Makefile install
make[]: Entering directory `/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'
cp objs/nginx '/usr/local/nginx/nginx'
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
cp conf/koi-win '/usr/local/nginx'
cp conf/koi-utf '/usr/local/nginx'
cp conf/win-utf '/usr/local/nginx'
test -f '/usr/local/nginx/mime.types' || cp conf/mime.types '/usr/local/nginx'
cp conf/mime.types '/usr/local/nginx/mime.types.default'
test -f '/usr/local/nginx/fastcgi_params' || cp conf/fastcgi_params '/usr/local/nginx'
cp conf/fastcgi_params '/usr/local/nginx/fastcgi_params.default'
test -f '/usr/local/nginx/fastcgi.conf' || cp conf/fastcgi.conf '/usr/local/nginx'
cp conf/fastcgi.conf '/usr/local/nginx/fastcgi.conf.default'
test -f '/usr/local/nginx/uwsgi_params' || cp conf/uwsgi_params '/usr/local/nginx'
cp conf/uwsgi_params '/usr/local/nginx/uwsgi_params.default'
test -f '/usr/local/nginx/scgi_params' || cp conf/scgi_params '/usr/local/nginx'
cp conf/scgi_params '/usr/local/nginx/scgi_params.default'
test -f '/usr/local/nginx/nginx.conf' || cp conf/nginx.conf '/usr/local/nginx/nginx.conf'
cp conf/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 -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' || mkdir -p '/usr/local/nginx/logs'
make[]: Leaving directory `/root/software/nginx-1.4.'
参考地址:http://www.xj123.info/2416.html
http://www.cnblogs.com/dennisit/archive/2012/12/26/2834719.html
http://blog.s135.com/nginx_php_v6/
http://www.nginx.cn/install
nginx 安装手记的更多相关文章
- nginx 安装手记 分类: Nginx 服务器搭建 2015-07-14 14:28 15人阅读 评论(0) 收藏
Nginx需要依赖下面3个包 gzip 模块需要 zlib 库 ( 下载: http://www.zlib.net/ ) zlib-1.2.8.tar.gz rewrite 模块需要 pcre 库 ( ...
- linux下nginx安装php
把php安装包上传到linux的/usr/local/src 1.解压 cd /usr/local/src tar zxvf php-5.6.9.tar.gz cd php-5.6.9 2.编译安装 ...
- zabbix 3.0.3 (nginx)安装过程中的问题排错记录
特殊注明:安装zabbix 2.4.8和2.4.6遇到2个问题,如下:找了很多解决办法,实在无解,只能换版本,尝试换(2.2.2正常 | 3.0.3正常)都正常,最后决定换3.0.3 1.Error ...
- Nginx 安装以及反向代理配置(windows)
安装 windows 下 Nginx 安装非常简单,下载地址 http://nginx.org/en/download.html. 选择红框这个,下载下来是个 zip 文件,解压.这时我们双击根目录的 ...
- nginx安装与配置
一.在线安装 ubuntu 安装 sudo apt-get install nginx 安装后文件结构为: 配置文件:/etc/nginx ,并且每台虚拟主机已经安排在 /etc/nginx/site ...
- Windows下将nginx安装为服务运行
今天看到nginx这个小服务器软件正式版更新到了1.4.2,想玩下它.这个服务器软件虽小,但功能强大,是开源软件,有着良好的性能,被很多个人.企业,甚至大型企业所使用! 由于是在Windows下,所以 ...
- windows下nginx安装、配置与使用(转载)
目前国内各大门户网站已经部署了Nginx,如新浪.网易.腾讯等:国内几个重要的视频分享网站也部署了Nginx,如六房间.酷6等.新近发现Nginx 技术在国内日趋火热,越来越多的网站开始部署Nginx ...
- SQL Server 2016 CTP2.2 安装手记
SQL Server 2016 CTP2.2 安装手记 下载一个iso文件,解压出来(大约2.8G左右),在该路径下双击Setup.exe即可开始安装. 安装之前请先安装.NET 3.5 SP1,在服 ...
- 阿里云服务器Linux CentOS安装配置(八)nginx安装、配置、域名绑定
阿里云服务器Linux CentOS安装配置(八)nginx安装.配置.域名绑定 1.安装nginx yum -y install nginx 2.启动nginx service nginx star ...
随机推荐
- Linux替换字符串
sed命令批量替换多个文件中的字符串: 命令:sed -i “s/原字符串/新字符串/g” `grep 原字符串 -rl 所在目录` 例如:我要把 xy 替换为 mn,执行命令: sed -i “s/ ...
- redis连接池的标准用法:
from .conf import HOST, PORT, POOL_NAME import redis redis_pool = redis.ConnectionPool(host=HOST, po ...
- requests爬取百度贴吧:python 美女 3
import requests import sys class Tieba(object): def __init__(self, tieba_name, pn): self.tieba_name ...
- mysql 内置功能 触发器 实验
#准备表命令表 CREATE TABLE cmd ( id INT PRIMARY KEY auto_increment, ), priv ), cmd ), sub_time datetime, # ...
- 【深入理解javascript】执行上下文
参考原文:执行上下文 1.每一个执行上下文,工作分为三个阶段: 准备阶段–>执行阶段–>调用阶段 准备阶段:代码执行之前,设置数据,相当于初始化. 执行阶段:开始执行每一行代码. 调用阶段 ...
- 2017php经典面试题
1.PHP语言的一大优势是跨平台,什么是跨平台?一.PHP基础: PHP的运行环境最优搭配为Apache+MySQL+PHP,此运行环境可以在不同操作系统(例如windows.Linux等)上配置,不 ...
- 计划评审技术PERT
概念 编辑 PERT(Program Evaluation and Review Technique)即 [2] 计划评审技术,最早是由美国海军在计划和控制北极星导弹的研制时发展起来的.PERT技术 ...
- SQL CASE 多条件用法
Case具有两种格式.简单Case函数和Case搜索函数. --简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN ...
- 源代码下载 作者:王先荣(Xianrong Wang)
作者:王先荣(Xianrong Wang) 下面是我的一些源代码: 1. 图像处理学习系列源代码——包括该系列文章的几乎所有代码: 1.5. 图像处理学习系列中用到的dll文件包——将这个解压缩之后放 ...
- 梯度消失与梯度爆炸 ==> 如何选择随机初始权重
梯度消失与梯度爆炸 当训练神经网络时,导数或坡度有时会变得非常大或非常小,甚至以指数方式变小,这加大了训练的难度 这里忽略了常数项b.为了让z不会过大或者过小,思路是让w与n有关,且n越大,w应该越小 ...