본문 바로가기

728x90

분류 전체보기

[draft] 우분투에 redis를 설치하는 방법 우분투(ubuntu 22.04)에 redis를 설치하는 방법테스트 환경$ lsb_release -dDescription: Ubuntu 22.04 LTSredis 설치redis repository 추가curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpgecho "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.listapt 패키.. 더보기
[draft] 우분투에 node와 npm을 설치하는 방법 우분투에 Node.js와 npm을 설치하는 방법우분투 리포지토리에 있는 Node.js 패키지를 사용하여 설치할 수 있지만 일반적으로는 Node.js 공식 버전을 설치하는 것이 좋습니다.테스트 환경$ cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=22.04DISTRIB_CODENAME=jammyDISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"NodeSource를 통해 설치1. NodeSource PPA 추가NodeSource PPA를 추가하고 apt-get update를 자동으로 실행합니다.curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -$ curl -fsSL http.. 더보기
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 .. 더보기
[draft] 우분투에서 MySQL 8을 바이너리 파일로 설치하는 방법 우분투에서 MySQL 8.0.31을 바이너리 파일로 설치하는 방법테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.1 LTSMySQL 설치MySQL 바이너리 파일 다운로드☞ MySQL Community Downloads- https://dev.mysql.com/downloads/mysql1. 필수 패키지 설치sudo apt-get updatesudo apt-get install -y libaio1 libncurses5 libnuma12. MySQL 사용자 및 그룹 생성** ubuntu sudo 그룹에서 group id 27번을 사용하고 있음.더보기Ubuntu 패키지 매니저를 사용하여 MySQL을 설치할 때, mysql 계정 정보$ cat /etc/passwd | gre.. 더보기
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.. 더보기
[draft] 원도우 10에서 파일의 SHA-256 체크섬을 확인하는 방법 원도우 10에서 파일의 SHA-256 체크섬(해시값)을 확인하는 방법CertUtil 사용하기명령 프롬프트 열기파일 리스트 확인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 CHECKSUM2023-01-06 오후 07:58 9,008,185,344 Rocky-9.1-x86_64-dvd.iso 3개 파일 9,0.. 더보기

728x90