当前位置: 首页 > news >正文

珠海网站建设维护网站设计评价

珠海网站建设维护,网站设计评价,梅州市建设局网站,网站建设和推广评价指标1.查询Nginx配置参数 作用#xff1a;一是检查所需模块是否已安装#xff0c;二是将configure arguments: 后面的参数复制出来并保存#xff0c;因为等会重新编译时还需将这些模块一同添加进去。 [rootreader ~]# nginx -V nginx version: nginx/1.24.0 built by gcc 8.5.0…1.查询Nginx配置参数 作用一是检查所需模块是否已安装二是将configure arguments: 后面的参数复制出来并保存因为等会重新编译时还需将这些模块一同添加进去。 [rootreader ~]# nginx -V nginx version: nginx/1.24.0 built by gcc 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC) built with OpenSSL 1.1.1k FIPS 25 Mar 2021 TLS SNI support enabled configure arguments: --prefix/usr/local/nginx --with-threads --with-http_ssl_module --with-http_gzip_static_module [rootreader ~]# 2.添加所需模块 进入Nginx源码包目录下使用./configure --help指令查询需要配置的参数。 [rootreader ~]# cd /usr/soft/nginx-1.24.0/ [rootreader nginx-1.24.0]# ./configure --help--help print this message--prefixPATH set installation prefix--sbin-pathPATH set nginx binary pathname--modules-pathPATH set modules path--conf-pathPATH set nginx.conf pathname--error-log-pathPATH set error log pathname--pid-pathPATH set nginx.pid pathname--lock-pathPATH set nginx.lock pathname--userUSER set non-privileged user forworker processes--groupGROUP set non-privileged group forworker processes--buildNAME set build name--builddirDIR set build directory--with-select_module enable select module--without-select_module disable select module--with-poll_module enable poll module--without-poll_module disable poll module--with-threads enable thread pool support--with-file-aio enable file AIO support--with-http_ssl_module enable ngx_http_ssl_module--with-http_v2_module enable ngx_http_v2_module--with-http_realip_module enable ngx_http_realip_module--with-http_addition_module enable ngx_http_addition_module--with-http_xslt_module enable ngx_http_xslt_module--with-http_xslt_moduledynamic enable dynamic ngx_http_xslt_module--with-http_image_filter_module enable ngx_http_image_filter_module--with-http_image_filter_moduledynamicenable dynamic ngx_http_image_filter_module--with-http_geoip_module enable ngx_http_geoip_module--with-http_geoip_moduledynamic enable dynamic ngx_http_geoip_module--with-http_sub_module enable ngx_http_sub_module--with-http_dav_module enable ngx_http_dav_module--with-http_flv_module enable ngx_http_flv_module--with-http_mp4_module enable ngx_http_mp4_module--with-http_gunzip_module enable ngx_http_gunzip_module--with-http_gzip_static_module enable ngx_http_gzip_static_module--with-http_auth_request_module enable ngx_http_auth_request_module--with-http_random_index_module enable ngx_http_random_index_module--with-http_secure_link_module enable ngx_http_secure_link_module--with-http_degradation_module enable ngx_http_degradation_module--with-http_slice_module enable ngx_http_slice_module--with-http_stub_status_module enable ngx_http_stub_status_module--without-http_charset_module disable ngx_http_charset_module--without-http_gzip_module disable ngx_http_gzip_module--without-http_ssi_module disable ngx_http_ssi_module--without-http_userid_module disable ngx_http_userid_module--without-http_access_module disable ngx_http_access_module--without-http_auth_basic_module disable ngx_http_auth_basic_module--without-http_mirror_module disable ngx_http_mirror_module--without-http_autoindex_module disable ngx_http_autoindex_module--without-http_geo_module disable ngx_http_geo_module--without-http_map_module disable ngx_http_map_module--without-http_split_clients_module disable ngx_http_split_clients_module--without-http_referer_module disable ngx_http_referer_module--without-http_rewrite_module disable ngx_http_rewrite_module--without-http_proxy_module disable ngx_http_proxy_module--without-http_fastcgi_module disable ngx_http_fastcgi_module--without-http_uwsgi_module disable ngx_http_uwsgi_module--without-http_scgi_module disable ngx_http_scgi_module--without-http_grpc_module disable ngx_http_grpc_module--without-http_memcached_module disable ngx_http_memcached_module--without-http_limit_conn_module disable ngx_http_limit_conn_module--without-http_limit_req_module disable ngx_http_limit_req_module--without-http_empty_gif_module disable ngx_http_empty_gif_module--without-http_browser_module disable ngx_http_browser_module--without-http_upstream_hash_moduledisable ngx_http_upstream_hash_module--without-http_upstream_ip_hash_moduledisable ngx_http_upstream_ip_hash_module--without-http_upstream_least_conn_moduledisable ngx_http_upstream_least_conn_module--without-http_upstream_random_moduledisable ngx_http_upstream_random_module--without-http_upstream_keepalive_moduledisable ngx_http_upstream_keepalive_module--without-http_upstream_zone_moduledisable ngx_http_upstream_zone_module--with-http_perl_module enable ngx_http_perl_module--with-http_perl_moduledynamic enable dynamic ngx_http_perl_module--with-perl_modules_pathPATH set Perl modules path--with-perlPATH set perl binary pathname--http-log-pathPATH set http access log pathname--http-client-body-temp-pathPATH set path to storehttp client request body temporary files--http-proxy-temp-pathPATH set path to storehttp proxy temporary files--http-fastcgi-temp-pathPATH set path to storehttp fastcgi temporary files--http-uwsgi-temp-pathPATH set path to storehttp uwsgi temporary files--http-scgi-temp-pathPATH set path to storehttp scgi temporary files--without-http disable HTTP server--without-http-cache disable HTTP cache--with-mail enable POP3/IMAP4/SMTP proxy module--with-maildynamic enable dynamic POP3/IMAP4/SMTP proxy module--with-mail_ssl_module enable ngx_mail_ssl_module--without-mail_pop3_module disable ngx_mail_pop3_module--without-mail_imap_module disable ngx_mail_imap_module--without-mail_smtp_module disable ngx_mail_smtp_module--with-stream enable TCP/UDP proxy module--with-streamdynamic enable dynamic TCP/UDP proxy module--with-stream_ssl_module enable ngx_stream_ssl_module--with-stream_realip_module enable ngx_stream_realip_module--with-stream_geoip_module enable ngx_stream_geoip_module--with-stream_geoip_moduledynamic enable dynamic ngx_stream_geoip_module--with-stream_ssl_preread_module enable ngx_stream_ssl_preread_module--without-stream_limit_conn_module disable ngx_stream_limit_conn_module--without-stream_access_module disable ngx_stream_access_module--without-stream_geo_module disable ngx_stream_geo_module--without-stream_map_module disable ngx_stream_map_module--without-stream_split_clients_moduledisable ngx_stream_split_clients_module--without-stream_return_module disable ngx_stream_return_module--without-stream_set_module disable ngx_stream_set_module--without-stream_upstream_hash_moduledisable ngx_stream_upstream_hash_module--without-stream_upstream_least_conn_moduledisable ngx_stream_upstream_least_conn_module--without-stream_upstream_random_moduledisable ngx_stream_upstream_random_module--without-stream_upstream_zone_moduledisable ngx_stream_upstream_zone_module--with-google_perftools_module enable ngx_google_perftools_module--with-cpp_test_module enable ngx_cpp_test_module--add-modulePATH enable external module--add-dynamic-modulePATH enable dynamic external module--with-compat dynamic modules compatibility--with-ccPATH set C compiler pathname--with-cppPATH set C preprocessor pathname--with-cc-optOPTIONS set additional C compiler options--with-ld-optOPTIONS set additional linker options--with-cpu-optCPU build for the specified CPU, valid values:pentium, pentiumpro, pentium3, pentium4,athlon, opteron, sparc32, sparc64, ppc64--without-pcre disable PCRE library usage--with-pcre force PCRE library usage--with-pcreDIR set path to PCRE library sources--with-pcre-optOPTIONS set additional build options for PCRE--with-pcre-jit build PCRE with JIT compilation support--without-pcre2 do not use PCRE2 library--with-zlibDIR set path to zlib library sources--with-zlib-optOPTIONS set additional build options for zlib--with-zlib-asmCPU use zlib assembler sources optimizedfor the specified CPU, valid values:pentium, pentiumpro--with-libatomic force libatomic_ops library usage--with-libatomicDIR set path to libatomic_ops library sources--with-opensslDIR set path to OpenSSL library sources--with-openssl-optOPTIONS set additional build options for OpenSSL--with-debug enable debug logging[rootreader nginx-1.24.0]# 安装http_stub_status_module 模块预编译 [rootreader nginx-1.24.0]# ./configure --prefix/usr/local/nginx --with-threads --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module 3.执行make命令进行编译 因为我们已经安装过nginx所有这里只需make不需要make install。如果是首次安装请查看另一篇博文。 4.停止Nginx并备份可执行程序 [rootreader nginx-1.24.0]# nginx -s stop [rootreader nginx-1.24.0]# ps -ef | grep nginx root 13343 10455 0 22:22 pts/0 00:00:00 grep --colorauto nginx [rootreader nginx-1.24.0]# cp /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx_20231105.bak [rootreader nginx-1.24.0]# cd /usr/local/nginx/sbin/ [rootreader sbin]# ll total 11664 -rwxr-xr-x 1 root root 5971720 Nov 3 23:35 nginx -rwxr-xr-x 1 root root 5971720 Nov 5 22:22 nginx_20231105.bak 5.覆盖可执行程序 用第3步重新编译后的可执行程序覆盖旧的可执行程序 [rootreader sbin]# cd /usr/soft/nginx-1.24.0/objs/ ll total 6028 -rw-r--r-- 1 root root 19235 Nov 5 22:14 autoconf.err -rw-r--r-- 1 root root 43108 Nov 5 22:14 Makefile -rwxr-xr-x 1 root root 6018504 Nov 5 22:20 nginx -rw-r--r-- 1 root root 5537 Nov 5 22:20 nginx.8 -rw-r--r-- 1 root root 7435 Nov 5 22:14 ngx_auto_config.h -rw-r--r-- 1 root root 657 Nov 5 22:14 ngx_auto_headers.h -rw-r--r-- 1 root root 6385 Nov 5 22:14 ngx_modules.c -rw-r--r-- 1 root root 53304 Nov 5 22:20 ngx_modules.o drwxr-xr-x 9 root root 91 Nov 3 23:23 src [rootreader objs]# cp /usr/soft/nginx-1.24.0/objs/nginx /usr/local/nginx/sbin/ cp: overwrite /usr/local/nginx/sbin/nginx? yes [rootreader objs]# cd /usr/local/nginx/sbin/ ll total 11712 -rwxr-xr-x 1 root root 6018504 Nov 5 22:25 nginx -rwxr-xr-x 1 root root 5971720 Nov 5 22:22 nginx_20231105.bak [rootreader sbin]# 6.查询Nginx配置参数并启动 http_stub_status_module模块安装成功。 [rootreader sbin]# nginx -V nginx version: nginx/1.24.0 built by gcc 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC) built with OpenSSL 1.1.1k FIPS 25 Mar 2021 TLS SNI support enabled configure arguments: --prefix/usr/local/nginx --with-threads --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module [rootreader sbin]# nginx [rootreader sbin]# ps -ef | grep nginx root 13417 1 0 22:26 ? 00:00:00 nginx: master process nginx nobody 13418 13417 0 22:26 ? 00:00:00 nginx: worker process nobody 13419 13417 0 22:26 ? 00:00:00 nginx: worker process root 13518 10455 0 22:37 pts/0 00:00:00 grep --colorauto nginx [rootreader sbin]#
http://wiki.neutronadmin.com/news/224431/

