본문 바로가기

728x90

리눅스

[리눅스] Ubuntu 20.04에 VirtualBox를 설치하는 방법 Ubuntu 20.04에 VirtualBox를 설치하는 방법 테스트 환경 $ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.4 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy.. 더보기
[kubernetes] kubespray를 이용한 kubernetes 클러스터 배포 kubespray를 이용한 kubernetes 클러스터 배포 릴리스 히스토리 쿠버네티스 프로젝트는 가장 최신의 3개 마이너(minor) 릴리스(1.25, 1.24, 1.23)에 대해서 릴리스 브랜치를 관리한다. 쿠버네티스 1.19 및 이후 신규 버전은 약 1년간 패치 지원을 받을 수 있다. 쿠버네티스 1.18 및 이전 버전은 약 9개월간의 패치 지원을 받을 수 있다. 쿠버네티스 버전은 x.y.z 의 형태로 표현되는데, x 는 메이저(major) 버전, y 는 마이너(minor), z 는 패치(patch) 버전을 의미하며, 이는 시맨틱(semantic) 버전의 용어를 따른 것이다. - https://kubernetes.io/ko/releases/ 버전 차이 정책(Version Skew Policy) - h.. 더보기
macOS에 Packer를 설치하는 방법 macOS에 Packer를 설치하는 방법 Packer는 다양한 클라우드 플랫폼 및 가상화 기술을 사용하여 이미지를 생성하는 도구입니다. 공식 Packer 다운로드 페이지에서 바이너리 다운로드 https://www.packer.io/downloads Homebrew를 통한 설치 Homebrew를 사용하여 Packer를 설치하는 것이 가장 간편하며 권장되는 방법입니다. packer 설치 brew tap hashicorp/tap brew install hashicorp/tap/packer > brew install hashicorp/tap/packer ==> Downloading https://releases.hashicorp.com/packer/1.8.3/packer_1.8.3_darwin_arm64.zip.. 더보기
[iac][terraform] terraform 명령어 terraform 명령어 terraform 사용법 terraform -help $ terraform -help Usage: terraform [global options] [args] The available commands for execution are listed below. The primary workflow commands are given first, followed by less common or more advanced commands. Main commands: init Prepare your working directory for other commands validate Check whether the configuration is valid plan Show changes requ.. 더보기
[iac][ansible] 동적 인벤토리(aws_es2 plugin) 앤서블 동적 인벤토리(aws_es2 plugin) aws ec2 동적 인벤토리 플러그인 설치 Requirements - pthon >= 3.6 - boto3 >= 1.16.0 - botocore >= 1.19.0 sudo apt install -y python3-boto3 ansible-galaxy 명령으로 플러그인 설치 ansible-galaxy collection install amazon.aws $ ansible-galaxy collection list | grep amazon.aws amazon.aws 2.3.0 amazon.aws 4.1.0 ansible.cfg 생성 vim ansible.cfg [defaults] inventory = my_aws_ec2.yaml aws_ec2 모듈 문서 확인 .. 더보기
테라폼(Terraform) CLI를 설치하는 방법 테라폼(Terraform) CLI를 설치하는 방법 테스트 환경 $ lsb_release -d Description:Ubuntu 22.04.2 LTS 테라폼 다운로드 공식 테라폼 웹사이트(https://www.terraform.io/downloads.html)에서 운영체제에 맞는 바이너리 파일을 다운로드합니다. 테라폼은 Windows, macOS, Linux 등 다양한 운영체제를 지원하므로 해당하는 바이너리 파일을 선택합니다. 테라폼(Terraform) 설치 테라폼 저장소 추가 wget -q -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg echo.. 더보기
[iac][ansible] ansible-config 명령 ansible-config 명령 ansible-config -h $ ansible-config -h usage: ansible-config [-h] [--version] [-v] {list,dump,view,init} ... View ansible configuration. positional arguments: {list,dump,view,init} list Print all config options dump Dump configuration view View configuration file init Create initial configuration optional arguments: --version show program's version number, config file location, .. 더보기
[iac][ansible] ansible-doc 명령 ansible-doc 명령 ansible-doc -h $ ansible-doc -h usage: ansible-doc [-h] [--version] [-v] [-M MODULE_PATH] [--playbook-dir BASEDIR] [-t {become,cache,callback,cliconf,connection,httpapi,inventory,lookup,netconf,shell,vars,module,strategy,role,keyword}] [-j] [-r ROLES_PATH] [-e ENTRY_POINT | -s | -F | -l | --metadata-dump] [plugin [plugin ...]] plugin documentation tool positional arguments: plugin.. 더보기

728x90