Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Install/Setting the Date/zh-cn"

From Funtoo
Jump to navigation Jump to search
(Created page with "<includeonly> == Setting the Date == </includeonly><noinclude><languages/> = 安装指南:设置日期 =")
 
(Created page with "{{Important|如果你的系统上的时间与实际的时间相差太远(特别是几月甚至是几年,)那么有可能会导致 Protage 无法正确地通过 https 下...")
Line 6: Line 6:
{{InstallNavigation|num=7|prev=Mounting Filesystems|next=Download and Extract Stage3}}</noinclude>
{{InstallNavigation|num=7|prev=Mounting Filesystems|next=Download and Extract Stage3}}</noinclude>


{{Important|If your system's date and time are too far off (typically by months or years), then it may prevent Portage from properly downloading source tarballs. This is because some of our sources are downloaded via HTTPS, which use SSL certificates and are marked with an activation and expiration date. However, if your system time is relatively close to correct, you can probably skip this step for now.}}
{{Important|如果你的系统上的时间与实际的时间相差太远(特别是几月甚至是几年,)那么有可能会导致 Protage 无法正确地通过 https 下载源码包。原因是有一些源码会包会通过 https 下载,而 SSL 证书是具有完整的激活和过期时间的。但是,如果你的系统时间与正确的时间相差不多,目前是可以跳过这段的。}}


Now is a good time to verify the date and time are correctly set to UTC. Use the {{c|date}} command to verify the date and time:
Now is a good time to verify the date and time are correctly set to UTC. Use the {{c|date}} command to verify the date and time:

Revision as of 21:20, April 7, 2021

Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

安装指南:设置日期

Install Guide, Chapter 7 < Prev Next >
   Important

如果你的系统上的时间与实际的时间相差太远(特别是几月甚至是几年,)那么有可能会导致 Protage 无法正确地通过 https 下载源码包。原因是有一些源码会包会通过 https 下载,而 SSL 证书是具有完整的激活和过期时间的。但是,如果你的系统时间与正确的时间相差不多,目前是可以跳过这段的。

Now is a good time to verify the date and time are correctly set to UTC. Use the date command to verify the date and time:

root # date
Fri Jul 15 19:47:18 UTC 2011

If the date and/or time need to be corrected, do so using date MMDDhhmmYYYY, keeping in mind hhmm are in 24-hour format. The example below changes the date and time to "July 16th, 2011 @ 8:00PM" UTC:

root # date 071620002011
Fri Jul 16 20:00:00 UTC 2011

Once you have set the system clock, it's a very good idea to copy the time to the hardware clock, so it persists across reboots:

root # hwclock --systohc
Install Guide, Chapter 7 < Prev Next >