[AWS] ec2 linux nginx 서브도메인 설정 웹서버 nginx 사용 및 서브도메인 설정 먼저 Route 53에서 create hosted zone->생성하면 NS, SOA 자동 생성됨. create record setname은 빈칸type Avalue에 ip주소 create record setwwwcname도메인 주소 democname도메인 주소 가비아에서 네임서버 4개 입력 ======= nginx 설치 http://wingsnote.com/55http://wingsnote.com/57https://www.conory.com/note_linux/42847https://www.nginx.com/resources/wiki/start/topics/tutorials/install/http://julian.io/how-do-i-host-multiple-m.. 더보기 [AWS] meteor spawn ENOMEM ec2에서 meteor하려는데 spawn ENOMEM 에러free -m 확인하면 Swap 메모리가 0이라서 그럼 sudo fallocate -l 512MB /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile sudo vi /etc/fstab 아래줄에 /swapfile swap swap defaults 0 0 추가 더보기 [AWS] 개인 사이트를 위한 ec2 최초 설정 Services -> EC2(Elastic Computer Cloud) -> Instances 인스턴스: 서버 하나하나를 지칭 ----인스턴스 만들기 Launch InstanceAmazon Instance AMI(64bit) 선택Instance Type은 성능을 결정함. 여기에서 무료인 t2.micro(free tier eligible) 선택Launch and Review key 없으면 key pair 생성 후 다운로드.view instance ---이름 입력instance status가 running이면 정상instance reboot은 재부팅 terminate는 제거 ---보안설정해당 인스턴스의 description에서 security group의 view rule보안규칙 확인가능 왼쪽 메뉴에서 se.. 더보기 ionic2 'myproject'이름으로 ionic app 생성ionic start myproject --v2 브라우저에서 테스트ionic serve 기기별 테스트ionic lab angularfire2: angular2 lib for firebasenpm install firebase angularfire2 --save 더보기 [git] OSS 기여 준비 1. 하고 싶은 프로젝트 fork 2. fork해온 프로젝트를 로컬에 클론git clone https://github.com/Allie-Kim/three.js.git 3. remote에 원본 프로젝트 연결git remote add upstream https://github.com/mrdoob/three.js.git(관례적으로 upstream 사용) 원본 프로젝트를 클론하고, fork해온 내 프로젝트를 remote에 연결하는 방식도 있음. git remote -v 으로 확인 --- 준비는 끝. 기여 1. 개발 전에 pull하여 원본 프로젝트와 sync를 맞춤git pull upstream dev three.js에서는 공식적인 개발 브랜치로 dev 사용git branch로 확인할 것 2. git pus.. 더보기 이전 1 ··· 4 5 6 7 8 9 10 ··· 33 다음