Skip navigation.

:::FoxM:::

Weak and Powerless

Note to self - VMware installation

, , , , , , ,

Being a little bit egoist here, I found that I forget quite easily some details of the things I do in Linux. The last one was related with the VMware Workstation installation.

To install VMware, follow the steps (grealty resumed into a few lines):

  1. Check that kernel-source, gcc (and/or gcc-c++) and make are installed. I think I will never forget to install those, as I use them a lot. The kernel-source packages must match the installed kernel! running YOU will find the proper packages.

  2. Download the latest vmware-any-any patch. (Probably available at cvut). This is needed because it's higly probable that compilation errors might appear when running the vmware-config.pl script. The last error I got was from a confligting defined variable in the kernel source against the vmware client code

  3. Be sure to have the vmware rpm ready and anxious to get installed

  4. Prepare the kernel to recive new modules: remember the
    make mrproper
    (for cleanup),
    make cloneconfig
    (for cloning the kernel and configuring it to the current version) and
    make modules_prepare
    (well... it's self explanatory)

  5. With a prepared and happy kernel, the rpm installation can be done by the typical
    rpm -ivh PACKAGE
    where the package here it's, of course, the vmware file.

  6. After this, I normally do a step I think it's not really necessary. I like to run
    ldconfig; SuSEconfig
    sequence, just to see how happily my PC works :wink:

  7. Now the update. I've seen it tarred and gzipped, so a
    tar -xz -f vmware-any-any-update.tar.gz
    will do the work. Changing to the vmware-any-any-update directory (I wonder... that any-any name), and executing
    ./runme.pl
    will do the rest, even call vmware-config.pl for me. When this is done, answering a few questions it's all it's needed for completing the procedure. The default options are fine for my SuSE 10.1 so if any compilation error occurs, be sure to check this and the vmware-any-any-update version.

  8. Configure the three network devices (bridged, NAT and host-only); that it's normally just accepting the default options.

  9. Mount the USB system to access those devices from the Virtual Machine. As root:
    mount -t usbfs /dev/bus/usb /proc/bus/usb



And that's it... at least as I remember. I'm not sure where did I get this "any-any-update" info, but I'm sure it's not that difficult to get. Wait... I found it in my history (I love opera :wink:)


I decided that when I see it fit (and achievable or worthly), I should translate some of what I write in english to spanish, or viceversa. This is one of those cases.

--- Versión en español ---

Para instalar VMWare, seguir los siguientes pasos de la receta (resumida en pocas líneas):

  1. Verificar que los paquetes de kernel-source, gcc (y gcc-c++) y make están instalados, pero creo que no hay problema con eso pues los uso mucho y no creo que los olvide. Los paquetes del kernel source deben encajar con la versión del kernel instalado! Correr YOU sería una buena idea en este momento para asegurarse.

  2. Bajar la última versión del vmware-any-any-update (Probablemente disponible en cvut). Esto lo necesito para evitar algunos errores de compilación en el proceso. La última vez salió un error de una variable en conflicto por estar definida tanto en el kernel como en el cliente

  3. No olvidar tener listo el rpm de vmware (hihihi)

  4. Preparar el kernel para recibir nuevos módulos: No olvidar:
    make mrproper
    (para limpiar, o eso me dijeron),
    make cloneconfig
    (para clonar el kernel, configurándolo a la versión correcta) y
    make modules_prepare
    (para preparar en sí la utilización de los módulos)

  5. Con un kernel listo y felíz, la instalación del rpm es cosa de niños:
    rpm -ivh PACKAGE
    donde PACKAGE es obviamente el archivo del VMware.

  6. Después, lo que hago no es realmente necesario... solo me gusta hacerlo por poner el pc a hacer algo:
    ldconfig; SuSEconfig
    . En teoría eso actualiza las variables del sistema, entre otras cosas.

  7. Ahora la actualización. Como viene en tar.gz, ya se sabe que está comprimido y unificado, pero tar nos ayuda fácilmente con ese trabajo.
    tar -xz -f vmware-any-any-update.tar.gz
    hace todo el trabajo. El resto se hace cambiando al directorio creado por tar para vmware y ejecutando
    ./runme.pl
    . Esto inclusive llama vmware-config.pl por mi. Cuando todo haya pasado, solo falta responder unas preguntas. Las opciones preseleccionadas que trae el script funcionan perfecto en mi SuSE 10.1, así que si algo falla (como errores de compilación, yo supongo), este es el primer sitio a revisar, junto con la versión del any-any-update.

  8. Configurar los tres dispositivos de redes (es otro módulo montado en el kernel), bridged, NAT y host-only. En general es al estilo windows: yes, yes, yes, yes P:

  9. Montar el sistema USB para tener acceso a estos dispositivos en la máquina virtual: como root:
    mount -t usbfs /dev/bus/usb /proc/bus/usb




Y listo... ahí la instalación correcta del vmware... antes que se me olvide.

Colombia, el basureroCanción para estar solo

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

Download Opera, the fastest and most secure browser
December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31