éå»ã«ãã¨ãããããpm2ã§Node.jsã®å®è¡ç°å¢ãä½ã£ãã®ã§ãããNode.jsã«ãæ £ãã¦ããã®ã§ãpm2ã®è¨å®ãè¦ç´ãã¨ã¨ãã«ãåå¿é²ã¨ãã¦æ®ãã¦ãããã¨æãã¾ãã ã¾ããWebã§å®è¡ç¶æ ãææ¡ã§ããpm2-guiãã¤ã³ã¹ãã¼ã«ãã¾ãã pm2ã¯ãnode.jsã¢ããªã®å®è¡ç¶æ ã®æ°¸ç¶åãããã»ã¹ã®ç¶æ ããã°ã®ç®¡çãªã©ãNode.jsã¢ããªã®å®è¡ç®¡çã«æç¨ãªã¢ããªã§ãã pm2ã¤ã³ã¹ãã¼ã« NPMã使ã£ã¦ã¤ã³ã¹ãã¼ã«ãã¾ãã npm install pm2 -g [åèæ å ±] https://pm2.io/doc/en/runtime/overview/ rootã¢ã«ã¦ã³ãã§èµ·åããå ´åã¯ãrootã¢ã«ã¦ã³ãã§ãã°ã¤ã³ããç¶æ ã§ä¸è¨ãå®è¡ãã¾ãã å®è¡ããNode.jsã¢ããªã¯ãJSONå½¢å¼ã®è¨å®ãã¡ã¤ã«ã«æå®ãã¾ãã ãã¨ãã°ã以ä¸ã«ç½®ãã¾ãã /etc/pm2/pm2.config
{{#tags}}- {{label}}
{{/tags}}