viernes, 31 de mayo de 2013

Install VMware Player in Ubuntu 13.04 Raring

It's easy to install Vmware Player in Ubuntu – Download a copy, install required packages, and finally run the installer. For details, follow the steps below:

1. Download a copy of Vmware Player from this page. For 32-bit or 64-bit, go ahead to Unity Dash -> System Settings -> System tab.

2. Install required packages by running this command in terminal (Ctrl+Alt+T):

sudo apt-get install build-essential linux-headers-`uname -r`

install-vmware-required-packages

3. If need, change the downloaded package from "VMware-Player-5.0.2-xxx.xxx.txt" to "VMware-Player-5.0.2-xxx.xxx.bundle".

Then give it the executable privilege via command:

cd ~/Downloads/ && chmod +x VMware-Player-*.bundle

install-vmware-required-packages

Finally, run the installer in this terminal window:

sudo ./VMware-Player-*.bundle

install-vmware-player-ubuntu-13-04

Follow the pop-up installer wizard, and finally you'll get "Installation was successful".

VMware-Player-installer-wizard

After that, launch VMware Player from the Unity Dash.

jueves, 30 de mayo de 2013

Instalar el Administrador de Configuraciones de Compiz & algunos plugins extra

Compiz es quien realiza esos efectos de escritorio alucinantes que nos dejan a todos boquiabiertos. Lamentablemente, Ubuntu no viene con ninguna interfaz gráfica para configurar Compiz. Además, tampoco viene con todos los plugins instalados.

Para instalarlos, abrí un terminal y escribí:

sudo apt-get install compizconfig-settings-manager compiz-plugins-extra


miércoles, 29 de mayo de 2013

Instalar herramientas de ayuda para configurar Ubuntu

Ubuntu Tweak

La herramienta más popular para configurar Ubuntu es Ubuntu Tweak (aunque vale aclarar que en los últimos días parecería que su desarrollo terminará, al menos por parte de su creador). Esta maravilla te permite "tunear" tu Ubuntu y dejarlo como te gusta.

Para instalar Ubuntu Tweak, abrí un terminal y escribí:

sudo add-apt-repository ppa:tualatrix/ppa sudo apt-get update sudo apt-get install ubuntu-tweak

Unsettings

UnSettings es una nueva herramienta para personalizar Ubuntu. Hay otros programas como MyUnity, Gnome Tweak Tool y Ubuntu-Tweak que cumplen la misma tarea, pero este incluye algunas características únicas.

sudo add-apt-repository ppa:diesch/testing sudo apt-get update sudo apt-get install unsettings


Instalar repositorios adicionales

Medibuntu

Es un repositorio de paquetes de software que no pueden ser incluidos en la distribución Ubuntu por motivos como problemas legales de copyright, licenciamiento o restricciones de patentes. Incluye programas como: Google-Earth, Opera, Win32codecs, Msfonts.

sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Para agregar los paquetes de Medibuntu en el Centro de Software de Ubuntu:

sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu

Installing XAMPP in ubuntu 13.04

After downloading (A complete list of downloads (older versions) is available at SourceForge.) simply type in the following commands:

  1. Go to a Linux shell and login as the system administrator root:

    su

  2. Extract the downloaded archive file to /opt:

    tar xvfz xampp-linux-1.8.1.tar.gz -C /opt

    Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.

    Warning 2: already installed XAMPP versions get overwritten by this command.

That's all. XAMPP is now installed below the /opt/lampp directory.

* Step 3: Start

To start XAMPP simply call this command:

/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.8.1...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.

If you get any error messages please take a look at the Linux FAQ.

* Step 4: Test

OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:

http://localhost

Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.

The Instant Art example: A small PHP/GD program (since 0.9.6pre1 also a flashy PHP/Ming example, see screenshot). Thanks to Anke Arnold for her font »AnkeCalligraph«.

READ ME

* A matter of security (A MUST READ!)

