rdate 썸네일형 리스트형 rdate 명령어 rdate 명령어 | 시간 동기화rdate 명령어는 리눅스나 유닉스 시스템에서 시간 서버로부터 시간 정보를 가져오는 명령어입니다. rdate 명령어는 특정 시간 서버와 동기화하여 시스템 시간을 조정하는 데 사용됩니다.rdate 명령어 설치rdate 명령어는 대부분의 리눅스 시스템에 기본적으로 설치되어 있습니다.Debian 계열sudo apt-get updatesudo apt-get install -y ntpdateRHEL 계열sudo yum install -y ntpdate서비스를 시작하고 부팅 시 자동으로 시작되도록 설정할 수 있습니다.sudo systemctl start ntpdsudo systemctl enable ntpdrdate 명령어 구문rdate [옵션] [서버 주소][서버 주소] : 시간 .. 더보기 [리눅스] localtime 한국(서울)로 변경하기 localtime 한국(서울)로 변경하기 localtime # ls -al /etc/localtime -rw-r--r-- 1 root root 3519 Feb 26 2006 /etc/localtime 한국(서울) localtime 으로 변경하기 # ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime # ls -al /etc/localtime lrwxrwxrwx 1 root root 30 May 15 01:02 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul 시간 동기화 rdate -s time.bora.net && clock -w 더보기 [crontab] 시간 동기화 [crontab] 시간 동기화 [root@scbyun slave]# crontab -e 설정 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null [root@scbyun slave]# crontab -l 확인 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null 더보기 이전 1 다음