informatica:linux:ntp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
informatica:linux:ntp [2012/06/15 08:38] – javi | informatica:linux:ntp [2012/06/15 10:20] – javi | ||
---|---|---|---|
Line 3: | Line 3: | ||
ntp ntpq time | ntp ntpq time | ||
- | ===== Servidor | + | ===== Paquetes |
- | 1. Instalar paquetes: | + | Comunnes para cliente y servidor: |
- | sudo aptitude install ntp ntpdate | + | sudo aptitude install ntp ntpdate |
+ | |||
+ | ===== Servidor ====== | ||
- | 2. Actualizar configuracion: | + | 1. Actualizar configuracion: |
sudo mv / | sudo mv / | ||
Line 45: | Line 47: | ||
</ | </ | ||
- | 3. Para NTP: | + | 2. Para NTP: |
sudo / | sudo / | ||
- | 4. Sincronizar (en este ejemplo el servidor es 0.es.pool.ntp.org) | + | 3. Sincronizar (en este ejemplo el servidor es 0.es.pool.ntp.org) |
ntpdate 0.es.pool.ntp.org | ntpdate 0.es.pool.ntp.org | ||
- | 5. Arrancar NTP: | + | 4. Arrancar NTP: |
sudo / | sudo / | ||
Line 59: | Line 61: | ||
===== Cliente ====== | ===== Cliente ====== | ||
- | 1. Instalar paquetes: | + | 1. Actualizar configuracion: |
- | + | ||
- | sudo aptitude install ntp ntp-simple ntpdate | + | |
- | + | ||
- | 2. Actualizar configuracion: | + | |
sudo mv / | sudo mv / | ||
Line 85: | Line 83: | ||
Sincronizamos el cliente contra el servidor (time-1.dev.jj.com) y permitimos acceso local, todo lo demas lo cerramos. | Sincronizamos el cliente contra el servidor (time-1.dev.jj.com) y permitimos acceso local, todo lo demas lo cerramos. | ||
- | 3. Para NTP: | + | 2. Parar NTP: |
sudo / | sudo / | ||
- | 4. Sincronizar (en este ejemplo el servidor es time-1.dev.jj.com) | + | 3. Sincronizar (en este ejemplo el servidor es time-1.dev.jj.com) |
ntpdate time-1.dev.jj.com | ntpdate time-1.dev.jj.com | ||
- | 5. Arrancar NTP: | + | 4. Arrancar NTP: |
sudo / | sudo / |
informatica/linux/ntp.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1