Category
show
전체 (775)
웹표준, 웹접근성™ (5)
웹프로그래밍™ (360)
웹기획™ (0)
웹디자인™ (5)
서버™ (32)
데이터베이스™ (43)
개발자료 (9)
트랜드 (60)
Study English (2)
블루비 (70)
오피스 다이어리 (19)
Textcube (2)
이슈 (20)
컴퓨터 악세사리 (18)
엔터테인먼트 (24)
좋은글 (73)
재테크 (1)
이벤트 (4)

ubuntu 시간설정

서버™/Ubuntu 2008/04/25 09:27 by 블루비 Total 693 : Today 1 : Yesterday 0


1. ntpdate가 install 되어있지 않았을 경우 install 한다.
#apt-get install ntpdate


2. ntp는 123/udp port를 쓰므로 이 port가 막혀 있을 경우,/etc/services 에 ntp 123/udp => 를 추가

3. 서버 시간을 한국시간으로 세팅하기 위해 /etc/localtime을 링크해 생성해 준다.

# ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime


4. # ntpdate [ntp server name] 을 입력하여 ntp server로부터 시간을 얻어온다.

root# ntpdate time.kriss.re.kr
25 Apr 09:04:38 ntpdate[10175]: step time server 210.98.16.100 offset -46845.363136
root#

ntp server list

  • time.bora.net
  • time.nuri.net
  • ntp.ewha.net
  • time.kriss.re.kr
5. 시간 확인
# date
Fri Apr 25 09:23:47 KST 2008
KST 로 보여야 한국시간으로 설정된것이다.





2008/04/25 09:27 2008/04/25 09:27

TRACKBACK :: http://blueb.net/blog/trackback/1212

Leave a Comment
[로그인][오픈아이디란?]
1  ... 92 93 94 95 96 97 98 99 100  ... 775 

달력

«   2008/11   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30