Changes for page GNU Linux (obecně)
Last modified by bac0025 on 29.08.2017 12:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,6 +8,7 @@ 8 8 ## Please enter the number of the geographic area in which you live: ## 9 9 10 10 11 + 11 11 |1) Africa|7) Australia 12 12 |2) America|8) (% style="color: rgb(255, 0, 0);" %)Europe 13 13 |3) US time zones|9) Indian Ocean ... ... @@ -15,15 +15,16 @@ 15 15 |5) Asia|11) Use System V style time zones 16 16 |6) Atlantic Ocean |12) None of the above 17 17 18 -Then you will be shown a list of cities which represent the time zone in which they are located. You should choose a city in your time zone. 19 +Then you will be shown a list of cities which represent the time zone 20 +in which they are located. You should choose a city in your time zone. 19 19 20 20 21 - **Number: 8**23 +Number: 8 22 22 Amsterdam Andorra Athens Belfast Belgrade Berlin Bratislava Brussels 23 23 Bucharest Budapest Chisinau Copenhagen Dublin Gibraltar Guernsey Helsinki 24 24 Isle_of_Man Istanbul Jersey Kaliningrad Kiev Lisbon Ljubljana London 25 25 Luxembourg Madrid Malta Mariehamn Minsk Monaco Moscow Nicosia Oslo Paris 26 -Podgorica (% style="color: rgb(255, 0, 0);" %)Prague(%%)Riga Rome Samara San_Marino Sarajevo Simferopol Skopje28 +Podgorica Prague Riga Rome Samara San_Marino Sarajevo Simferopol Skopje 27 27 Sofia Stockholm Tallinn Tirane Tiraspol Uzhgorod Vaduz Vatican Vienna 28 28 Vilnius Volgograd Warsaw Zagreb Zaporozhye Zurich 29 29 ... ... @@ -31,8 +31,8 @@ 31 31 You just need to type enough letters to resolve ambiguities 32 32 Press Enter to view all of them again 33 33 34 - **Name: [] Prague**35 - (% style="color: rgb(255, 0, 0);" %)Your default time zone is set to 'Europe/Prague'.(%%)36 +Name: [] Prague 37 +Your default time zone is set to 'Europe/Prague'. 36 36 Local time is now: Tue Nov 6 07:55:25 CET 2007. 37 37 Universal Time is now: Tue Nov 6 06:55:25 UTC 2007. 38 38 ... ... @@ -39,7 +39,8 @@ 39 39 40 40 V závislosti na správci balíčkového systému nainstalujeme potřebný balíček **ntpdate** (ukázka pro Ubuntu/Debian): 41 41 42 -##** # apt-get install ntpdate**## 44 + 45 +## # apt-get install ntpdate## 43 43 ## Reading package lists... Done## 44 44 ## Building dependency tree... Done## 45 45 ## The following NEW packages will be installed:## ... ... @@ -47,38 +47,9 @@ 47 47 ## 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.## 48 48 ## Need to get 57.7kB of archives.## 49 49 ## After unpacking 213kB of additional disk space will be used.## 50 -## Get:1 http: ~/~/ftp.dk.debian.org etch/main ntpdate 1:4.2.2.p4+dfsg-2 [57.7kB]##53 +## Get:1 http://ftp.dk.debian.org etch/main ntpdate 1:4.2.2.p4+dfsg-2 [57.7kB]## 51 51 ## Fetched 57.7kB in 10s (5475B/s)## 52 52 ## Selecting previously deselected package ntpdate.## 53 53 ## (Reading database ... 23025 files and directories currently installed.)## 54 54 ## Unpacking ntpdate (from .../ntpdate_1%3a4.2.2.p4+dfsg-2_i386.deb) ...## 55 55 ## Setting up ntpdate (4.2.2.p4+dfsg-2) ...## 56 - 57 - 58 -Aktuální čas systému: 59 - 60 -##** # date **## 61 -## Sun Nov 4 12:27:06 CET 2007## 62 - 63 - 64 -Pro synchronizaci času s našim ntp serverem použijeme program **ntpdate** takto: 65 - 66 -##** # ntpdate ntp1.vsb.cz**## 67 -## 4 Nov 10:46:39 ntpdate[2218]: step time server 158.196.0.2 offset -6072.831130 sec## 68 - 69 - 70 -Aktuální čas systému (po synchronizaci): 71 - 72 -##** # date **## 73 -## Sun Nov 4 10:46:52 CET 2007## 74 - 75 - 76 -V případě, že je náš server nedostupný, vypíše se toto oznámení: 77 - 78 -##**# ntpdate ntp2.vsb.cz **## 79 -## 4 Nov 12:27:38 ntpdate[2219]: no server suitable for synchronization found ## 80 - 81 - 82 -Pro pravidelnou synchronizaci času přidáme do Cronu (/etc/crontab) tento řádek: 83 - 84 -## 1 * * * * root /usr/sbin/ntpdate ntp1.vsb.cz >/dev/null 2>&1 ##