As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

  1. The MySQL administrator (root) has no password.
  2. The MySQL daemon is accessible via network.
  3. ProFTPD uses the password "lampp" for user "nobody".
  4. PhpMyAdmin is accessible via network.
  5. Examples are accessible via network.
  6. MySQL and Apache running under the same user (nobody).

To fix most of the security weaknesses simply call the following command:

/opt/lampp/lampp security
It starts a small security check and makes your XAMPP installation quite secure. For example this protects the XAMPP demo pages by a username ('lampp') and password combination.

Como configurar Google Talk en pidgin

Pidgin, para el que no lo conozca, es un cliente de mensajeria instantanea multiplataforma, multiprotocolo y multicuenta (que de multis)

Tiene soporte para multitud de redes, pero puede haber problemas con google talk, ya que la configuración avanzada no esta bien configurada.

pidginim

Para añadir una cuenta de google talk a pidgin, la añadimos como una mas, nos dirigimos a la pestaña Cuentas, Gestionar cuentas y Añadir, e introducimos nuestros datos.

Protocolo: Google Talk
Nombre de usuario: tu_usuario
Dominio: gmail.com
Recurso: Home
Contraseña: *******

Bien, hasta aquí dirás… que obvio!, pero aquí no acaba todo, porque necesitamos ir a la pestaña avanzadas e introducir los siguientes datos.

Requiere SSL/TLS: No
Forzar SSL antiguo (puerto 5323): Sí
Permitir autentificación en claro sobre canales no cifrados: No
Puerto de conexión: 443.
Conectar con el servidor: talk.google.com
Pasarelas de transferencia de archivos: proxy.jabber.org

A partir de ahora ya podremos usar nuestra cuenta de google talk en el pidgin. Es curioso que estos datos no vengan por defecto. ¿se podría considerar un bug?

Ale, a disfrutar de tú cuenta de google talk.



Installation/FromUSBStick

Outline

The general procedure to install Ubuntu from a USB flash drive is:

  1. Acquire the correct Ubuntu installation files ('the ISO')
  2. Put Ubuntu onto your USB flash drive
  3. Configure your computer to boot from USB flash drive and boot from it
  4. Try Ubuntu or install it to your hard drive.

Introduction

Ubuntu can be installed from a USB flash drive. This may be necessary for netbooks and other computers without CD drives and is handy for others because a USB flash drive is so convenient. Also, you can configure Ubuntu on the USB flash drive to save changes you make, unlike a read-only CD-ROM drive.

Booting from a USB flash drive created with this utility will behave just as if you had booted from the install CD. It will show the language selection and then the install menu, from which you can install Ubuntu onto the computer's hard drive or launch the LiveCD environment.

Note: This article uses the term "USB flash drive" instead of: USB stick, USB drive, thumb drive and USB flash drive.

Prerequisites

To create a USB installation disk, you will need:

  • a 2 GB USB flash drive. Files on this USB disk will be erased, so previously backup your documents. Make sure this USB disk is properly formatted and mounted.
  • an Ubuntu ISO file (see GettingUbuntu to download it)

Creating a bootable Ubuntu USB flash drive

From Ubuntu

  • Install and run usb-creator

You can find usb-creator-gtk in the Unity Dash by typing "Startup Disk Creator" (Ubuntu Desktop) or usb-creator-kde in K-Menu-->Applications-->System-->Startup Disk Creator (Kubuntu). If it is not there, then you can install it using the Synaptic Package Manager or Ubuntu Software Center

  • Insert and mount the USB drive. Inserting the USB drive should auto-mount it.
  • Start usb-creator. It looks like this:

