변군이글루 (590) 썸네일형 리스트형 우분투에서 Rootkit Hunter(rkhunter) 설치 및 사용 방법 우분투에서 Rootkit Hunter(rkhunter) 설치 및 사용 방법rkhunter(Rootkit Hunter)는 시스템 내 루트킷, 백도어, 악성 설정 등을 검사하는 보안 도구입니다.정기적인 점검을 통해 서버 보안을 강화할 수 있습니다.1. 설치 방법1-1. 패키지 설치우분투에서는 패키지로 간단히 설치할 수 있습니다.sudo apt updatesudo apt install -y rkhunter설치 확인rkhunter --version1-2. 소스 설치최신 버전이 필요할 경우 직접 설치할 수 있습니다.wget https://sourceforge.net/projects/rkhunter/files/latest/download -O rkhunter.tar.gztar -xzf rkhunter.tar.gzc.. crontab을 이용한 서버 시간 동기화 설정 crontab을 이용한 서버 시간 동기화 설정crontab을 이용해 서버 시간을 주기적으로 동기화하는 방법입니다.crontab 설정crontab 편집crontab -e00 03,15 * * * /usr/bin/rdate -s time.bora.net && /sbin/clock -w &> /dev/null00 : 분 (00분)03,15 : 시 (03시, 15시)* * * : 매일 실행rdate -s : 지정된 타임 서버와 시간 동기화clock -w : 시스템 시간을 하드웨어 시계(HW Clock)에 기록&> /dev/null : 표준 출력 및 에러 메시지 제거설정 확인crontab 등록 여부를 확인한다.crontab -l00 03,15 * * * /usr/bin/rdate -s time.bora.net &.. rsync 소스 컴파일 설치 방법 rsync 소스 컴파일 설치 방법(xinetd 기반 Server/Client 구성)rsync 데몬 모드(rsync daemon)를 이용하여 서버–클라이언트 간 디렉터리를 동기화하는 방법입니다.테스트 환경OS : Linux (CentOS/RHEL 계열)rsync 버전 : 3.0.7통신 포트 : TCP 873rsync Server 설치(Source Build)rsync 소스 다운로드cd /usr/local/srcwget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz압축 해제 및 컴파일tar xvfz rsync-3.0.7.tar.gzcd rsync-3.0.7./configuremakemake install설치 완료 후 rsync 바이너리는 기본적으로 다음 경로에 .. John the Ripper 소스 컴파일 설치 및 사용 방법 John the Ripper 소스 컴파일 설치 및 사용 방법John the Ripper(JtR) 를 소스 코드로 설치하고 실제 패스워드 점검(크래킹 테스트)을 수행하는 방법입니다.John the Ripper 다운로드cd /usr/local/srcwget http://www.openwall.com/john/g/john-1.7.6.tar.gzjohn-1.7.6 버전을 기준으로 설명한다.압축 해제tar xvfz john-1.7.6.tar.gz소스 컴파일 및 설치John the Ripper는 별도의 configure 과정 없이 make로 빌드한다.cd john-1.7.6/srcmakemake clean generic컴파일 완료 후 실행 파일은 run 디렉터리에 생성된다.cd ../run패스워드 파일 생성(uns.. 윈도우에서 IP 주소를 변경하는 배치 파일을 작성하는 방법 윈도우에서 IP 주소를 변경하는 배치 파일을 작성하는 방법배치 파일을 통해 네트워크 인터페이스의 IP 주소를 수동으로 설정하거나 DHCP로 변경할 수 있습니다.정적 IP 설정netsh -c int ip set address name="로컬 영역 연결" source=static addr=11.11.11.11 mask=255.255.255.0 gateway=11.11.11.1 gwmetric=0name : 변경하고자하는 interface "로컬 영역 연결" - 내 내트워크환경->오른쪽 클릭->속성 에서 확인할 수 있습니다.addr : 변경하고자하는 IP주소mask : 변경하고자하는 subnetmaskgateway : 변경하고자하는 gatewayIP : 192.168.1.234, netmask : 255.25.. How to install and use stress How to install and use stressStress is a command-line tool that can be used to stress test a system by generating a workload on the CPU, memory, and I/O. It is a useful tool for testing the performance of a system under load, and can also be used to troubleshoot performance problems. To install stress, you can use the following command:sudo apt install stressOnce stress is installed, you can use.. mariadb를 설치하는 방법 mariadb를 설치하는 방법현재 지원되는 버전은 10.3, 10.4, 10.5, 10.6(5년간 지원)테스트 환경$ cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)repository 설정(저장소 추가)vim /etc/yum.repos.d/MariaDB.repo# MariaDB 10.6 CentOS repository list - created 2022-12-09 11:34 UTC# https://mariadb.org/download/[mariadb]name = MariaDBbaseurl = https://mirror.rackspace.com/mariadb/yum/10.6/centos7-amd64gpgkey=https://mirror.racksp.. MySQL ERROR 1130: 원격 접속 권한 설정 및 해결 방법 MySQL ERROR 1130: 원격 접속 권한 설정 및 해결 방법MySQL 서버에 원격으로 접속할 때 가장 자주 발생하는 "ERROR 1130 (HY000): Host 'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server" 오류에 대한 해결 과정을 정리합니다.1. 환경 구성MySQL 서버 : 192.168.0.50 (접속 대상)클라이언트 : 192.168.0.100 (접속 시도)사용자 계정 : scbyun2. 문제 상황: 원격 접속 거부클라이언트 서버에서 MySQL 서버로 접속을 시도했으나 원격 접속 권한이 없어 오류가 발생합니다.[root@client bin]$ ./mysql -u scbyun -p -h 192.168.0.50 -P 330.. 이전 1 ··· 62 63 64 65 66 67 68 ··· 74 다음