Linux(34)
-
install MySQL client version 8 on amazon linux 2
- 개요 MySQL Server가 아닌 Client만 설치하는 방법에 대해 정리 했다. - 기본 repo에는 5 version 만 존재하므로 Repo 추가 yum install https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm - gpg-key download rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 - MySQL client 설치 yum install mysql
2022.08.25 -
java corretto 설치하기
- 개요 AWS JDK 배포판인 corretto의 설치 방법에 대해 정리 했다. - 리눅스에 설치 # yum -y remove jdk && yum install -y java-1.8.0-amazon-corretto-devel java-1.8.0-amazon-corretto # java -version openjdk version "1.8.0_212" OpenJDK Runtime Environment Corretto-8.212.04.2 (build 1.8.0_212-b04) OpenJDK 64-Bit Server VM Corretto-8.212.04.2 (build 25.212-b04, mixed mode) # /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstal..
2020.11.03 -
linux messages에 dhclient log flooding
- 개요 리눅스 서버를 운영하다 보면 dhclient log 관련 로그가 system log 파일을 점유하는 현상이 발생할 수 있다. - 해결 방법 ''echo -e ':programname,isequal,"dhclient" stop\n:programname,isequal,"ec2net" stop' > /etc/rsyslog.d/ignore-dhclient-log.conf'' systemctl restart rsyslog
2020.11.03 -
linux messages에 systemd: Started Session 과점유 현상
- 개요 리눅스 서버를 운영하다 보면 systemd: Started Session 관련 로그가 system log 파일을 점유하는 현상이 발생할 수 있다. - 해결 방법 ''echo 'if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice" or $msg contains "Starting user-") then stop'>/etc/rsyslog.d/ignore-systemd-session-slice.conf'' systemctl restart rsyslog
2020.11.03