Jump to: navigation, search

KoC Lubuntu 201210 Spanish

In October 2012, KoC went to Huajuapan de León to update four labs and create one new lab. This page documents the installation steps we tried to follow on each machine. These are not necessarily the best steps, simply a record of how we created the install.

For future installations of KoC donated hardware, we would like to improve on and optimize these steps!

Download Links

OS Files, Updates, and KoC Additions

  • Lubuntu 12.04 i386 CD .iso
  • koc_install Updates, Edu Packages, and Flash Player
  • koc_install3_lang Language Packs
  • Offline Khan Academy Videos (Spanish)
  • Offline Wikipedia (Spanish)

Complete Image

  • Complete VirtualBox image

Other Links

Installation Steps

With the components listed above, you should be able to complete an offline installation without any Internet connection.

Initial OS Setup

  1. Create bootable CD or USB from .iso
  2. Boot from Lubuntu CD or USB
  3. Initial OS Setup
    1. Language: Español
    2. Instalar Lubuntu
    3. (Bienvenido/a) - Choose Español
    4. (Preparando la instalación de Lubuntu) - Don't check any of the boxes.
    5. (Tipo de instalación) - Choose fresh install, or Eliminar any other installation and reinstalar
    6. Verify target disk, then Instalar ahora
    7. Choose Mexico City
    8. Choose Español (latinoamericano)
    9. ¿Quién es usted?
      1. Su nombre: koc
      2. El nombre de su equipo: (inventory name/number of this machine. e.g. koc-18deMarzo-22)
      3. Introduzca un nombre de usuario: koc
      4. Introduzca una contraseña: koc
      5. Confirme su contraseña: koc
      6. Leave Solicitar mi contraseña para iniciar sesión selected
      7. Do not check the box to encrypt home drive
      8. Continuar
  4. When finished, remove CD/USB, Restart
  5. Login as user: koc pass: koc

OS Updates and Additional Packages

This installs Edubuntu packages, updated kernel and other Lubuntu updates as of roughly Oct 15, 2012, plus libflashplayer.so (needed to play Khan Videos in Chromium)

  1. Insert USB stick with koc_install
  2. Copy koc_install to desktop
  3. Open a terminal (Ctrl+Alt+T)
  4. Run this command to install packages:
    1. sudo sh Escritorio/koc_install/koc_install.sh
  5. When the installation command completes, close terminal windows (exit)
  6. Delete koc_install folder from the desktop
  7. Restart

Additional Language Packs

This installs some extra packages that were not included in the koc_install set. Installing these packages should remove the red warning icon on the bottom right of the desktop after reboot.

  1. Insert USB stick with koc_install3_lang (Language Packs)
  2. Copy koc_install3_lang folder to desktop
  3. Open a terminal (Ctrl+Alt+T)
  4. Run this command to install the language packs:
    1. sudo dpkg -i Escritorio/koc_install3_lang/*
  5. When the installation command completes, close terminal windows (exit)
  6. Delete koc_install3_lang folder from the desktop
  7. Restart

KoC Logo as Desktop Background

  1. Insert USB stick with koc_logo_700.png image
  2. Copy koc_logo_700.png to the Imágenes folder
  3. Right-click anywhere on the desktop background and choose Preferencias del escritorio
  4. Change the picture (Tapiz) to be the koc_logo_700.png image file in the Imágenes folder
  5. Change the Color del fondo: to a light grey background (#B9B9B9)
  6. For Modo tapizado:, select Centrar en la pantalla

Khan Academy Videos (Spanish)

If the target machine has at least 15 GB of disk space free, the Khan Academy Videos can be installed.

  1. Create a folder on the desktop named Khan Academy Videos
  2. Insert USB stick with khan_es folder
  3. Double-click the .zip file
  4. When the zip package opens, double-click on www
  5. Select all files and folders (algebra_ejemplos to matematicas.html)
  6. Click Extraer, and choose to extract to the "/home/koc/Escritorio/Khan Academy Videos/" folder
  7. When extraction is complete, close the .zip package, eject the USB
  8. Create a browser bookmark by doing the following:
    1. Double-click the Khan Academy Videos folder
    2. Double-click the index.html file to open in Chromium Browser
    3. In Chromium, with the Khan index page visible, click the star on the right side of the address bar to create a bookmark. Click Finalizado to save it.
  9. Make a shortcut to Chromium on the desktop by doing the following:
    1. Click the Start button, then Internet
    2. Hover over Navegador web Chromium , and right-click
    3. Select Agregar al escritorio to make a desktop shortcut
  10. Close all open windows, then verify the Chromium bookmark by:
    1. Double-click Chromium icon on desktop
    2. Click the Khan bookmark
    3. Select a video category
    4. Play the video
      1. If you don't see a video player, then flash didn't install correctly. Go back to the koc_install section.

Offline Wikipedia (Spanish) with Kiwix

If an additional 15GB of free disk space is available, Offline Wikipedia can be installed

  1. Insert USB stick with wikipedia folder
  2. Create a location on the local disk to store the wikipedia content, and copy it as follows:
    1. Open a terminal (Ctrl+Alt+T)
    2. Create folder storage:
      1. sudo mkdir /storage
    3. Copy the wikipedia data from the USB stick. The path to the wikipedia data will be different depending on the name of your USB drive. You want to copy 2 folders (kiwix and kiwix_data) and one file (etc_init_kiwix.conf) to the /storage/ folder. To verify the path to the USB data, look at the path shown in the window that opened when you inserted the USB disk. The command should look something like this:
      1. sudo rsync -av --progress "/media/name_of_usb_drive/wikipedia/*" /storage/
      2. This command will take several minutes, and will show some progress stats in the terminal window.
      3. When the rsync command finishes, leave the terminal window open for additional use.
  3. The wikipedia content is stored in a highly compressed zim file. In order to access the data, we need to run the kiwix-serve process as a background daemon. Here's how we set that up to start automatically:
    1. Use the terminal window already open, or open a new one:
    2. gksudo leafpad /etc/rc.local
    3. When the text editor opens, add the following line just above exit 0
      1. /bin/sh /storage/kiwix/kiwix-serve.sh 2>&1 > /dev/null &
    4. Close and save the file
  4. Restart
  5. After restarting and logging in, open Chromium and go to the following address:
    1. http://localhost:4200/
    2. Click on the Load button under Wikipedia (Español)
    3. Make another Chromium bookmark for Wikipedia