'Local time'에 해당되는 글 1건

  1. 2011.04.15 멀티부트 상황에서 시간변동 바로잡기
Linux/Ubuntu2011. 4. 15. 10:57
리눅스와 윈도우를 하나의 pc에서 설치하면 시간이 오락가락한다 -_-
원인이라면 리눅스에서 하드웨어 시간을 UTC로 사용하기 때문이고
윈도우에서는 하드웨어 시간을 지역시간(한국이라면 KST)로 사용하기 때문이다.

그렇다면.. 리눅스에서 강제로 KST를 UTC로 조정해서 저장을 한다는 의미이려나 -ㅁ-?

아래의 ubuntu 도움말에서는 윈도우에서 UTC를 기본시간으로 설정하는 방법과
리눅스의 시간을 UTC로 사용하지 않는 방법 두가지를 설명해 놓았다.
Make Windows use UTC

Note: This method was not initially supported on Windows Vista and Server 2008, but came back with Vista SP2, Windows 7 and Server 2008 R2.

To make MS Windows calculate the time from the hardware clock as UTC.

    Create a file named WindowsTimeFixUTC.reg with the following contents and then double click on it to merge the contents with the registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
     "RealTimeIsUniversal"=dword:00000001

Make Linux use 'Local' time

To tell your Ubuntu system that the hardware clock is set to 'local' time:

    edit /etc/default/rcS
    add or change the following section

    # Set UTC=yes if your hardware clock is set to UTC (GMT)
    UTC=no

[링크 : https://help.ubuntu.com/community/UbuntuTime]

 sudo gedit /etc/default/rcS

# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no

[링크 : http://ubuntuforums.org/archive/index.php/t-43810.html]

'Linux > Ubuntu' 카테고리의 다른 글

apt-get 관련  (0) 2011.06.05
PAE - Physical Address Extension  (0) 2011.05.08
Ubuntu 에서 듀얼 모니터 사용하기  (2) 2011.04.15
ubuntu 10.04 LTS 64bit  (0) 2011.03.22
우분투 32bit 최대 메모리 인식용량ㅠ  (2) 2011.03.20
Posted by 구차니