https://wiki.kubuntu.org/Kubuntu/Netbook?action=AttachFile&do=get&target=screenshot-usb-creator.png.

  • in the top pane of usb-creator, pick the .iso file that you downloaded.
  • if the .iso file isn't listed, click "Other" to locate and select the .iso file that you downloaded.
  • Alternately, if you have a CD or DVD-ROM with the Ubuntu version you want to install on the USB flash drive, insert it in your CD-ROM drive and usb-creator can use that.
  • It is not necessary to erase the USB flash drive, however it is advisable that you do so.
  • Select the first bootable partition on the USB device as the disk to use
  • The bootable partition should be formatted as either a FAT16 or FAT32 filesystem. This is the default for most USB flash drives.

Notes

  • NEVER use one of your hard drive partitions in this process unless you really know what you are doing, as data will get erased.

  • There may be a bug during the formatting which will cause two partitions to appear when booting from the USB flash drive. Try selecting each of them and one should work. If not, restart the computer and try booting from the USB flash drive again.
  • If you get a DBus error with usb-creator, this bug report may be helpful: https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/458334

From Mac OSX

See How to install Ubuntu on MacBook using USB flash drive

From Windows

Download and use Linux Live Usb Creator.

Once you have usb-creator.exe, run it and follow the same steps as described for Linux (point it at your .iso file or your Ubuntu CD-ROM, point it at your USB flash drive, make sure you have the right device selected, then "Make Startup Disk").

Notes

  • Instead of usb-creator.exe you can use Unetbootin to create a bootable USB flash drive. http://unetbootin.sourceforge.net/

  • You won't be able to select the USB flash drive if it wasn't formatted in a way that Windows can see it. You may have to format it using Windows Explorer in order for it to show up in a creator tool.

Booting the Computer from USB

Remove all unneeded USB items, but keep the network cable attached.

Insert the bootable USB flash drive that you just created in your target computer and restart it. Most newer computers can boot from a USB flash drive. If your computer does not automatically do so, you might need to edit the BIOS settings.

Restart your computer, and watch for a message telling you which key to press to enter the BIOS setup. It will usually be one of F1, F2, DEL, ESC or F10. Press this key while your computer is booting to edit your BIOS settings. (On HP Mini Netbooks, they correct key is usually F9.)

Instead of editing BIOS settings, you can chose a boot device from the boot menu. Press the function key to enter the boot menu when your computer is booting. Typically, the boot screen displays which key you need to press. It maybe one of F12, F10. Note: with some motherboards you have to select 'hard disk/USB-HDD0' to choose the USB flash disk.

You need to edit the Boot Order. Depending on your computer, and how your USB key was formatted, you should see an entry for "removable drive" or "USB media". Move this to the top of the list to make the computer attempt to boot from the USB device before booting from the hard disk.

Alternative methods

PLoP Boot Manager

Some computers can see the USB flash drive and have the option to boot from USB but cannot actually do so. All hope is not lost.

Requirements

Just follow the instructions on the PLop website.

Note: When you use this method, the files on the USB flash drive are changed during boot. To use this method more than once, you must delete all files from the USB flash drive and prepare the USB flash drive again as described below.

A detailed guide to make Plop Boot Manager work from GRUB by installing it on hard drive is available here - http://makegadgetswork.blogspot.com/2012/02/how-to-boot-from-usb-when-bios-does-not.html#more

Windows

This method is recommended if you are creating Linux installation to coexist with your existing Windows installation.

  • Find a usb-creator app and run it

Installing Ubuntu directly on a USB flash drive

In order to install a fully working Ubuntu operating system on your USB flash drive make sure that:

  • Your USB flash drive has more than 2GB of space
  • Your USB flash drive is bootable
  • Your USB flash drive has a high read/write speed and is USB 2.0 enabled

The process is described in detail in an external source.

Create Bootable USB Manually

Here is a way to create a bootable USB flash drive manually. The advantage is you don't have to empty your USB flash drive as long as you have enough space for the files. It also allows multi boot, so you can, for example, have your USB flash drive holding both 32bit and 64bit versions of Ubuntu and other Boot CD tools at the same time.

In order to do so you need :