相关文章:

  • 电子商务网站建设实训实践总结wordpress迁服务器
  • 专业做医院网站vs2010网站开发登录代码
  • 诗人做的网站公司内部网站建设
  • 邢台做网站的价格究竟多少钱?wordpress的首页
  • 网站关键词的选择培训机构招生方案范文
  • 照片一键生成视频的软件怀化百度整站优化服务
  • 龙华建网站商城网站设计公司
  • 企业网站开发公司-北京公司延边州住房城乡建设局网站
  • 做网站的疑问有哪些网站建设售后服务合同
  • 做视频网站广告收费惠州自动seo
  • 网站建设与管理期末考试东莞主页网站制作
  • 小视频网站开发流程图成都私人视频网站制作平台
  • 哪个网站做调查赚钱多wordpress 防爬
  • 现在怎么建设一个网站wordpress logy
  • 设计比较有特色的网站哈尔滨百度推广排名优化
  • 什么样的公司愿意做网站软文撰写公司
  • 网站空间国外那个好外贸网站建设 东莞
  • 厦门中小企业建网站补助黄页网络的推广
  • 郑州网站建设亻汉狮网络网络营销渠道管理
  • 企业网站制作深圳鞋行业的网站建设
  • 娄底高端网站建设wordpress 修改端口
  • 锡林浩特市长安网站 建设初步方案网页浏览器设置在哪里
  • 赣州网站制作公司百度有专做优化的没
  • 佛山网站建设全方位服务汽车之家网址
  • 贵港网站推广网络营销和网站推广的区别
  • 长安网站建设价格宝安专业网站设计公司
  • 网站宽屏背景网站运营托管协议
  • 网站建设对接模版网站划分栏目
  • 网站名 注册报告怎么写
  • 做网站卖广告位赚钱html5 jq做电脑网站