전체 글(1013)
-
Ubunbu syslog에 로그 찍기
logger "🔥 TEST LOG FROM SYSLOG $(date)"# 확인tail -f /var/log/syslog
2025.04.05 -
ubuntu에 td-agent 설치
설치curl -fsSL https://packages.treasuredata.com/GPG-KEY-td-agent | sudo apt-key add -echo "deb https://packages.treasuredata.com/4/ubuntu/focal/ focal contrib" | sudo tee /etc/apt/sources.list.d/td-agent.listsudo apt updatesudo apt install td-agent오류# 오류The following packages have unmet dependencies: td-agent : Depends: libssl1.1 (>= 1.1.1) but it is not installableE: Unable to correct problems, ..
2025.04.05 -
Ubuntu 먹통될때 조치
NTP: DNS Resolution Failing 에러ntpd[1259]: error resolving pool x.ubuntu.pool.ntp.org: Temporary failure in name resolution조치# DNS 셋팅sudo vi /etc/resolv.conf------------------------------------------nameserver {dns IP}sudo systemctl restart systemd-resolvedsudo systemctl status systemd-resolved# NTP 확인ntpq -p
2025.04.02 -
alpine에 설치할 openjdk 버전 찾기
https://pkgs.alpinelinux.org/packages Package index - Alpine Linux packagesPackage name Branch edge v3.21 v3.20 v3.19 v3.18 v3.17 v3.16 v3.15 v3.14 v3.13 Repository All community main testing Architecture All aarch64 armhf armv7 loongarch64 ppc64le riscv64 s390x x86 x86_64 mips64 Type All Origins Flagged All Flagged Maintainer Alpkgs.alpinelinux.org
2025.03.30 -
port가 여러개 일 때 설정 방법
podapiVersion: v1kind: Podmetadata: name: multi-port-podspec: containers: - name: myapp image: myapp-image ports: - containerPort: 80 # HTTP - containerPort: 443 # HTTPS - containerPort: 8080 # Admin UIdeploymentapiVersion: apps/v1kind: Deploymentmetadata: name: my-deploymentspec: replicas: 1 selector: matchLabels: app: myapp template: ..
2025.03.30 -
Ubuntu 먹통되는 문제 조치
문제점ssh 연결 안됨모니터 연결시, 화면 연결 안됨원인 파악# what went wrong before a reboot. 확인journalctl -b -1 -p err..alert > ~/previous-boot-errors.logjournalctl -b -1 -p warning > ~/previous-boot-warnings.log# hardware and boot issues 확인sudo dmesg > ~/dmesg.logGraphics Stack Crash (HDMI blank) 조치 # 문제gnome-session: Unrecoverable failure in required component org.gnome.Shell.desktop Failed to setup: No GPUs with ou..
2025.03.30