jueves, 20 de septiembre de 2007

Ubuntu: "You must have the GLib 2.0 development headers installed to build."

Problema:
  • "You must have the GLib 2.0 development headers installed to build."
Solución
  • sudo apt-get install libgtk2.0-dev

Ubuntu: gcc "configure: error: C compiler cannot create executables"

Para el problema:
  • "configure: error: C compiler cannot create executables"
Solución:
  • sudo apt-get install build-essential

lunes, 3 de septiembre de 2007

Ubuntu: cambiar el hostname

Referencias
  • http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/

Para cambiar el hostname en ubuntu existen dos alternativas:

Cambiarlo temporalmente
hostname NEW_NAME

Cambiarlo permanentemente
  1. Editar el archivo:
       /etc/hostname
  2. poner un hostname deseado
    martin-laptop
  3. reiniciar el servicio de hostname
    /etc/init.d/hostname.sh start


VirtualBox: clonar un hard drive VDI

El comando para clonar una VDI es el siguiente:

Synopsis:
VBoxManage clonevdi fullPathOrigen.vdi fullPathDestinto.vdi

Ejemplo concreto:
VBoxManage clonevdi /home/martin/.VirtualBox/VDI/ubuntuP2P-MPI-Rendevouz/ubuntuP2P-MPI-Rendevouz-HardDrive.vdi /home/martin/.VirtualBox/VDI/ubuntuP2P-MPI-Peer/ubuntuP2P-MPI-Peer-HardDrive.vdi

Nota: se deben espcificar paths enteros a las imagenes origen y destino