Debian: Synchronizing server time with NTP

2010-03-14 | Categories: Articles, Technology | Tags: , ,

It’s a good practice to have all the servers synchronized with the same date & time, no matter what servers you’re using (windows, linux, mac, aix, etc). It’s a quite simple configuration to avoid any kind of problems related with time, some applications specify this requirement other don’t so please don’t wait until you have problems to apply this simple config.

Configuring Debian GNU/LiNUX to use a public NTP Server is simple, just do this:

$ sudo aptitude install ntpdate

The ntpdate package includes the file /etc/if-up.d/ntpdate that runs /usr/bin/ntpdate-debian after an interface (eth0, eth1, etc.) is up so you won’t have to worry about configuring this synchronizing process to run automatically. Let’s run it manually so we apply the time from the NTP Server right now:

$ sudo ntpdate-debian
14 Mar 21:41:50 ntpdate[10808]: step time server 146.164.48.5 offset -0.589987 sec

That’s it! This is the simple way but if you want to try a more advance config just read /usr/share/doc/ntpdate/README.Debian and /etc/default/ntpdate files in your server.

Debian GNU/LiNUX: Open LDAP

2009-06-11 | Categories: Articles, Technology | Tags: , , ,

En esta oportunidad voy a mostrar lo fácil que es configurar un servidor LDAP en Debian. Para ello, continuaré usando el servidor de pruebas que configuramos en los artículos:

Nota: En este artículo asumo conocimiento previo de LiNUX y LDAP.

Read more

Completando la instalación Debian GNU/LiNUX 5.0 (Lenny)

2009-03-14 | Categories: Articles | Tags: , ,

En el artículo anterior Instalando Debian GNU/LiNUX 5.0 (Lenny), terminamos la instalación de un servidor de pruebas en una máquina virtual pero como se habrán dado cuenta no están instalados todos los paquetes que necesitamos para jugar con el. Por eso, en este artículo les mostraré como instalar y configurar algunos paquetes que considero indispensables en todo GNU/LiNUX.

Nota: Asumo un conocimiento previo de Linux, VIM y BASH

Read more

Instalando Debian GNU/LiNUX 5.0 (Lenny)

2009-03-14 | Categories: Articles, Technology | Tags: , ,

Hace unos días decidí probar el instalador gráfico de Debian GNU/LiNUX 5.0 – Lenny y quedé gratamente sorprendido porque ahora todo es más fácil y simple que nunca. Ya parece muy lejano el tiempo cuando instalar Debian era una tarea algo simple para expertos pero muy complicada para novatos.

Con este nuevo instalador ahora tenemos disponible un practico botón para guardar screenshots, así que aprovechando esta característica me decidí a escribir un mini artículo de instalación. No busco detallar los pasos para instalar un servidor de producción, sino mi intensión es brindar una guía para instalar un servidor de pruebas en una máquina virtual. Con servidor de pruebas quiero decir un servidor donde podamos jugar con base de datos, ldap servers, web servers, etc.

Nota: En este artículo asumo un conocimiento previo de linux.

Read more

Debian, QEMU, MiNIX 3

2006-04-14 | Categories: Articles, Technology | Tags: , ,

Do you want to test MiNIX 3 (just for fun or duty)? ,… Using an emulator (virtual machine) is the easiest way to probe this OS.

Read more

GNU Emacs in X Window or Xorg

2006-03-25 | Categories: Articles, Technology | Tags: , ,

You can change some visual characteristics of Emacs creating ~/.Xresources file (in your home directory). For example:

!Change default window size
Emacs.geometry: 80x60+0+0
!Change font type and size
Emacs*Font: -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
!Disable the toolbar
Emacs*toolBar: 0
!Colors
Emacs.background: white
Emacs.foreground: black

If you want to know all the font types available in your system use xlsfonts. To enable this configuration you have two options: restart the X Window/Xorg or execute this

$ cd
$ xrdb .Xresources

Any other customization on Emacs goes in ~/.emacs configuration file. You can write your own configuration by hand or using M-x customize-variable. An example?,… take a look to my own “dot emacs”.