'미티어 실행'에 해당되는 글 1건

  1. 2018.01.25 Meteor 미티어 서버 실행
2018. 1. 25. 11:49

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
[root@meteor]# meteor run
 
You are attempting to run Meteor as the 'root' superuser. If you are developing, this is almost certainly
*not* what you want to do and will likely result in incorrect file permissions. However, if you are
running this command in a build process (CI, etc.), or you are absolutely sure you know what you are
doing, set the METEOR_ALLOW_SUPERUSER environment variable or pass --allow-superuser to proceed.
 
Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app directory will be incorrect
if you ever attempt to perform any Meteor tasks as a normal user. If you need to fix your permissions, run
the following command from the root of your project:
 
  sudo chown -Rh <username> .meteor/local
 
[root@meteor]# meteor run --allow-superuser
 
Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app directory will be incorrect
if you ever attempt to perform any Meteor tasks as a normal user. If you need to fix your permissions, run
the following command from the root of your project:
 
  sudo chown -Rh <username> .meteor/local
 
[[[[[ /var/www/html/meteor ]]]]]         
 
=> Started proxy.                             
=> Started MongoDB.                           
=> Started your app.                          
 
=> App running at: http://localhost:3000/
cs


meteor run 하면 되는데, root계정일때는 알림이 뜬다.


그래서 

meteor run --allow-superuser

라고 써줘야 한다.


그러면 http://localhost:3000/


로 접속하라고 뜨는데, 접속이 안되는거다.


그래서 보니까, 


아마존서버 보안그룹에서 포트를 열어줘야한다.


AWS로 들어가서,


NETWORK&Security에서 '보안그룹'으로 들어가서, 


아래와 같이 추가해준다.


보안 그룹: sg-ebac5e9f
설명
인바운드
아웃바운드
태그
유형
프로토콜
포트 범위
소스
설명
HTTP
TCP
80
0.0.0.0/0
HTTP
TCP
80
::/0
SSH
TCP
22
0.0.0.0/0
SSH
TCP
22
::/0
사용자 지정 TCP 규칙
TCP
3000
0.0.0.0/0
사용자 지정 TCP 규칙
TCP
3000
::/0

























그러면 접속이 된다.








위 같은 화면이 뜨고, 버튼를 누를때마다 숫자가 올라간다.

























Posted by Tyson