vscode 에서 AWS Lightsail 인스턴스에 접속하기
https://www.youtube.com/watch?v=GrNDOZ49OWE
vscode 에 Extension 설치 및 설정
1. AWS Lightsail 에서 인스턴스 생성
2. 생성된 인스턴스 > 관리 > 계정페이지 > SSH 키 > 서울(리전 선택) > pem 파일 다운로드
3. vscode 실행
4. Extensions 이동 > Remote SSH 설치
5. Remote Explorer 이동
6. Add New > ssh ec2-user@xxx.xxx.xxx.xxx (인스턴스의 아이피)
7. C:\Users\계정\.ssh\config 에 저장 하거나 다른 이름으로 저장
8. config 파일에 IdentityFile 경로\LightsailDefaultKey-ap-northeast-2.pem 추가 및 저장
Lightsail 인스턴스에 설치 및 설정
1. sudo su 로 super user 접속
2. amazon-linux-extras install php7.3 nginx1 설치
3. vi /etc/nginx/nginx.conf 에서 root 경로를 /home/ec2-user/www; 로 변경
4. chmod 701 /home/ec2-user 로 others 에 실행권한 부여
5. mkdir /home/ec2-user/www 생성
6. systemctl start nginx 으로 nginx 실행
7. /home/ec2-user/www/index.php 에서 phpinfo(); 가 정상 작동하는지 테스트
문서와 동영상을 같이 참고해 주시기 바랍니다.
댓글 10개
제가 우분투를 잘 몰라서요~ ㅠㅠ
우분투의 경우에도 apazon linux 2 와 같은 방법으로 접속이 잘되는것을 확인하였습니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 16329 |
node.js
Node.js MongoDB 정렬
|
| 16328 |
node.js
정규 표현식으로 필터링
|
| 16327 |
node.js
환경설정 - dotenv
|
| 16326 |
node.js
Node.js MongoDB 쿼리
|
| 16325 | |
| 16324 |
node.js
nodejs MongoDB Find All
|
| 16323 |
node.js
Node.js MongoDB find
|
| 16322 |
node.js
node.js MongoDB _id Field
|
| 16321 |
node.js
node.js MongoDB 여러 문서 삽입
|
| 16320 |
node.js
Node.js MongoDB Insert
|
| 16319 |
node.js
Node.js MongoDB 컬렉션 만들기
|
| 16318 |
node.js
Node.js MongoDB 데이터베이스 생성
|
| 16317 |
node.js
Node.js MongoDB 설치
1
|
| 16316 |
node.js
Node.js 전자 메일 보내기
|
| 16315 |
node.js
Node.js 파일 업로드
|
| 16310 |
node.js
node.js 이벤트 모듈
|
| 16309 |
node.js
node.js NPM
|
| 16308 |
node.js
node.js 파일삭제, 파일 이름 바꾸기
|
| 16305 |
node.js
nodejs 기초문법 - 클래스
3
|
| 16304 |
node.js
nodejs 기초문법 - 조건문 반복문
|
| 16303 |
node.js
nodejs .기초문법 변수선언 , 함수선언
|
| 16302 |
node.js
nodejs 파일 업데이트
|
| 16301 |
node.js
nodejs 파일 만들기
|
| 16300 |
node.js
nodejs 파일 읽기
1
|
| 16299 |
node.js
Node.js 쿼리 문자열 읽기 , 쿼리 문자열 분할하기
|
| 16298 |
node.js
NOde.js HTTP 모듈
|
| 16297 |
node.js
Node.js 모듈
|
| 16295 |
node.js
nods.js 시작하기
|
| 16294 |
node.js
node.js 란 2번째
|
| 16293 |
node.js
Node.js란
1
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기