秀米云香港服务器

./configure:error:theHTTPrewritemodulerequiresthePCRElibrary.办理要领:apt-getinstalllibpcre3-dev./configure:error:theHTTPgzipmodulerequiresthezliblibrary.办理要领:sudoapt-getinstallzlib1g-dev再次编译:[email protected]:~/nginx/nginx-1.0.14$./configurecheckingforOS+Linux4.2.0-16-generici686checkingforCcompiler...found+usingGNUCcompiler+gccversion:5.2.120151010(Ubuntu5.2.1-22ubuntu2)checkingforgcc-pipeswitch...foundcheckingforgccbuiltinatomicoperations...foundcheckingforC99variadicmacros...foundcheckingforgccvariadicmacros...foundcheckingforunistd.h...foundcheckingforinttypes.h...foundcheckingforlimits.h...foundcheckingforsys/filio.h...notfoundcheckingforsys/param.h...foundcheckingforsys/mount.h...foundcheckingforsys/statvfs.h...foundcheckingforcrypt.h...foundcheckingforLinuxspecificfeaturescheckingforepoll...foundcheckingforsendfile()...foundcheckingforsendfile64()...foundcheckingforsys/prctl.h...foundcheckingforprctl(PR_SET_DUMPABLE)...foundcheckingforsched_setaffinity()...foundcheckingforcrypt_r()...foundcheckingforsys/vfs.h...foundcheckingfornobodygroup...notfoundcheckingfornogroupgroup...foundcheckingforpoll()...foundcheckingfor/dev/poll...notfoundcheckingforkqueue...notfoundcheckingforcrypt()...notfoundcheckingforcrypt()inlibcrypt...foundcheckingforF_READAHEAD...notfoundcheckingforposix_fadvise()...foundcheckingforO_DIRECT...foundcheckingforF_NOCACHE...notfoundcheckingfordirectio()...notfoundcheckingforstatfs()...foundcheckingforstatvfs()...foundcheckingfordlopen()...notfoundcheckingfordlopen()inlibdl...foundcheckingforsched_yield()...foundcheckingforSO_SETFIB...notfoundcheckingforSO_ACCEPTFILTER...notfoundcheckingforTCP_DEFER_ACCEPT...foundcheckingforaccept4()...foundcheckingforintsize...4bytescheckingforlongsize...4bytescheckingforlonglongsize...8bytescheckingforvoid*size...4bytescheckingforuint64_t...foundcheckingforsig_atomic_t...foundcheckingforsig_atomic_tsize...4bytescheckingforsocklen_t...foundcheckingforin_addr_t...foundcheckingforin_port_t...foundcheckingforrlim_t...foundcheckingforuintptr_t...uintptr_tfoundcheckingforsystemendianess...littleendianesscheckingforsize_tsize...4bytescheckingforoff_tsize...8bytescheckingfortime_tsize...4bytescheckingforsetproctitle()...notfoundcheckingforpread()...foundcheckingforpwrite()...foundcheckingforsys_nerr...foundcheckingforlocaltime_r()...foundcheckingforposix_memalign()...foundcheckingformemalign()...foundcheckingformmap(MAP_ANON|MAP_SHARED)...foundcheckingformmap("/dev/zero",MAP_SHARED)...foundcheckingforSystemVsharedmemory...foundcheckingforPOSIXsemaphores...notfoundcheckingforPOSIXsemaphoresinlibpthread...foundcheckingforstructmsghdr.msg_control...foundcheckingforioctl(FIONBIO)...foundcheckingforstructtm.tm_gmtoff...foundcheckingforstructdirent.d_namlen...notfoundcheckingforstructdirent.d_type...foundcheckingforsysconf(_SC_NPROCESSORS_ONLN)...foundcheckingforPCRElibrary...foundcheckingforsystemmdlibrary...notfoundcheckingforsystemmd5library...notfoundcheckingforOpenSSLmd5cryptolibrary...notfoundcheckingforsha1insystemmdlibrary...notfoundcheckingforOpenSSLsha1cryptolibrary...notfoundcheckingforzliblibrary...foundcreatingobjs/MakefileConfigurationsummary+usingsystemPCRElibrary+OpenSSLlibraryisnotused+usingbuiltinmd5code+sha1libraryisnotfound+usingsystemzliblibrarynginxpathprefix:"/usr/local/nginx"nginxbinaryfile:"/usr/local/nginx/sbin/nginx"nginxconfigurationprefix:"/usr/local/nginx/conf"nginxconfigurationfile:"/usr/local/nginx/conf/nginx.conf"nginxpidfile:"/usr/local/nginx/logs/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/nginx-1.0.14$启动时,发明端口80被占用:[email protected]:/usr/local/nginx/sbin$sudo./nginxnginx:[emerg]bind()to0.0.0.0:80failed(98:Addressalreadyinuse)nginx:[emerg]bind()to0.0.0.0:80failed(98:Addressalreadyinuse)nginx:[emerg]bind()to0.0.0.0:80failed(98:Addressalreadyinuse)nginx:[emerg]bind()to0.0.0.0:80failed(98:Addressalreadyinuse)nginx:[emerg]bind()to0.0.0.0:80failed(98:Addressalreadyinuse)nginx:[emerg]stillcouldnotbind()[email protected]:/usr/local/nginx/sbin$查察一下端口环境:[email protected]:/usr/local/nginx/sbin$netstat-ntpl(Notallprocessescouldbeidentified,non-ownedprocessinfowillnotbeshown,youwouldhavetoberoottoseeitall.)ActiveInternetconnections(onlyservers)ProtoRecv-QSend-QLocalAddressForeignAddressStatePID/Programnametcp00127.0.1.1:530.0.0.0:*LISTEN-tcp000.0.0.0:220.0.0.0:*LISTEN-tcp00127.0.0.1:6310.0.0.0:*LISTEN-tcp00127.0.0.1:250.0.0.0:*LISTEN-tcp00127.0.0.1:60100.0.0.0:*LISTEN-tcp600:::80:::*LISTEN-tcp600:::22:::*LISTEN-tcp600::1:631:::*LISTEN-tcp600::1:25:::*LISTEN-tcp600::1:6010:::*LISTEN-[email protected]:/usr/local/nginx/sbin$修改一下Nginx的默认端口:[email protected]:/usr/local/nginx$vimconf/nginx.conf将listen80变动为8080从头启动,ok!

,韩国主机韩国游戏代理

序列号 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 立即申请

标题:Ubuntu系统下安装Nginx碰着的问题以及办理步伐

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