본문 바로가기

전체 글

[git 명령어] git clone git clone 사용법: git clone [] [--] [] git clone https://github.com/anti1346/project1.git $ git clone https://github.com/anti1346/project1.git 'project1'에 복제합니다... remote: Enumerating objects: 64, done. remote: Counting objects: 100% (64/64), done. remote: Compressing objects: 100% (42/42), done. remote: Total 64 (delta 19), reused 38 (delta 9), pack-reused 0 오브젝트를 받는 중: 100% (64/64), 9.62 KiB | 3... 더보기
[Terraform] 테라폼 모듈화 테스트 테라폼(terraform) 모듈화 테스트 루트 모듈에서 VPC 구성 main.tf 파일 $ vim main.tf module "vpc" { source = "../../../tfmodules/vpc/" aws_region = "ap-northeast-2" suffix = "11" tf_env = "test" #tf_domain = "test.tf.4wxyz.com" public-cidr = ["10.11.12.0/23", "10.11.16.0/23"] private-cidr = ["10.11.22.0/24", "10.11.26.0/24"] mgmt-cidr = ["10.11.92.0/24", "10.11.96.0/24"] azs = ["ap-northeast-2a", "ap-northeast-2c"] }.. 더보기
[zabbix] Zabbix Message template 변경 Zabbix Message template 변경 zabbix > 관리 > 미디어 타입 > Message template default Problem started at {EVENT.TIME} on {EVENT.DATE} Problem name: {EVENT.NAME} Host: {HOST.NAME} Severity: {EVENT.SEVERITY} Operational data: {EVENT.OPDATA} Original problem ID: {EVENT.ID} {TRIGGER.URL} IP 추가 - IP: {HOST.IP} Problem started at {EVENT.TIME} on {EVENT.DATE} Problem name: {EVENT.NAME} Host: {HOST.NAME} IP: {HOST.. 더보기
[ping] Pingcloud-cli 툴 Pingcloud-cli 툴 $ git clone https://github.com/reoim/pingcloud-cli.git $ cd pingcloud-cli $ pingcloud-cli aws $ pingcloud-cli aws us-east-1 https://github.com/reoim/pingcloud-cli.git reoim/pingcloud-cli CLI application to check http request latency of AWS, Google Cloud Platform and Azure - reoim/pingcloud-cli github.com 웹 브라우저에서 통한 latency 체크 https://www.cloudping.co/grid https://github.com/mda5.. 더보기
원도우 10에서 myip를 slack으로 보내기 원도우 10에서 myip를 slack으로 보내기wmyip.bat 파일 생성@echo offsetlocal enabledelayedexpansionchcp 437REM 컴퓨터 이름 가져오기FOR /F "usebackq" %%i IN (`hostname`) DO SET COMNAME=%%iREM 로컬 IP 주소 가져오기FOR /F "delims=[] tokens=2" %%i IN ('ping -4 -n 1 %COMNAME% ^| findstr "["') DO SET LOCALIP=%%iREM 공용 IP 주소 가져오기FOR /F %%a IN ('powershell -command "Invoke-RestMethod -Uri http://api.ipify.org"') DO SET PUBLICIP=%%aREM Sl.. 더보기
[Terraform] 테라폼 모듈화 테스트 테라폼 모듈화 테스트 디렉토리 구조 . ├── main.tf ├── modules │ ├── EC2 │ │ ├── main.tf │ │ └── script │ │ └── install_web1.sh │ ├── RDS │ └── VPC ├── provider.tf └── variables.tf 루트 모듈 provider.tf $ vim provider.tf ### ./provider.tf terraform { required_providers { aws = { source = "hashicorp/aws" version = "3.25.0" } } } provider "aws" { # Configuration options shared_credentials_file = "~/.aws/credentials" r.. 더보기
VMware ESXi 7.x에서 호스트 서버 시간을 설정하는 방법 VMware ESXi 7.x에서 호스트 서버 시간을 설정하는 방법 vSphere 클라이언트 또는 VMware ESXi 웹 인터페이스에 로그인합니다. 호스트 서버를 선택하고 "구성(Configuration)" 탭으로 이동합니다. "시간 구성(Time Configuration)" 섹션으로 이동합니다. "시간 설정(Time Settings)" 옵션을 선택합니다. "시간 서버(Time Server)" 옵션에서 "NTP 서버(NTP Server)"를 선택합니다. 사용할 NTP 서버 주소를 입력합니다. 예를 들어, "pool.ntp.org"와 같은 공개 NTP 서버를 사용할 수 있습니다. "옵션(Options)"에서 "NTP 서버에 연결할 때 시스템 클럭 동기화(Synchronize guest time with h.. 더보기
VMware ESXi 7.x에서 SNMP를 활성화하는 방법 VMware ESXi 7.x에서 SNMP를 활성화하는 방법 SSH가 ESXi 호스트에서 활성화되어 있어야 합니다. ESXi 관리자에서 SSH를 활성화하지 않은 경우, VMware vSphere Client 또는 웹 브라우저를 통해 ESXi 호스트에 직접 로그인하여 SSH를 활성화할 수 있습니다. SNMP 현재 설정 확인 esxcli system snmp get [root@esxi-111:~] esxcli system snmp get Authentication: Communities: Enable: false Engineid: Hwsrc: indications Largestorage: true Loglevel: warning Notraps: Port: 161 Privacy: Remoteusers: Sysc.. 더보기

반응형