-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
131 lines (85 loc) · 2.93 KB
/
readme.txt
File metadata and controls
131 lines (85 loc) · 2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
http://192.168.10.2/
https://github.com/yanghoon/node.git
http://www.rejetto.com/hfs/
https://marketplace.eclipse.org/content/easyshell#group-details
* node standard
https://www.npmjs.com/
http://node-modules.com/
http://expressjs.com/ko/
* node deep dive
http://programmingsummaries.tistory.com/340
http://unikys.tistory.com/309
* express
http://bits-and-kites.blogspot.kr/2015/03/spring-and-nodejs
https://github.com/expressjs/connect-multiparty/blob/master/index.js
* ANTLR
https://tomassetti.me/antlr-and-the-web/
https://github.com/grosenberg/AntlrDT
https://github.com/antlr/grammars-v4
* Java CPU
http://wp.goodchois.kr/devtip/archives/344
http://mindseye.tistory.com/57
http://kor-khkim.blogspot.kr/2013/09/os-thread-cpu.html
https://www.ibm.com/support/knowledgecenter/ko/SSYKE2_6.0.0/com.ibm.java.doc.60_26/vm626/J9/RAS/javadump_tags_threads.html
http://www.shop-wiz.com/board/view/root/java01/tid/250/category/0
http://d2.naver.com/helloworld/10963
http://tech.whatap.io/2015/09/03/linux-monitoring/
http://theeye.pe.kr/archives/1450
* 3-4
IWS
https://www.youtube.com/watch?time_continue=34&v=nPWbVXM5nAE
https://www.youtube.com/watch?v=EGKS9TfwrMo
JUK
https://www.youtube.com/watch?v=boPo6TpC_Cw
Control
http://www.hungryapp.co.kr/bbs/bbs_view.php?pid=17702&bcode=girlsfrontline&catecode=002
ARs
https://www.youtube.com/watch?v=tnprlSWcocs
[putty]
https://terminal.sexy/
[git]
#https://help.github.com/articles/cloning-a-repository/
ubuntu@ip-172-31-6-151:~$ pwd
/home/ubuntu
ubuntu@ip-172-31-6-151:~$ git clone https://github.com/yanghoon/node
Cloning into 'node'...
remote: Counting objects: 185, done.
remote: Compressing objects: 100% (106/106), done.
remote: Total 185 (delta 85), reused 161 (delta 61), pack-reused 0
Receiving objects: 100% (185/185), 37.11 KiB | 0 bytes/s, done.
Resolving deltas: 100% (85/85), done.
Checking connectivity... done.
ubuntu@ip-172-31-6-151:~$ ls -l
total 8
drwxrwxr-x 5 ubuntu ubuntu 4096 Nov 29 05:23 node
drwxrwxr-x 7 ubuntu ubuntu 4096 Nov 29 05:14 server
ubuntu@ip-172-31-6-151:~$ cd node
ubuntu@ip-172-31-6-151:~/node$ ls -l
total 20
drwxrwxr-x 7 ubuntu ubuntu 4096 Nov 29 05:23 express4-node
drwxrwxr-x 6 ubuntu ubuntu 4096 Nov 29 05:23 express-node
-rw-rw-r-- 1 ubuntu ubuntu 1674 Nov 29 05:23 node.pem
-rw-rw-r-- 1 ubuntu ubuntu 1438 Nov 29 05:23 node.ppk
-rw-rw-r-- 1 ubuntu ubuntu 1483 Nov 29 05:23 readme.txt
ubuntu@ip-172-31-6-151:~/node$
ubuntu@ip-172-31-6-151:~/bin$ pwd
/home/ubuntu/bin
ubuntu@ip-172-31-6-151:~/bin$ cat deploy.sh
#!/bin/bash
cd ~/node && git pull
cd ~/server
npm install
forever restartall
pwd
tail -f ~/log/express.log
ubuntu@ip-172-31-6-151:~/bin$ cat shutdown.sh
#!/bin/bash
forever stop express
ubuntu@ip-172-31-6-151:~/bin$ cat start.sh
#!/bin/bash
forever start -a --uid "express" ~/server/bin/www
tail -f ../log/express.log
[node intsll]
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install forever -g