AWS
-
EC2 - Docker MariaDB 설치하기 [5]AWS 2021. 1. 31. 19:51
2021/01/26 - [AWS] - EC2 - Ubuntu Docker 설치하기 [4] EC2 - Ubuntu Docker 설치하기 [4] 1. apt 업데이트, 패키지 설치 sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common 2. GPG key 등록 curl -fsSL https://dow.. yun-seyeong.tistory.com 1. MariaDB 이미지 설치 docker pull mariadb 2. 컨테이너 생성 docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=1234 m..
-
EC2 - Ubuntu Docker 설치하기 [4]AWS 2021. 1. 26. 23:53
1. apt 업데이트, 패키지 설치 sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common 2. GPG key 등록 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 3. repository에 추가 sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" 4. docker 설치하기 apt-get..
-
EC2 - NGINX echo 모듈 빌드하기 [3]AWS 2021. 1. 25. 21:37
1. echo 모듈 다운로드 링크 https://github.com/openresty/echo-nginx-module/tags openresty/echo-nginx-module An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config file - openresty/echo-nginx-module github.com 2. 원하는 버젼에서 tar.gz다운로드 링크를 복사해 wget으로 받는다. cd /root/workspace wget https://github.com/openresty/echo-nginx-module/archive/v0.62.tar.gz tar -xvf v0.62.tar.gz 3. ..
-
EC2 - NGINX 빌드하기 [2]AWS 2021. 1. 24. 22:45
1. apt 업데이트후, gcc, make를 설치한다. (nginx를 빌드할때 사용된다.) apt-get update apt install gcc apt-get install make 2. 먼저 설치하고 싶은 nginx 버젼을 다운받는다. http://nginx.org/en/download.html nginx: download nginx.org wget http://nginx.org/download/nginx-1.18.0.tar.gz tar -xvf nginx-1.18.0.tar.gz 3. 압출을 푼 폴더에 들어가면 configure이라는 프로그램이 있다. 이걸 사용해서 설정을 해야된다. mkdir /root/workspace/nginx ./configure --prefix=/root/workspace/..
-
EC2 - Ubuntu 서버 만들기 [1]AWS 2021. 1. 24. 14:15
1. AWS Console 로그인하기 https://aws.amazon.com/ko/console/ AWS Management Console 11월 30일~12월 18일 및 1월 12일~14일 | 수백 개의 세션에 액세스하고, 클라우드 리더들의 이야기를 듣고, AWS의 최신 소식을 누구보다 먼저 확인하세요. aws.amazon.com 2. EC2를 누른다. 3. EC2 대시보드 -> 인스턴스 시작 매뉴 -> 인스턴스 시작 4. 빠른시작 -> Ubuntu Server 20.04 LTS (HVM), SSD Volume Type 64비트(x86) -> 선택 5. 인스턴스 유형 선택 후 검토 및 시작 6. 보안그룹 편집 7. 키페어 생성 (pem파일 생성 후 다운로드, 이름은 원하는 것으로 입력), 인스턴스 시..