본문 바로가기

728x90

Amazon Linux 2

[aws] AWS CLI를 사용하여 AMI 찾기 AWS CLI를 사용하여 AMI 찾기(Amazon EC2 AMI 찾기) Amazon EC2의 AWS CLI 명령을 사용하여 필요에 맞는Linux AMI만 나열할 수 있습니다 aws ec2 describe-images --owners self amazon aws ec2 --profile terraform --region us-east-1 describe-images --owners self amazon --filters "Name=owner-id,Values=137112412989" "Name=name,Values=amzn2-ami-kernel-*" "Name=virtualization-type,Values=hvm" "Name=architecture,Values=x86_64" "Name=root-devic.. 더보기
[aws] amazon Linux 2에 python 3.9를 설치하는 방법 amazon Linux 2에 python 3.9를 설치하는 방법 테스트 환경 $ cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" $ getconf LONG_BIT 64 시스템에 설치된 python version $ python --version Python 2.7.18 $ python3 --version Python 3.7.9 requireme.. 더보기
[리눅스] 도커 이미지(운영체제 이미지) 도커 이미지(운영체제 이미지) docker images REPOSITORY TAG IMAGE ID CREATED SIZE amazonlinux 2022 c51c1f7cb94a About an hour ago 189MB ubuntu latest d2e4e1f51132 3 days ago 77.8MB ubuntu 18.04 c6ad7e71ba7d 3 days ago 63.2MB amazonlinux latest 365842604a8b 11 days ago 164MB rockylinux latest c830f8e8f82b 6 weeks ago 205MB centos 7 eeb6ee3f44bd 7 months ago 204MB centos latest 5d0da3dc9764 7 months ago 231MB A.. 더보기
[AWS] EC2 인스턴스(Amazon Linux 2)에 도커 설치하기 EC2 인스턴스(Amazon Linux 2)에 도커 설치하기 $ sudo amazon-linux-extras install -y docker $ sudo systemctl enable --now docker $ sudo curl \ https://raw.githubusercontent.com/docker/docker-ce/master/components/cli/contrib/completion/bash/docker \ -o /etc/bash_completion.d/docker.sh $ sudo usermod -a -G docker ec2-user $ sudo setfacl -m user:ec2-user:rw /var/run/docker.sock 더보기
[Linux] How to install JMeter on Linux How to install JMeter on Linux Installation platform $ cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" Installing JAVA $ amazon-linux-extras install java-openjdk11 $ java -version openjdk version "11.0.7" 2020-04-1.. 더보기

728x90