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개
게시글 목록
| 번호 | 제목 |
|---|---|
| 16893 | |
| 16890 |
PHP
DB 세션 핸들링
2
|
| 16889 | |
| 16888 |
node.js
c++로 만들어진 코드를 바인딩하기
1
|
| 16887 |
node.js
express이용하여 간단하게 api 서버 만들기
1
|
| 16886 | |
| 16885 |
node.js
Mac os에서 nvm + node 설치편
|
| 16884 |
node.js
nvm설치 + nodejs 설치
|
| 16883 | |
| 16882 | |
| 16881 | |
| 16880 | |
| 16871 | |
| 16870 | |
| 16868 |
OS
opendkim 설치
|
| 16863 | |
| 16861 | |
| 16856 | |
| 16852 | |
| 16834 | |
| 16833 | |
| 16829 | |
| 16827 | |
| 16826 | |
| 16823 | |
| 16822 | |
| 16819 | |
| 16818 | |
| 16817 | |
| 16806 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기