<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Establir_l%27hora_del_sistema</id>
	<title>Establir l'hora del sistema - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Establir_l%27hora_del_sistema"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Establir_l%27hora_del_sistema&amp;action=history"/>
	<updated>2026-10-10T23:32:13Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Establir_l%27hora_del_sistema&amp;diff=2915&amp;oldid=prev</id>
		<title>Joan a 09:42, 11 maig 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Establir_l%27hora_del_sistema&amp;diff=2915&amp;oldid=prev"/>
		<updated>2009-05-11T09:42:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;https://help.ubuntu.com/7.10/server/C/NTP.html&lt;br /&gt;
&lt;br /&gt;
Es pot utilitzar la utilitat ntpdate (que ja ve instal.lat amb Ubuntu) o el dimoni ntpd&lt;br /&gt;
&lt;br /&gt;
Per posar l'hora del sistema, senzillament l'hem de demanar al Servidor de Temps del Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 $ ntpdate ntp.ubuntu.com&lt;br /&gt;
La única cosa que hem de tenir en compte és que el rellotge del sistema que tenim a la barra de dalt no es refresca automàticament. Diem que volem ajustar l'hora, i aleshores sí que veiem que ha canviat.&lt;br /&gt;
&lt;br /&gt;
La millor idea és executar aquesta comanda diàriament mitjançant un cron.&lt;br /&gt;
&lt;br /&gt;
Com a root, creem el fitxer /etc/cron.daily/ntpdate, que conté:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
ntpdate ntp.ubuntu.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i aquest fitxer l'hem de fer executable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo chmod 755 /etc/cron.daily/ntpdate&lt;br /&gt;
$ sudo /etc/init.d/cron restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, març 2009&lt;br /&gt;
[[Categoria: Administració de Sistemes]]&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>