![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Configurar NTP/NTPDATE en los ordenadores de SICOServidor de NTPSe ha puesto como servidor de NTP a chibiko (3.0.1.44).1. Instalar el paquete ntp y ntpdate # apt-get install ntp ntpdate2. Configurarlo # vi /etc/ntp.conf Comentar las líneas que empiezan por "server" existentes, y añadir: 3. Sincronizar la hora y arrancar el servicio # /etc/init.d/ntp stop # ntpdate hora.rediris.es # ntpdate hora.rediris.es # /etc/init.d/ntp start4. Para comprobar que lo está haciendo bien, usar un "ntpq -p", debería tener un "*" antes de la línea de "hora.rediris.es". Si tiene una "X" es que algo está mal. Cliente NTP Debian GNU/Linux 5.0 y Ubuntu1. Instalar el paquete ntp y ntpdate # apt-get install ntp ntpdate2. Configurarlo # vi /etc/ntp.conf Comentar las líneas que empiezan por "server" existentes, y añadir: 3. Sincronizar la hora y arrancar el servicio # /etc/init.d/ntp stop # ntpdate hora.rediris.es # ntpdate hora.rediris.es # /etc/init.d/ntp start4. Para comprobar que lo está haciendo bien, usar un "ntpq -p", debería tener un "*" antes de la línea de "3.0.1.44/chibiko/...". Si tiene una "X" es que algo está mal. Cliente NTP Debian GNU/Linux 2.2 a 3.11. Instalar el paquete ntp y ntpdate # apt-get install ntp-server ntpdate2. Configurarlo # vi /etc/ntp.conf Comentar las líneas que empiezan por "server" existentes, y añadir: 3. Sincronizar la hora y arrancar el servicio # /etc/init.d/ntp-server stop # ntpdate hora.rediris.es # ntpdate hora.rediris.es # /etc/init.d/ntp-server start4. Para comprobar que lo está haciendo bien, usar un "ntpq -p", debería tener un "*" antes de la línea de "3.0.1.44/chibiko/...". Si tiene una "X" es que algo está mal. Cliente NTP NetBSD 5.01. Configurarlo # vi /etc/ntp.conf Comentar las líneas que empiezan por "server" existentes, y añadir: 2. Añadirlo para que arranque en el inicio del sistema # echo "ntpd=YES" >> /etc/rc.conf3. Sincronizar la hora y arrancar el servicio # /etc/rc.d/ntpd stop # ntpdate hora.rediris.es # ntpdate hora.rediris.es # /etc/rc.d/ntpd start4. Para comprobar que lo está haciendo bien, usar un "ntpq -p", debería tener un "*" antes de la línea de "3.0.1.44/chibiko/...". Si tiene una "X" es que algo está mal. Cliente NTP Solaris 71. Configurarlo # vi /etc/inet/ntp.conf Añadir: 3. Sincronizar la hora y re-arrancar el servicio # /etc/init.d/xntpd stop # ntpdate hora.rediris.es # ntpdate hora.rediris.es # /etc/init.d/xntpd start4. Para comprobar que lo está haciendo bien, usar un "ntpq -p", debería tener un " "(un espacio) antes de la línea de "3.0.1.44/chibiko/...". Si tiene una "X" es que algo está mal. NOTA: En solaris el ntpd arranca por defecto en rc2.d. |