본문 바로가기

728x90

분류 전체보기

[AWS] 애플리케이션 로드 밸런서에 대한 고정 세션 애플리케이션 로드 밸런서에 대한 고정 세션 EC2 대시보드 > 로드 밸런서 > 대상 그룹 > 대상 그룹 선택 후 속성 https://docs.aws.amazon.com/ko_kr/elasticloadbalancing/latest/application/sticky-sessions.html 더보기
CentOS 8에서 기본 리포지토리를 미러 서버로 변경하는 방법 CentOS 8에서 기본 리포지토리를 미러 서버로 변경하는 방법CentOS 8에서 미러 서버를 사용하여 패키지를 설치하거나 업데이트하려면 /etc/yum.repos.d/ 디렉토리에 새로운 리포지토리 파일을 추가하거나 기존 리포지토리 파일을 편집해야 합니다.1. 리포지토리 파일 생성CentOS-Base.repo 편집vim /etc/yum.repos.d/CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close t.. 더보기
Amazon EC2 파일 시스템 확장(디스크 볼륨 증설) Amazon EC2 파일 시스템 확장(디스크 볼륨 증설) 웹 콘솔에서 볼륨 증설 리눅스 파일 시스템 확인 파일 시스템 확인 df -hT | egrep -v 'tmpfs|overlay' $ df -hT | egrep -v 'tmpfs|overlay' Filesystem Type Size Used Avail Use% Mounted on /dev/nvme0n1p1 xfs 20G 17G 3.9G 81% / lsblk 명령어를 사용하여 NVMe 블록 디바이스에 대한 정보를 확인합니다. lsblk $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 30G 0 disk ├─nvme0n1p1 259:1 0 20G 0 part / └─nvme0n1p128 2.. 더보기
yum(dnf) 설치 및 업데이트 시 발생하는 패키지 충돌 문제 해결 방법 yum(dnf) 설치 및 업데이트 시 발생하는 패키지 충돌 문제 해결 방법yum update -yproblem with installed package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)이 오류는 설치하려는 패키지가 시스템의 기존 패키지와 버전이나 의존성 문제로 인해 충돌이 발생할 때 나타납니다.$ yum update -yLast metadat.. 더보기
CentOS 8에서 Yum Repository 서버를 구축하는 방법 CentOS 8에서 Yum Repository 서버를 구축하는 방법 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 8.4.2105 Repository 서버 구축 epel 패키지 설치 yum install -y epel-release createrepo 패키지 설치 yum install -y yum-utils createrepo 웹 서버(apache) 패키지 설치 yum install -y httpd mod_ssl 리포지토리 디렉터리 만들기(yum 저장소) mkdir -p /apps/repo_root/repo mkdir -p /apps/repo_root/repo/centos/7/{extras,isos,os,updates} mkdir -p /apps/repo.. 더보기
[AWS] AWS CloudFront와 ALB에 SSL 적용 AWS CloudFront와 ALB에 SSL 적용 AWS Certificate Manager 버지니아 북부에 인증서 생성 Elastic Load Balancer 로드 밸런싱 > 로드밸런서 AWS CloudFront AWS Route 53 레코드 이름 유형 라우팅 값/트래픽 라우팅 대상 sangchul.kr A 단순 CF URL www.sangchul.kr CNAME 단순 Origin Domain origin.sangchul.kr A 단순 ALB URL 더보기
macOS(Big Sur)에 Packer 설치 macOS(Big Sur)에 Packer 설치 packer 다운로드 https://www.packer.io/downloads packer 설치 brew tap hashicorp/tap brew install hashicorp/tap/packer > brew tap hashicorp/tap Updating Homebrew... ==> Homebrew was updated to version 3.2.6 The changelog can be found at: https://github.com/Homebrew/brew/releases/tag/3.2.6 > brew install hashicorp/tap/packer ==> Installing packer from hashicorp/tap ==> Downloadi.. 더보기
[AWS] AWS Billing and Cost Management 콘솔에 대한 IAM 사용자 및 역할 액세스를 활성화 AWS Billing and Cost Management 콘솔에 대한 IAM 사용자 및 역할 액세스를 활성화 이미지 출처 : https://docs.aws.amazon.com/ko_kr/IAM/latest/UserGuide/tutorial_billing.html 결제 데이터에 대한 액세스 권한 활성화 결제 데이터에 대한 권한을 부여하는 IAM 정책 생성 사용자 계정 생성 사용자 그룹 계정 생성 및 구성 사용자 이름 사용자 그룹 이름 사용자를 멤버로 추가 FinanceManager BillingFullAccessGroup FinanceManager FinanceUser BillingViewAccessGroup FinanceUser 정책 생성 BillingFullAccess BillingViewAccess .. 더보기

반응형