{"id":164,"date":"2021-10-09T16:47:22","date_gmt":"2021-10-09T07:47:22","guid":{"rendered":"https:\/\/blog.siraisiofficial.net\/?p=164"},"modified":"2023-03-06T07:05:03","modified_gmt":"2023-03-05T22:05:03","slug":"nginx%e3%82%92%e5%85%a5%e3%82%8c%e3%81%9f%e3%81%ae%e3%81%ab%e8%b5%b7%e5%8b%95%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8b%e3%81%a3%e3%81%9f%e8%a9%b1","status":"publish","type":"post","link":"https:\/\/blog.schnetworks.net\/?p=164","title":{"rendered":"nginx\u3092\u5165\u308c\u305f\u306e\u306b\u8d77\u52d5\u3067\u304d\u306a\u304b\u3063\u305f\u8a71"},"content":{"rendered":"\n<p>\u3069\u3046\u3082\u767d\u77f3(Siraisi_1108)\u3067\u3059\u3002\u3064\u3044\u3053\u306e\u524d\u3001Nginx\u3092\u7528\u3044\u305f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u69cb\u6210\u3092\u3057\u3088\u3046\u3068\u601d\u3044\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#dnf install nginx\n#systemctl start nginx<\/code><\/pre>\n\n\n\n<p>\u3092\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306a\u306e\u306bnginx\u304c\u8d77\u52d5\u3057\u306a\u3044\u3068\u3044\u3046\u73fe\u8c61\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8abf\u3079\u3066\u307f\u308b\u3068<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#lsof -i | grep nginx\nnginx     38455            root    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38455            root   10u  IPv6 231577      0t0  TCP *:http (LISTEN)\nnginx     38456           nginx    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38456           nginx   10u  IPv6 231577      0t0  TCP *:http (LISTEN)\nnginx     38457           nginx    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38457           nginx   10u  IPv6 231577      0t0  TCP *:http (LISTEN)\nnginx     38458           nginx    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38458           nginx   10u  IPv6 231577      0t0  TCP *:http (LISTEN)\nnginx     38459           nginx    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38459           nginx   10u  IPv6 231577      0t0  TCP *:http (LISTEN)\nnginx     38460           nginx    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38460           nginx   10u  IPv6 231577      0t0  TCP *:http (LISTEN)\nnginx     38461           nginx    9u  IPv4 231576      0t0  TCP *:http (LISTEN)\nnginx     38461           nginx   10u  IPv6 231577      0t0  TCP *:http (LISTEN)<\/code><\/pre>\n\n\n\n<p>\u8d77\u52d5\u3057\u305f\u899a\u3048\u304c\u306a\u3044\u306e\u306b\u7acb\u3061\u4e0a\u304c\u3063\u3066\u3044\u308bnginx\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u304b\u306a\u308a\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u306a\u306e\u3067\u3059\u3079\u3066kill\u30b3\u30de\u30f3\u30c9\u3067\u7d42\u4e86<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#kill -9 38455 38456 38457 38458 38459 38460 38461<\/code><\/pre>\n\n\n\n<p>\u305d\u3057\u3066nginx\u3092\u518d\u8d77\u52d5\u3057\u3066\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u25cf nginx.service - The nginx HTTP and reverse proxy server\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/nginx.service; disabled; vendor preset: disabled)\n     Active: active (running) since Sat 2021-10-09 15:33:45 JST; 6s ago<\/code><\/pre>\n\n\n\n<p>\u3057\u3063\u304b\u308a\u3068Active\u8868\u793a(\u8d77\u52d5)\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306a\u3093\u3060\u304b\u3089\u3061\u3083\u3093\u3068\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3088\u3001\u3001\u3001<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u767d\u77f3(Siraisi_1108)\u3067\u3059\u3002\u3064\u3044\u3053\u306e\u524d\u3001Nginx\u3092\u7528\u3044\u305f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u69cb\u6210\u3092\u3057\u3088\u3046\u3068\u601d\u3044\u3001 \u3092\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306a\u306e\u306bnginx\u304c\u8d77\u52d5\u3057\u306a\u3044\u3068\u3044\u3046\u73fe\u8c61\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002 \u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8abf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4,9],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-nwinfra","category-zitakusaba","category-oboegaki"],"_links":{"self":[{"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":5,"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":171,"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/171"}],"wp:attachment":[{"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.schnetworks.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}