差分

Tabetainet

1,514 バイト追加, 2023年10月15日 (日) 19:17
編集の要約なし
[[category:memo|{{PAGENAME}}]]
$ forever start server.js
 
jq@MacBook-Pro tabetainet % npm start
 
jq@MacBook-Pro tabetainet % rsync -r --delete ~/tabetainet/ jq:/home/jq/tabetainet/ÍÍ
 
https://rakusui.org/mongodb_mac_install/
 
== CREATE USER tabetainet ==
tabetainet=# CREATE USER tabetainet WITH PASSWORD 'pass';
 
tabetainet=# GRANT jq TO tabetainet;
 
% brew services stop postgresql
% brew services start postgresql
 
== passport-google-oauth20 ==
npm install express-session --save
 
npm install session-file-store --save
 
npm install passport --save
 
npm install passport-google-oauth20 --save
 
== ポートkill ==
<nowiki>jq@MacBook-Pro tabetainet % lsof -i :3000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
com.apple 472 jq 16u IPv6 0xb147dae41ba8a52f 0t0 TCP localhost:52098->localhost:hbci (ESTABLISHED)
com.apple 472 jq 19u IPv6 0xb147dae41ba8a52f 0t0 TCP localhost:52098->localhost:hbci (ESTABLISHED)
Google 476 jq 32u IPv6 0xb147dae43ba0ff0f 0t0 TCP localhost:52071->localhost:hbci (ESTABLISHED)
node 39813 jq 24u IPv6 0xb147dae43ba11daf 0t0 TCP *:hbci (LISTEN)
node 39813 jq 27u IPv6 0xb147dae43ba123cf 0t0 TCP localhost:hbci->localhost:52071 (ESTABLISHED)
node 39813 jq 30u IPv6 0xb147dae41ba89f0f 0t0 TCP localhost:hbci->localhost:52098 (ESTABLISHED)
jq@MacBook-Pro tabetainet % kill -9 39813
jq@MacBook-Pro tabetainet % lsof -i :3000
jq@MacBook-Pro tabetainet % </nowiki>
 
== 見出しタイトル ==
<nowiki># Node.js v18をインストール