{"id":543671,"date":"2021-10-13T12:54:29","date_gmt":"2021-10-13T04:54:29","guid":{"rendered":"http:\/\/4563.org\/?p=543671"},"modified":"2021-10-13T12:54:29","modified_gmt":"2021-10-13T04:54:29","slug":"%e7%94%b2%e9%aa%a8%e6%96%87dd%e6%98%a8%e5%a4%a9%e9%82%a3%e4%b8%aadebian%e5%90%8e%ef%bc%8c%e7%94%a8%e5%ae%9d%e5%a1%94%e8%a3%85nginx%e3%80%81mysql%e4%b8%80%e7%9b%b4%e6%8a%a5%e9%94%99","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=543671","title":{"rendered":"\u7532\u9aa8\u6587dd\u6628\u5929\u90a3\u4e2adebian\u540e\uff0c\u7528\u5b9d\u5854\u88c5nginx\u3001mysql\u4e00\u76f4\u62a5\u9519"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>zgwxb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u7532\u9aa8\u6587dd\u6628\u5929\u90a3\u4e2adebian\u540e\uff0c\u7528\u5b9d\u5854\u88c5nginx\u3001mysql\u4e00\u76f4\u62a5\u9519<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 zgwxb \u4e8e 2021-10-13 12:03 \u7f16\u8f91 <\/p>\n<p> https:\/\/hostloc.com\/thread-882460-1-2.html<\/p>\n<p>  \u6309\u8fd9\u6628\u5929\u8fd9\u4e2a\u811a\u672c\u987a\u5229dd\u6210\u529fdebian10\uff0c\u7136\u540e\u5c31\u76f4\u63a5\u88c5\u5b9d\u5854\uff0c\u7136\u540enginx\u4e00\u76f4\u88c5\u4e0d\u4e0a\uff0c\u7f51\u4e0a\u627e\u4e86\u5f88\u591a\u4f9d\u8d56\u7684\u811a\u672c\u5b89\u88c5\u90fd\u6ca1\u6210\u529f\uff0c\u6c42\u5e2e\u52a9\u3002<\/p>\n<p>  checking for F_NOCACHE &#8230; not found<br \/>  checking for directio() &#8230; not found<br \/>  checking for statfs() &#8230; found<br \/>  checking for statvfs() &#8230; found<br \/>  checking for dlopen() &#8230; not found<br \/>  checking for dlopen() in libdl &#8230; found<br \/>  checking for sched_yield() &#8230; found<br \/>  checking for sched_setaffinity() &#8230; found<br \/>  checking for SO_SETFIB &#8230; not found<br \/>  checking for SO_REUSEPORT &#8230; found<br \/>  checking for SO_ACCEPTFILTER &#8230; not found<br \/>  checking for SO_BINDANY &#8230; not found<br \/>  checking for IP_TRANSPARENT &#8230; found<br \/>  checking for IP_BINDANY &#8230; not found<br \/>  checking for IP_BIND_ADDRESS_NO_PORT &#8230; found<br \/>  checking for IP_RECVDSTADDR &#8230; not found<br \/>  checking for IP_SENDSRCADDR &#8230; not found<br \/>  checking for IP_PKTINFO &#8230; found<br \/>  checking for IPV6_RECVPKTINFO &#8230; found<br \/>  checking for TCP_DEFER_ACCEPT &#8230; found<br \/>  checking for TCP_KEEPIDLE &#8230; found<br \/>  checking for TCP_FASTOPEN &#8230; found<br \/>  checking for TCP_INFO &#8230; found<br \/>  checking for accept4() &#8230; found<br \/>  checking for eventfd() &#8230; found<br \/>  checking for int size &#8230; 4 bytes<br \/>  checking for long size &#8230; 8 bytes<br \/>  checking for long long size &#8230; 8 bytes<br \/>  checking for void * size &#8230; 8 bytes<br \/>  checking for uint32_t &#8230; found<br \/>  checking for uint64_t &#8230; found<br \/>  checking for sig_atomic_t &#8230; found<br \/>  checking for sig_atomic_t size &#8230; 4 bytes<br \/>  checking for socklen_t &#8230; found<br \/>  checking for in_addr_t &#8230; found<br \/>  checking for in_port_t &#8230; found<br \/>  checking for rlim_t &#8230; found<br \/>  checking for uintptr_t &#8230; uintptr_t found<br \/>  checking for system byte ordering &#8230; little endian<br \/>  checking for size_t size &#8230; 8 bytes<br \/>  checking for off_t size &#8230; 8 bytes<br \/>  checking for time_t size &#8230; 8 bytes<br \/>  checking for AF_INET6 &#8230; found<br \/>  checking for setproctitle() &#8230; not found<br \/>  checking for pread() &#8230; found<br \/>  checking for pwrite() &#8230; found<br \/>  checking for pwritev() &#8230; found<br \/>  checking for sys_nerr &#8230; found<br \/>  checking for localtime_r() &#8230; found<br \/>  checking for clock_gettime(CLOCK_MONOTONIC) &#8230; found<br \/>  checking for posix_memalign() &#8230; found<br \/>  checking for memalign() &#8230; found<br \/>  checking for mmap(MAP_ANON|MAP_SHARED) &#8230; found<br \/>  checking for mmap(&quot;\/dev\/zero&quot;, MAP_SHARED) &#8230; found<br \/>  checking for System V shared memory &#8230; found<br \/>  checking for POSIX semaphores &#8230; not found<br \/>  checking for POSIX semaphores in libpthread &#8230; found<br \/>  checking for struct msghdr.msg_control &#8230; found<br \/>  checking for ioctl(FIONBIO) &#8230; found<br \/>  checking for struct tm.tm_gmtoff &#8230; found<br \/>  checking for struct dirent.d_namlen &#8230; not found<br \/>  checking for struct dirent.d_type &#8230; found<br \/>  checking for sysconf(_SC_NPROCESSORS_ONLN) &#8230; found<br \/>  checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) &#8230; found<br \/>  checking for openat(), fstatat() &#8230; found<br \/>  checking for getaddrinfo() &#8230; found<br \/>  configuring additional modules<br \/>  adding module in \/www\/server\/nginx\/src\/ngx_devel_kit<br \/>  + ngx_devel_kit was configured<br \/>  adding module in \/www\/server\/nginx\/src\/lua_nginx_module<br \/>  checking for LuaJIT library in \/usr\/local\/lib and \/usr\/local\/include\/luajit-2.0\/ (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) &#8230; found<br \/>  checking for export symbols by default (-E) &#8230; found<br \/>  checking for export symbols by default (&#8211;export-all-symbols) &#8230; not found<br \/>  checking for SO_PASSCRED &#8230; found<br \/>  checking for __attribute__(constructor) &#8230; found<br \/>  checking for malloc_trim &#8230; found<br \/>  + ngx_http_lua_module was configured<br \/>  adding module in \/www\/server\/nginx\/src\/ngx_cache_purge<br \/>  + ngx_http_cache_purge_module was configured<br \/>  adding module in \/www\/server\/nginx\/src\/nginx-sticky-module<br \/>  + ngx_http_sticky_module was configured<br \/>  adding module in \/www\/server\/nginx\/src\/nginx-dav-ext-module<br \/>  + ngx_http_dav_ext_module was configured<br \/>  checking for zlib library &#8230; found<br \/>  checking for libxslt &#8230; found<br \/>  checking for libexslt &#8230; found<br \/>  checking for GD library &#8230; not found<br \/>  checking for GD library in \/usr\/local\/ &#8230; not found<br \/>  checking for GD library in \/usr\/pkg\/ &#8230; not found<br \/>  checking for GD library in \/opt\/local\/ &#8230; not found<\/p>\n<p>  .\/configure: error: the HTTP image filter module requires the GD library.<br \/>  You can either do not enable the module or install the libraries.<\/p>\n<p>  make: *** No rule to make target &#8216;build&#8217;, needed by &#8216;default&#8217;.Stop.<br \/>  make: *** No rule to make target &#8216;install&#8217;.Stop.<br \/>  ========================================================<br \/>  nginx.sh: line 284: GetSysInfo: command not found<br \/>  ERROR: nginx-1.15.10 installation failed.  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>mgwx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u88c5\uff0c\u8c22\u8c22\uff0c\u4e8c\u767e\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>naukgnay<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0dD\u7528 ubuntu \u4e00\u6837\u7528\u554a:L:L\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>optimism<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5e2e\u9876\u4e00\u4e0b\u5427\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>aru<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tapt update &amp;&amp; apt -y install build-essential cmake libgd-dev\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zgwxb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\taru \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-10-12 21:20<br \/>  apt update &amp;&amp; apt -y install build-essential cmake libgd-dev<\/p>\n<p> \u8c22\u8c22\uff0c\u4f60\u8fd9\u4e2a\u662f\u6b63\u89e3\uff01\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zgwxb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u88c5\u4e0a\u4e86nginx\uff0c\u7ed3\u679c\u53c8\u88c5\u4e0d\u4e0amysql\u4e86:L<br \/>  \u5404\u4f4d\u5927\u4f6c\u518d\u5e2e\u770b\u770b\u554a<\/p>\n<p>  &#8212; Check size of mbstate_t<br \/>  &#8212; Check size of mbstate_t &#8211; done<br \/>  &#8212; Performing Test HAVE_LANGINFO_CODESET<br \/>  &#8212; Performing Test HAVE_LANGINFO_CODESET &#8211; Success<br \/>  &#8212; Looking for mbrlen<br \/>  &#8212; Looking for mbrlen &#8211; found<br \/>  &#8212; Looking for mbscmp<br \/>  &#8212; Looking for mbscmp &#8211; not found<br \/>  &#8212; Looking for mbsrtowcs<br \/>  &#8212; Looking for mbsrtowcs &#8211; found<br \/>  &#8212; Looking for wcrtomb<br \/>  &#8212; Looking for wcrtomb &#8211; found<br \/>  &#8212; Looking for mbrtowc<br \/>  &#8212; Looking for mbrtowc &#8211; found<br \/>  &#8212; Looking for wcscoll<br \/>  &#8212; Looking for wcscoll &#8211; found<br \/>  &#8212; Looking for wcsdup<br \/>  &#8212; Looking for wcsdup &#8211; found<br \/>  &#8212; Looking for wcwidth<br \/>  &#8212; Looking for wcwidth &#8211; found<br \/>  &#8212; Looking for wctype<br \/>  &#8212; Looking for wctype &#8211; found<br \/>  &#8212; Looking for iswlower<br \/>  &#8212; Looking for iswlower &#8211; found<br \/>  &#8212; Looking for iswupper<br \/>  &#8212; Looking for iswupper &#8211; found<br \/>  &#8212; Looking for towlower<br \/>  &#8212; Looking for towlower &#8211; found<br \/>  &#8212; Looking for towupper<br \/>  &#8212; Looking for towupper &#8211; found<br \/>  &#8212; Looking for iswctype<br \/>  &#8212; Looking for iswctype &#8211; found<br \/>  &#8212; Check size of wchar_t<br \/>  &#8212; Check size of wchar_t &#8211; done<br \/>  &#8212; Check size of wctype_t<br \/>  &#8212; Check size of wctype_t &#8211; done<br \/>  &#8212; Check size of wint_t<br \/>  &#8212; Check size of wint_t &#8211; done<br \/>  &#8212; Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)<br \/>  CMake Error at cmake\/readline.cmake:83 (MESSAGE):<br \/>  Curses library not found.Please install appropriate package,<\/p>\n<p>  remove CMakeCache.txt and rerun cmake.On Debian\/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.<br \/>  Call Stack (most recent call first):<br \/>  cmake\/readline.cmake:118 (FIND_CURSES)<br \/>  cmake\/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)<br \/>  CMakeLists.txt:394 (MYSQL_CHECK_READLINE)<\/p>\n<p>  &#8212; Configuring incomplete, errors occurred!<br \/>  See also &quot;\/www\/server\/mysql\/src\/CMakeFiles\/CMakeOutput.log&quot;.<br \/>  See also &quot;\/www\/server\/mysql\/src\/CMakeFiles\/CMakeError.log&quot;.<br \/>  make: *** No targets specified and no makefile found.Stop.<br \/>  ========================================================<br \/>  mysql.sh: line 544: GetSysInfo: command not found<br \/>  ERROR: mysql 5.5 installation failed.  \t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>zgwxb \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u7532\u9aa8\u6587&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/543671"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=543671"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/543671\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=543671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=543671"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=543671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}