본문 바로가기

728x90

전체 글

apt(dpkg) error apt(dpkg) error - 패키지들간의 의존성 문제 테스트 환경 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS" apt(dpkg) error $ apt install nodejs ... Errors were encountered while processing: mysql-server-8.0 needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) apt(dpkg) error 해결 방법 cd .. 더보기
Ubunut에서 MySQL 8을 바이너리 파일로 설치하는 방법 Ubunut에서 MySQL 8을 바이너리 파일로 설치하는 방법 테스트 환경 $ lsb_release -d Description:Ubuntu 22.04.1 LTS MySQL 설치 MySQL 바이너리 파일 다운로드 ☞ MySQL Community Downloads - https://dev.mysql.com/downloads/mysql 1. MySQL 계정 생성 ** ubuntu sudo 그룹에서 group id 27번을 사용하고 있음. 더보기 Ubuntu 패키지 매니저를 사용하여 MySQL을 설치할 때, mysql 계정 정보 $ cat /etc/passwd | grep mysql mysql:x:118:121:MySQL Server,,,:/nonexistent:/bin/false $ cat /etc/group.. 더보기
GNU C 라이브러리(glibc)의 버전을 확인하는 방법 GNU C 라이브러리(glibc)의 버전을 확인하는 방법 우분투 운영체제의 버전 정보 확인 lsb_release -d $ lsb_release -d Description:Ubuntu 22.04.2 LTS 명령어로 확인 ldd 명령어를 사용하여 동적 링크 라이브러리를 조회하고 glibc의 버전 정보를 확인할 수 있습니다. ldd --version $ ldd --version ldd (Ubuntu GLIBC 2.35-0ubuntu3) 2.35 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MER.. 더보기
CentOS 7에서 MySQL 8을 바이너리 파일로 설치하는 방법 CentOS 7에서 MySQL 8을 바이너리 파일(tar 아카이브)로 설치하는 방법 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) MySQL 설치 MySQL 바이너리 파일 다운로드 ☞ MySQL Community Downloads - https://dev.mysql.com/downloads/mysql 1. MySQL 계정 생성 groupadd -g 27 mysql useradd -m -c "MySQL Server" -d /usr/local/mysql -s /bin/false -u 27 -g 27 mysql 생성된 mysql 계정 확인 cat /etc/passwd | grep mysql $ cat /etc/passwd | gre.. 더보기
Rocky Linux 9에서 Postfix 메일 서버를 설치하고 설정하는 방법 Rocky Linux 9에서 Postfix 메일 서버를 설치하고 설정하는 방법 테스트 환경 $ cat /etc/redhat-release Rocky Linux release 9.1 (Blue Onyx) 1. Postfix 설치 hostnamectl 명령어로 호스트 이름 설정 hostnamectl set-hostname pmail.sangchul.kr /etc/hosts 파일 편집하여 호스트 이름 설정 sudo vim /etc/hosts 192.168.0.52pmail.sangchul.kr Postfix 패키지 설치 dnf install -y postfix 설치 중에 Postfix의 기본 설정 대화식 대화창이 나타납니다. 기본 설정을 사용하려면 "OK"를 선택하고 진행합니다. Postfix 버전 정보 po.. 더보기
원도우 10에서 파일의 SHA-256 체크섬(해시값)을 확인하는 방법 원도우 10에서 파일의 SHA-256 체크섬(해시값)을 확인하는 방법 파일 리스트 확인 C:\Users\Administrator\Downloads>dir C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: F0A3-6FE2 C:\Users\Administrator\Downloads 디렉터리 2023-01-06 오후 08:23 . 2023-01-06 오후 08:23 .. 2023-01-06 오후 08:23 1,198 CHECKSUM 2023-01-06 오후 07:58 9,008,185,344 Rocky-9.1-x86_64-dvd.iso 3개 파일 9,020,521,054 바이트 2개 디렉터리 420,363,198,464 바이트 남음 sha256 checksum 확인 certutil -hashfile.. 더보기
ftps 설치 및 서버 구성(vsftpd : ftp+ssl) ftps 설치 및 서버 구성(vsftpd : ftp+ssl) vsftpd는 매우 안전한 FTP 데몬입니다. SFTP와 FTPS의 차이점 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) vsftpd 서버 및 클라이언트 패키지 설치 vsftpd : Very Secure FTP Daemon ftp : Internet file transfer program vsftpd 패키지 설치 yum install -y vsftpd ftp vsftpd 버전 정보 확인 $ vsftpd -v vsftpd: version 3.0.2 $ yum info ftp | grep Version Version : 0.17 vsftpd 서비스 시작 systemctl.. 더보기
FTP(vsftp) 전송 모드(Active Mode/Passive Mode) FTP(vsftp) 전송 모드(Active Mode/Passive Mode) 테스트 환경 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy vsftpd(ftp) 서버 설치 apt-get install -y vsftpd vsftpd 버전 정보 $ vsftpd -version vsftpd: version 3.0.5 vsftpd.conf(/etc/vsftpd.conf) 기본 설정 $ cat /etc/vsftpd.conf | egrep -v '^$|^#' listen=NO listen_ipv6=YES anonymous_enab.. 더보기

728x90