{"id":2390,"date":"2021-06-16T16:43:02","date_gmt":"2021-06-16T07:43:02","guid":{"rendered":"https:\/\/www.choco.org.uk\/chocodb\/?p=2390"},"modified":"2021-09-21T17:50:26","modified_gmt":"2021-09-21T08:50:26","slug":"nadesiko3%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e4%bd%9c%e3%82%8a%e6%96%b9%e3%81%9d%e3%81%ae%ef%bc%93","status":"publish","type":"post","link":"https:\/\/www.choco.org.uk\/chocodb\/?p=2390","title":{"rendered":"Nadesiko3\u30b5\u30fc\u30d0\u30fc\u306e\u4f5c\u308a\u65b9\u305d\u306e\uff13"},"content":{"rendered":"<a href=\"https:\/\/www.choco.org.uk\/chocodb\/?p=2390&amp;print=1\" title=\"\u3053\u306e\u30da\u30fc\u30b8\u3092\u5370\u5237\u3057\u307e\u3059\u3002\" rel=\"nofollow\"><img decoding=\"async\" class=\"WP-PrintIcon\" src=\"https:\/\/www.choco.org.uk\/chocodb\/wp-content\/plugins\/wp-print\/images\/print.gif\" alt=\"\u3053\u306e\u30da\u30fc\u30b8\u3092\u5370\u5237\u3057\u307e\u3059\u3002\" title=\"\u3053\u306e\u30da\u30fc\u30b8\u3092\u5370\u5237\u3057\u307e\u3059\u3002\" style=\"border: 0px;\" \/><\/a>&nbsp;<a href=\"https:\/\/www.choco.org.uk\/chocodb\/?p=2390&amp;print=1\" title=\"\u3053\u306e\u30da\u30fc\u30b8\u3092\u5370\u5237\u3057\u307e\u3059\u3002\" rel=\"nofollow\">\u3053\u306e\u30da\u30fc\u30b8\u3092\u5370\u5237\u3057\u307e\u3059\u3002<\/a>\n<p><a href=\"https:\/\/nadesi.com\/doc3\/index.php?CentOS%2Finstall\">\u306a\u3067\u3057\u3053\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u306f\u300cCentOS\u300d\u306b\u5165\u308c\u308b\u65b9\u6cd5\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/a><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u3010\u91cd\u8981\u30dd\u30a4\u30f3\u30c8\u3011<\/span><\/strong><br \/>\nNodejs\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u5b9f\u884c\u3057\u305f\u6642\u306e\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306b\u306a\u308b\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4e88\u3081\u8003\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\uff08\u79c1\u306f\u5c02\u7528\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u3066\u3001\u305d\u3053\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u3084\u308a\u76f4\u3057\u307e\u3057\u305f\u3002\u3002\u3002\u3002\uff09<\/p>\n<p>\u4f8b\uff09\u30e6\u30fc\u30b6\u30fc\u300cnadesiko\u300d\u3092\u4f5c\u6210\u3057\u3066\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\uff1euseradd nadesiko<br \/>\n\uff1epasswd nadesiko<\/p>\n<p>Changing password for user nadesiko.<br \/>\nNew password:nade1234<br \/>\nRetype new password:nade1234<br \/>\npasswd: all authentication tokens updated successfully.<\/p>\n<p><em><span style=\"color: #ff00ff;\">\u203b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u9078\u3093\u3067\u79fb\u52d5\u3057\u307e\u3059\u3002\uff08\u5fc5\u9808\u3067\u3059\uff09<\/span><\/em><br \/>\n\uff1ecd \/home\/nadesiko<\/p>\n<p><span style=\"color: #ff00ff;\">\u203bnoudejs\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6642\u306b\u3001\u300c\/home\u300d\u4ee5\u5916\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3001\u6a29\u9650\u3092\u300c777\u300d\u306b\u3057\u3066\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><br \/>\n\u4f8b\uff1e<strong><span style=\"color: #0000ff;\">chmod 777 \/var\/www<\/span><\/strong><\/p>\n<p><span style=\"color: #0000ff;\">\u5834\u6240\u3092\u6c7a\u3081\u305f\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><br \/>\n\uff1eyum install nodejs<\/p>\n<p>\u300cnodejs.x86_64 1:6.17.1-1.el7\u300d\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>Node.js\u3092\u6700\u65b0\u7248\u306b\u3057\u307e\u3059\u3002<br \/>\n\uff1enpm install n -g<br \/>\n\uff1en stable<\/p>\n<p>installing : node-v14.17.1<br \/>\nmkdir : \/usr\/local\/n\/versions\/node\/14.17.1<br \/>\nfetch : https:\/\/nodejs.org\/dist\/v14.17.1\/node-v14.17.1-linux-x64.tar.xz<br \/>\ninstalled : v14.17.1 (with npm 6.14.13)<\/p>\n<p>Note: the node command changed location and the old location may be remembered i n your current shell.<br \/>\nold : \/usr\/bin\/node<br \/>\n<span style=\"color: #ff00ff;\">new : \/usr\/local\/bin\/node<\/span><br \/>\nTo reset the command location hash either start a new shell, or execute PATH=&#8221;$P<\/p>\n<p>Nodejs\u306ePATH\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\uff1eln -sf \/usr\/local\/bin\/node \/usr\/bin\/node<br \/>\n\uff1eln -sf \/usr\/local\/bin\/npm \/usr\/bin\/npm<\/p>\n<p>\u5ff5\u306e\u305f\u3081\u3001npm\u3082\u66f4\u65b0\u3057\u307e\u3059\u3002<br \/>\n\uff1enpm update -g npm<\/p>\n<p>\u306a\u3067\u3057\u3053\uff13\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306e\u3067\u3001\uff13\u3064\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u3066\u3002\uff08\u3069\u308c\u304c\u3044\u3044\u306e\u3060\u308d\u3046\u304b\uff1f\uff09<\/p>\n<p>\u2460npm\u7d4c\u7531\u3067\u306a\u3067\u3057\u30533\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<br \/>\n<span style=\"color: #ff00ff;\">\u2461\u30ed\u30fc\u30ab\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/span><br \/>\n\u2462Git\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<p>\u60aa\u9b54\u306e\u4e09\u629e\u3067\u3059\uff08\uff57<br \/>\n\u7406\u60f3\u3092\u8a00\u3048\u3070\u3001\u3044\u3063\u305f\u3093\u5165\u308c\u305f\u300c\u306a\u3067\u3057\u3053\uff13\u300d\u3092\u3044\u3064\u3067\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u306a\u4ed5\u7d44\u307f\u304c\u6b32\u3057\u3044\u306e\u3067\u3059\u304c\u3002<br \/>\n\u4f8b\uff09yum\u3000update\u3000\u7b49<\/p>\n<p>\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u4e2d\u9593\u3092\u53d6\u308b\u4e8b\u306b\u3057\u3066\u3044\u307e\u3059\uff08\u30ed\u30fc\u30ab\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff09<br \/>\n\uff1e<span style=\"color: #ff00ff;\">npm install nadesiko3<\/span><\/p>\n<p><span style=\"color: #339966;\">npm WARN saveError ENOENT: no such file or directory, open &#8216;\/package.json&#8217;<\/span><br \/>\n<span style=\"color: #339966;\">npm notice created a lockfile as package-lock.json. You should commit this file.<\/span><br \/>\n<span style=\"color: #339966;\">npm WARN enoent ENOENT: no such file or directory, open &#8216;\/package.json&#8217;<\/span><br \/>\n<span style=\"color: #339966;\">npm WARN !invalid#1 No description<\/span><br \/>\n<span style=\"color: #339966;\">npm WARN !invalid#1 No repository field.<\/span><br \/>\n<span style=\"color: #339966;\">npm WARN !invalid#1 No README data<\/span><br \/>\n<span style=\"color: #339966;\">npm WARN !invalid#1 No license field.<\/span><\/p>\n<p>+ nadesiko3@3.2.15<br \/>\nadded 109 packages from 67 contributors and audited 109 packages in 10.21s<\/p>\n<p>4 packages are looking for funding<br \/>\nrun `npm fund` for details<\/p>\n<p>found 0 vulnerabilities<\/p>\n<p>\u6210\u529f\u3057\u305f\u306e\u3002\u3002\u3002\u304b\u306a\uff1f\u305d\u306e\uff14\u306b\u7d9a\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u3067\u3057\u3053\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u306f\u300cCentOS\u300d\u306b\u5165\u308c\u308b\u65b9\u6cd5\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u3010\u91cd\u8981\u30dd\u30a4\u30f3\u30c8\u3011 Nodejs\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u5b9f\u884c\u3057\u305f\u6642\u306e\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306b\u306a\u308b\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4e88\u3081\u8003\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[103,172,39],"tags":[170,161,162,169],"class_list":["post-2390","post","type-post","status-publish","format-standard","hentry","category-nadesiko3","category-nginx","category-server","tag-centos-stream","tag-sakura","tag-vps","tag-169"],"_links":{"self":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/2390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2390"}],"version-history":[{"count":21,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/2390\/revisions"}],"predecessor-version":[{"id":2694,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/2390\/revisions\/2694"}],"wp:attachment":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}