First you need to install grub onto the USB's MBR. Follow the link to the Grub4DOS Wiki: Simple example:

./bootlace /dev/sdx

For more details, visit: http://sourceforge.net/projects/grub4dos/

Next, you open up the ISO file and extract the files in casper directory. The size (and possibly manifest) are needed if you want to install from the USB flash drive otherwise the install will fail.

total 701060 -rwxr-xr-x 1 adrian adrian     38784 2010-07-27 16:15 filesystem.manifest -rwxr-xr-x 1 adrian adrian        10 2010-07-27 16:15 filesystem.size -rwxrwxrwx 2 adrian adrian 704487424 2010-04-29 05:38 filesystem.squashfs* -rwxrwxrwx 1 adrian adrian   9365872 2010-04-29 05:34 initrd.lz* -rwxrwxrwx 1 adrian adrian   4029792 2010-04-16 06:01 vmlinuz* /media/Fujitsu 60GB USB/bootimg/ubuntu.10.4.x86$

Copy grldr to the root of the drive.

drwx------ 1 adrian adrian   4096 2010-05-05 16:49 bootimg/ -rwxrwxrwx 1 adrian adrian 220049 2009-09-24 17:30 grldr* -rwxrwxrwx 1 adrian adrian   2760 2010-05-04 23:08 menu.lst* /media/Fujitsu 60GB USB$

Now create menu.lst at the root of USB. Example of menu.lst:

default /default #####################  title Ubuntu 10.04 LiveCD find --set-root /bootimg/ubuntu.10.4.x86/initrd.lz kernel /bootimg/ubuntu.10.4.x86/vmlinuz boot=casper live-media-path=/bootimg/ubuntu.10.4.x86/ ignore_uuid initrd /bootimg/ubuntu.10.4.x86/initrd.lz boot

Make sure the path match where the files you copy to.

Now, reboot.

Simpler way using the ISO file

Another way is just using the ISO file as it is on an already bootable USB flash drive that uses Grub (to create one, see above).

  • copy the iso file onto the USB flash drive in the root (top) directory
  • add these lines to the menu.lst file:

title Ubuntu 11.04 i386 find --set-root /ubuntu-11.04-desktop-i386.iso map /ubuntu-11.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-11.04-desktop-i386.iso splash quiet -- initrd /casper/initrd.lz

Note: this might not work with all versions of grub. It was tested with GRUB4DOS 0.4.4 2008-11-11

Known Issues

Ubuntu 11.04 is having issues with USB flash drives from SanDisk that have U3 Launchpad. You can either use another brand or use either u3-tool from Ubuntu Repositories or SanDisk's U3 Launchpad Removal Tool to remove U3.

Some BIOS's (eg., the Eee PC netbook') have trouble recognizing that the USB is bootable. You may have to trick it into booting using the following method: At boot, enter the BIOS by pressing F2. Then, right as you exit the BIOS, hit the Esc key. For some systems, this will bring up the boot menu.

The error "Can not mount /dev/loop1 on /cow" is because usb-creator.exe is not creating a valid casper-rw file holding ext2/ext3 filesystem. Fix: 1) Use Unetbootin or 2) After running usb-creator.exe, recreate casper-rw using cygwin tools or http://www.pendrivelinux.com/casper-rw-creator-make-a-persistent-file-from-windows/. (As of April 2010)

You need Mac OS X to create a USB flash drive that can boot on Macs. Even so, the process is less reliable than using a CD, as the USB flash drive is not always recognized on boot. Reversely, you can't create bootable USB flash drives for other platforms than Macs from withing Mac OS X. This is because Macs use a custom EFI bios with a custom boot-loader and need a special filesystem layout to boot correctly.

Cambiar tamaño de fuente al reducir la ventana (HTML / CSS)

Cambiar el tamaño del texto a medida que se reduce el tamaño de la ventana (HTML5 / CSS3)   . container { border : solid 1px blue ; ...