miércoles, 26 de septiembre de 2007

Ubuntu: setear la variable de entorno HTTP_PROXY

Referencias:
  • http://mbledug.com/blog/blog/blog/
  • http://ubuntuforums.org/showthread.php?t=61642
Solución:
  • set HTTP_PROXY=http://proxy-server.tld
Opcionales:
  • set HTTP_PROXY_USER=username
  • set HTTP_PROXY_PASS=password

jueves, 20 de septiembre de 2007

Ubuntu: Install Pidgin

Para instalar pidgin seguir este tutorial genial:
  • http://jhcore.com/2007/06/04/install-pidgin-in-ubuntu/
Básicamente dice que hay que instalar las siguientes librerías para poder instalar pidgin:
  • sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev

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