전체 글 썸네일형 리스트형 Terraform AWS Provider 설정 방법 (Profile 기반) Terraform AWS Provider 설정 방법 (Profile 기반)Terraform에서 AWS 리소스를 생성하기 위해서는 AWS Credential + Provider 설정이 필요합니다.1. AWS Credential 설정credentials 파일vim ~/.aws/credentials[terraformA]aws_access_key_id = AWSACCESSKEYIDaws_secret_access_key = AWSSECRETACCESSKEYconfig 파일vim ~/.aws/config[terraformA]region = us-east-1중요 config 파일에서는 반드시 profile prefix 필요2. Terraform 디렉터리 구조mkdir -p terraformA/aws/serviceA/.. 더보기 리눅스 history 명령어 history 명령어 Bash History 설정 cat /etc/profile ## history export HISTSIZE=10000 export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S ' #export HISTCONTROL=erasedups EOF Print ‘n’ Lines history 2 $ history 2 919 2021-01-28 21:20:43 echo "history command" 920 2021-01-28 21:20:59 history 2 Repeat Specific Command !번호 $ !917 echo "history command" history command Repeat Most Recent Command !! $ !! echo "history c.. 더보기 Terraform으로 AWS VPC 생성하기 (Provider 구성) Terraform으로 AWS VPC 생성하기 (Provider 구성 포함)Terraform을 사용하여 AWS VPC를 생성하는 기본 실습입니다.Provider 설정 → 리소스 정의 → 실행(init/plan/apply) 순서로 진행합니다.1. 작업 디렉터리 생성mkdir terraformcd $_2. Provider 정의vim provider.tfterraform { required_version = ">= 1.3.0" required_providers { aws = { source = "hashicorp/aws" version = "~> 3.25" } }}provider "aws" { region = var.aws_region profile = var.aws_p.. 더보기 [GIT] 깃 태그(git tag) 생성, 삭제 깃 태그(git tag) 생성, 삭제 태그 생성 방법 - Lightweight 태그 git tag v1.1.1 $ git tag v1.1.1 $ git show v1.1.1 commit e178f0c017bfba73cdc35c08b532d3cbf608c494 (HEAD -> development, tag: v1.1.1, origin/testing, origin/development) Author: sangchul Date: Wed Jan 27 10:42:15 2021 +0900 branch 추가 diff --git a/README.md b/README.md index e69de29..38f8e88 100644 --- a/README.md +++ b/README.md @@ -0,0 +1 @@ +dev di.. 더보기 [GIT] 깃 브랜치(git branch) 생성, 삭제 git branch 생성, 삭제 로컬 branch 생성(Deployment environment) git branch [] (-c | -C) [] git checkout -b "testing" $ git checkout -b "testing" Switched to a new branch 'testing' $ git checkout -b "staging" Switched to a new branch 'staging' branch 확인(현재 branch) git branch --list git branch $ git branch -- dev master testing * staging --- 로컬 branch 이름 변경(dev -> development) git branch [] (-m | -M) [] gi.. 더보기 CentOS 8에서 CentOS Stream으로 마이그레이션하는 방법 CentOS 8에서 CentOS Stream으로 마이그레이션하는 방법 CentOS Stream은 CentOS 8의 후속 버전이므로 변경 사항을 이해하고 유의해야 합니다. 참고: CentOS Stream은 CentOS 8의 릴리스와 다르며, 특정 사용 사례에 대해 더 많은 업데이트와 변화를 가져옵니다. 이 마이그레이션은 필요에 따라 주의깊게 고려해야 합니다. 테스트 환경 운영 체제 버전 정보 $ cat /etc/redhat-release CentOS Linux release 8.1.1911 (Core) 커널 버전 $ uname -r 4.18.0-147.el8.x86_64 gcc 버전 $ gcc --version gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Copyright .. 더보기 CentOS 8 Stream 설치(CentOS 8 스트림 설치) CentOS 8 Stream 설치(CentOS 8 스트림 설치) iso 다운로드 download URL : https://www.centos.org/download ISO Download URL http://mirror.kakao.com/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20210120-dvd1.iso Oracle VirtualBox에 VM 생성 download URL : https://www.virtualbox.org CentOS Stream 설치 - Keyboard : 한국어 - 언어 지원 : 한국어, English - 시간 및 날짜 : 아시아/서울 - 소프트웨어 선택 : 최소 설치(표준, 레거시 UNIX 호환성, 개발용 툴) - 설치 대상 :.. 더보기 compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask 에러 compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask 에러 $ source .zshrc compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask 무슨 에러일까요? /usr/local/share/zsh/site-functions/_brew_cask 디렉토리가 있는데... $ ls -l /usr/local/share/zsh/site-functions/_brew_cask lrwxr-xr-x 1 user1 admin 44 8 15 2018 /usr/local/share/zsh/site-functions/_bre.. 더보기 이전 1 ··· 208 209 210 211 212 213 214 ··· 320 다음