변군이글루 썸네일형 리스트형 [보안] rootkit hunter (rkhunter) 설치 1. Rootkit 설치 옵션 설정 Rootkit Hunter installer 1.2.13 Usage: ./installer.sh Ordered valid parameters: --help (-h) : Show this help. --examples : Show layout examples. --layout : Choose installation template. The templates are: - default: (FHS compliant; the default) - /usr - /usr/local - oldschool: old version file locations - custom: supply your own installation directory - RPM: for building RPM'.. 더보기 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-release CentOS 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 = MariaDB baseurl = https://mirror.rackspace.com/mariadb/yum/10.6/centos7-amd64 gpgkey=https://mirror... 더보기 [mysql] 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 [Client 192.168.0.100] [root@kingdom bin]# ./mysql -u scbyun -p first -h 192.168.0.50 -P 3306 Enter password: ERROR 1130 (HY000): Host '192.168.0.100' is not allowed to connect to this MySQL server [root@kingdom bin]# [MySQL Server 192.168.0.50] - 특정 IP(192.168.0.100)만 OPEN mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON first.* TO 'scbyun'@1.. 더보기 이전 1 ··· 40 41 42 43 44 45 46 ··· 51 다음