The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Install/Setting the Date"
(Created page with "==== Setting the Date ==== {{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 so...") |
m (Protected "Install/Setting the Date": create a draft in your user space and open a bug to change this page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<translate> | |||
<includeonly> | |||
== Setting the Date == <!--T:1--> | |||
</includeonly><noinclude><languages/> | |||
= Install Guide: Setting the Date = | |||
{{ | <!--T:2--> | ||
{{InstallNavigation|num=7|prev=Mounting Filesystems|next=Download and Extract Stage3}}</noinclude> | |||
<!--T:6--> | |||
{{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.}} | |||
<!--T:3--> | |||
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: | ||
<!--T:4--> | |||
{{console|body= | {{console|body= | ||
###i## date | ###i## date | ||
Fri Jul 15 19:47:18 UTC 2011 | Fri Jul 15 19:47:18 UTC 2011 | ||
}} | }} | ||
If the date and/or time need to be corrected, do so using {{c|date MMDDhhmmYYYY}}, keeping in mind {{c|hhmm}} are in 24-hour format. The example below changes the date and time to "July 16th, 2011 @ 8:00PM" UTC: | |||
If the date and/or time need to be corrected, do so using {{c|date MMDDhhmmYYYY}}, keeping in mind {{c|hhmm}} are in 24-hour format. The example below changes the date and time to "July 16th, 2011 @ 8:00PM" UTC: | |||
{{console|body= | {{console|body= | ||
###i## date 071620002011 | ###i## date 071620002011 | ||
Fri Jul 16 20:00:00 UTC 2011 | 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: | |||
<!--T:5--> | |||
{{console|body=###i## hwclock --systohc}} | {{console|body=###i## hwclock --systohc}} | ||
</translate> | |||
<noinclude>{{InstallNavigation|num=7|prev=Mounting Filesystems|next=Download and Extract Stage3|align=right}}</noinclude> |
Latest revision as of 04:28, December 13, 2021
Install Guide: Setting the Date
Install Guide, Chapter 7 | < Prev | Next > |
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.
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 > |