Loading...
Archive for the ‘Linux’ Category
    1. $ cat /dev/scd0 > isoName.iso

    Tags: ,
  1. Disk space. There’s never enough. Whilst preping my Inspiron 3800 for its new 20GB Toshiba 4500 RPM disk I thought I’d play around some with disk imaging. Playing with partition images is boring, so let’s spice it up!

    Obtaining a Disk Image

    To start, you will want an exact image of a disk; Preferably one with filesystems you have support available for in your kernel, but any will do. As always,

    dd

    is your friend.

    To obtain my disk image, I simply issued:

     
    rachael:# dd if=/dev/hda of=/mnt/nebula/hda_dd.image
    4757130+0 records in
    4757130+0 records out

    You can’t simply mount a disk with the loopback device, however. You need some additional information. You will want to fetch a copy of the partition table, including the all important cylinder number we will use later. Invoke the magic of fdisk:

     
    rachael:/home/jasonb# fdisk -l
    Disk /dev/hda: 4871 MB, 4871301120 bytes
    255 heads, 63 sectors/track, 592 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 463 3719016 7 HPFS/NTFS
    /dev/hda2 464 592 1036192+ 5 Extended
    /dev/hda5 464 479 128488+ 82 Linux swap
    /dev/hda6 480 592 907641 83 Linux

    Later, you can use this information to verifiy your image is sane.

    Verifying the Sanity of Your Image

    fdisk

    is quite effective for this task, too. You will need the cylinder number you obtained earlier either from

    fdisk

    , as shown above, or via some other means. (The ‘C’ option to fdisk is relatively recent. v2.11z has it; v2.11n that shipped with RedHat 7.3 does not. You can specify this from within

    fdisk

    by loading the image and using the e’x'pert mode and specifying the ‘c’ option from there.)

     
    faith:/home/jasonb# fdisk -C 592 /nebula/hda_dd.image
    Command (m for help): p
    Disk /nebula/hda_dd.image: 0 MB, 0 bytes
    255 heads, 63 sectors/track, 592 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /nebula/hda_dd.image1 * 1 463 3719016 7 HPFS/NTFS
    /nebula/hda_dd.image2 464 592 1036192+ 5 Extended
    /nebula/hda_dd.image5 464 479 128488+ 82 Linux swap
    /nebula/hda_dd.image6 480 592 907641 83 Linux

    Looks familiar, no? If all went well, it should be identical to the image yanked from the original disk.

    Accessing Specific Partitions in the Image

    Now, the fun begins. There are three ways to mount partitions from the image. You can simply use the stock kernel’s loopback device, an enhanced loopback device offered by NASA, or extract the partition from the image and mount that directly with the loopback device. In all instances, the loopback device is the final destination. The journey varies with each, however. Let’s look at the former most approach first.

    Mounting with a Specified offset

    The simplest method, you mount the partition of your choice from within the image. You will need to specify an offset for the loopback device into the image file. You can obtain this number by running fdisk against the image to obtain the starting and ending sectors for each partition. (Again, the -C option is only available in very recent versions of fdisk, like 2.11z.)

     
    faith:/home/jasonb# fdisk -l -u -C 592 /nebula/hda_dd.image
    Disk /nebula/hda_dd.image: 0 MB, 0 bytes
    255 heads, 63 sectors/track, 592 cylinders, total 0 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Device Boot Start End Blocks Id System
    /nebula/hda_dd.image1 *63 7438094 3719016 7 HPFS/NTFS
    /nebula/hda_dd.image2 7438095 9510479 1036192+ 5 Extended
    /nebula/hda_dd.image5 7438158 7695134 128488+ 82 Linux swap
    /nebula/hda_dd.image6 7695198 9510479 907641 83 Linux

    The offset must be specified in bytes, so now you must take the starting offset, in this instance 63, and multiply it by 512 bytes. From this we obtain 32256. (This assumes 63 sectors per track and 512 bytes per sector.) The file system type in this case is NTFS, so let us mount this partition from within the image using the usual loopback method.

     
    faith:/usr/src# mount -o loop,offset=32256 \
    -t ntfs /nebula/hda_dd.image /mnt
    faith:/usr/src# ls /mnt
    AUTOEXEC.BAT
    boot.ini
    CONFIG.SYS
    Corel
    Documents and Settings
    IO.SYS
    MSDOS.SYS
    NTDETECT.COM
    ntldr
    PUTTY.RND
    Program Files
    pagefile.sys
    RECYCLER
    System Volume Information
    WINNT

    If you are using

    util-linux

    prior to version 2.12b, specifying an offset that required more than 32-bits was not possible. If you have

    util-linux

    2.12b or newer, you can safely skip the next few sections. (You may still wish to extract individual partitions from your disk image using

    dd

    discussed at the end of this guide.)

    Attempting to mount my ext3 partition near the end of the disk with a 2.11 version of

    util-linux

    yields (7695198 * 512 = 3939941376):

     
    faith:/usr/src# mount -o loop,offset=3939941376 \
    -t ext3 /nebula/hda_dd.image /mnt
    mount: wrong fs type, bad option, bad superblock on /dev/loop0,
    or too many mounted file systems

    Fortunately, we aren’t done yet. The second method utilizes a loopback device designed to mount partitions within the image without an offset limitation. In fact, no offset need be specified at all.

    Mounting with a Special Patch

    As this was written back in 2004, I do not believe the NASA loopback patch is still around.

    You will need to patch your kernel to use the enhanced loopback device. This patch alters the way the loopback device works. You will no longer be able to mount partitions via the loopback device beyond

    /dev/loop0

    . If you use

    /dev/loop[1-7]

    this could be a show stopper for you; Check out the last method.

    The patch is currently available against 2.4.20 and 2.4.21 prepatch 4. You will need to fetch the patch from NASA HQ’s public FTP server. It’s the

    enhanced_loop-x.x-linux-2.4.x-xfs.patch

    file located there. You can also fetch the XFS patch for 2.4.21-pre4 and the 2.4.21-pre4 patch itself as of this writing. I used 2.4.21-pre4 with Alan Cox’s -ac7. For convenience, a patched kernel ready for compiling is also available.

     
    faith:/usr/src/linux-2.4.20# patch \
    -p1 < ../enhanced_loop-0.2-linux-2.4.21-pre4-xfs.patch
    patching file drivers/block/loop.c
    patching file Makefile
    Hunk # 1 FAILED at 1.
    1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej

    Don‘t worry about the

    Makefile

    reject; It’s just the

    EXTRA_VERSION

    variable. (That’s because I used -ac7.)

    Now, recompile your kernel in the usual way (I use Debian GNU/Linux’s

    make-kpkg

    command) and make sure you enable the loopback device if it isn’t already. When that task is complete, reboot with your shiny new kernel.

    To accomodate the enhanced loopback device, some new entries need to be created in

    /dev

    . A script named createdev is available to handle that task for you, and it can be run at start up if you’re running devfs to recreate the entries for you at boot. You can fetch the script from NASA HQ. You may need to comment out the sourcing of the RedHat functions within the script if you aren’t on a RedHat based distribution, like Debian. By default the script will create enough entries in

    /dev

    for a fifteen disks with up to fifteen partitions. You can adjust that to your requirements within the script. It will blow away any existing

    /dev

    entries it has added if you change configurations, so you need not tend to them yourself.

     
    faith:/nebula# vi createdev
    faith:/nebula# bash createdev start
    faith:/nebula#

    Once you’ve run the script, you should find a entries like the following in your

    /dev

    directory:

     
    faith:/# ls /dev/loop[a-zA-Z]*
    /dev/loopa /dev/loopd12 /dev/loopg2
    /dev/loopj6 /dev/loopn /dev/loopa1
    /dev/loopd13 /dev/loopg3 /dev/loopj7
    /dev/loopn1 /dev/loopa10 /dev/loopd14
    /dev/loopg4 /dev/loopj8 /dev/loopn10
    /dev/loopa11 /dev/loopd15 /dev/loopg5
    /dev/loopj9 /dev/loopn11

    With the kernel up and running, you also need to acquire a modified copy of

    losetup

    , the loopback setup program. If you’re running an RPM based distribution, you’re in luck. You can fetch the modified losetup by making another journey to NASA HQ’s FTP server. Rebuild it with

    rpmbuild -bb

    and install. If you’re running Debian GNU/Linux, as I am, you can install the rpm package with the usual

    apt-get

    command. Then, you could either build the RPM package and use

    alien

    to convert it to a Debian package or use

    rpm2cpio

    to create a

    cpio

    archive of the RPM. For the latter, you can extract the source from the resultant

    cpio

    archive and compile:

     
    faith:/usr/src# rpm2cpio loop-utils-0.0.1-1.src.rpm > loop-utils.cpio
    faith:/usr/src# cpio -i < loop-utils.cpio
    39 blocks
    faith:/usr/src# tar -zxvf loop-utils-0.0.1.tar.gz
    loop-utils-0.0.1/
    loop-utils-0.0.1/COPYING
    loop-utils-0.0.1/Makefile
    loop-utils-0.0.1/loimginfo.c
    loop-utils-0.0.1/lomount.c
    loop-utils-0.0.1/lomount.h
    loop-utils-0.0.1/loop.h
    loop-utils-0.0.1/loop.sgml
    loop-utils-0.0.1/losetgeo.c
    loop-utils-0.0.1/lotest.c
    loop-utils-0.0.1/nls.h
    loop-utils-0.0.1/partinfo.c
    faith:/usr/src# cd loop-utils-0.0.1

    You may wish to edit the

    Makefile

    , which sticks things in

    /usr

    by default. I changed it to

    /usr/local

    and added

    ${prefix}

    as the path for the

    sbin_prefix

    variable. It originally had no value at all, but is later used when installing the

    losetup

    binary, which would instead end up in your

    /sbin

    directory. Oops.

     
    faith:/usr/src/loop-utils-0.0.1# make
    gcc -Wall -Wstrict-prototypes -O6 -DVERSION='"0.3.9"' \
    -DLOG2_NR_PARTITION='4' -c -o losetgeo.o losetgeo.c
    gcc losetgeo.o -o losetgeo
    gcc -Wall -Wstrict-prototypes -O6 -DVERSION='"0.3.9"' \
    -DLOG2_NR_PARTITION='4' -c -o loimginfo.o loimginfo.c
    gcc loimginfo.o -o loimginfo
    gcc -Wall -Wstrict-prototypes -O6 -DVERSION='"0.3.9"' \
    -DLOG2_NR_PARTITION='4' -c -o partinfo.o partinfo.c
    gcc partinfo.o -o partinfo
    gcc -DMAIN -D_FILE_OFFSET_BITS=64 lomount.c -o losetup.o
    <warnings...>
    ld losetup.o -o losetup
    gcc -Wall -Wstrict-prototypes -O6 -DVERSION='"0.3.9"' \
    -DLOG2_NR_PARTITION='4' -c -o lotest.o lotest.c
    gcc lotest.o -o lotest
    sgml2latex loop.sgml
    Processing file loop.sgml
    sgml2html -s 0 loop.sgml
    Processing file loop.sgml
    sgml2info loop.sgml
    Processing file loop.sgml
    echo "START-INFO-DIR-ENTRY" > loop.info.2
    echo "* Loop: (loop). Block device loopback package." \
    >> loop.info.2
    echo "END-INFO-DIR-ENTRY" >> loop.info.2
    cat loop.info.2 loop.info > loop.info.3
    rm loop.info.2
    mv loop.info.3 loop.info

    Now, let’s test drive our new loopback device.

     
    faith:/nebula# /usr/local/sbin/losetup -d /dev/loopa
    faith:/nebula# /usr/local/sbin/losetup /dev/loopa hda_dd.image
    faith:/nebula# mount -t ntfs /dev/loopa1 /mnt
    faith:/nebula# ls /mnt
    AUTOEXEC.BAT
    boot.ini
    CONFIG.SYS
    Corel
    Documents and Settings
    IO.SYS
    MSDOS.SYS
    NTDETECT.COM
    ntldr
    PUTTY.RND
    Program Files
    pagefile.sys
    RECYCLER
    System Volume Information
    WINNT
    faith:/nebula# umount /mnt
    faith:/nebula# /usr/local/sbin/losetup -d /dev/loopa
    faith:/nebula#

    Nifty, eh?

    Mounting by First Extracting the Partition

    Last, you can use dd to extract the partition of interest manually and then mount it via loopback. Again, the assumption of 512 bytes per sector is assumed here. As explained in Brian Carrier’s March 15th Sleuth Kit Informer column, Splitting The Disk, we can pass

    dd

    the starting sector of the partition in question and calculate the size and allow it to extract it for us. For example, let’s extract my ext3 partition, then mount it on loopback.

    We pass

    dd

    bytes at a time size (bs option) of 512. Next, we pass it the starting sector of my ext3 partition from the

    fdisk

    output above, 7695198, as the number of blocks to skip ahead in the image. Last, we calculate the size as explained in the Sleuth Kit Informer above by taking the starting and ending sectors of the partition, subtracting them, then adding one (9510479 - 7695198 + 1 = 1815282).

    Ronald Woelfel raised an interesting question about a missing sector on partitions with an odd number of sectors, which was explained thusly by Brian Carrier of Sleuth Kit fame: ”The reason that you noticing the difference is likely because your linux system has the 2.4 kernel, which has a bug when accessing disk or partition devices. If a partition or disk has an odd number of sectors, the last sector is not read.

     
    faith:/home/jasonb# dd if=/nebula/hda_dd.image of=/nebula/test.image \
    bs=512 skip=7695198 count=1815282
    1815282+0 records in
    1815282+0 records out

    Once dd completes, you can mount the image as you normally would:

     
    faith:/home/jasonb# mount -o loop -t ext3 /nebula/test.image /mnt
    faith:/home/jasonb# ls /mnt
    bin dev home lib opt sbin var
    boot etc import lost+found proc tmp vmlinuz
    cdrom floppy initrd mnt root usr vmlinuz.old
    faith:/home/jasonb# umount /mnt

    Robado de | wiki.edseek.com/


    Tags: ,
    1. mount -o loop -t iso9660 file.iso /mnt/test

    Tags: ,
  2. Para que no se me olvide..

    1. sudo wodim dev=/dev/scd0 driveropts=burnfree,noforcespeed fs=14M speed=8 -dao -eject -overburn -v ruta.iso

    Tags: ,
  3. Cuando estamos trabajando son Subversion y queremos distribuir nuestro trabajo, está de mas que compartamos esos directorios .svn que subversion utiliza para mantener el control de los archivos, corriendo este comando podemos borrar estas carpetas.

    1. $ rm -rfv `find . -type d -name .svn`

    Tags: ,
  4. Por lo general cuando estamos haciendo pruebas o creando nuevos programas en LAMP recurrimos a guardarlos dentro de carpetas (localhost/prueba1; localhots/test; localhost/player; etc) por lo menos yo lo hice durante muchisimo tiempo. Ahora ya me acostumbre a que por cada proyecto realizado me genero un virtualhost diferente, un nombre de usuario mysql diferente (esto lo veremos en otro post).

    Hacelo es una tarea sencilla:

    Iniciamos creando un archivo nuevo dentro de nuestra carpeta de sites-available (uso gedit pero pueden usar el que deseen=

    1. $ sudo mined /etc/apache2/sites-available/test

    y le guardamos unos datos similares a estos =)

    1. <virtualhost *>
    2.     ServerAdmin zetaweb@gmail.com
    3.     #carpeta donde se encuentran nuestros archivos
    4.     DocumentRoot /home/zetta/sites/test/public_html
    5.     #url para accesar desde el navegador
    6.     ServerName test.lc
    7.     #Aqui se definen las reglas como si de un .htacces se tratara =)
    8.     <directory /home/zetta/sites/test/public_html>
    9.         Options Indexes FollowSymLinks MultiViews
    10.         AllowOverride All
    11.         Order allow,deny
    12.         allow from all
    13.     </directory>
    14.     #donde guardara el error log
    15.     ErrorLog /home/zetta/sites/test/logs/error.log
    16.  
    17.     # Possible values include: debug, info, notice, warn, error, crit,
    18.     # alert, emerg.
    19.     LogLevel warn
    20.  
    21.     CustomLog /var/log/apache2/access.log combined
    22.     ServerSignature On
    23. </virtualhost>

    Ya creado lo habilitamos con el comando Apache 2 Enable Site

    1. $ a2ensite test

    y reiniciamos apache

    1. $ sudo /etc/init.d/apache2 restart

    - Actualización -
    Se me olvidaba, una vez creado el virtual host hay que decirle a nuestra maquina que busque test.lc en nuestro mismo localhost
    Abrimos el archivo hosts

    1. $ sudo mined /etc/hosts

    y Agregamos la linea

    127.0.0.1 test.lc (claro si no es en localhost pues cambien la IP)


    Tags: , ,
  5. Ogle es para mi una fantástica herramienta, puesto que hace exactamente lo que uno quiere, Reproducir un DVD ni mas ni menos =P, hace unos dias me bajé la imágen de un DVD, como suelo hacerlo, para despues verla conectando todos mis aparatos jejeje. Me di cuenta que ni Totem y tampoco VLC soportan los menús en los DVD (o por lo menos no encontré la opción). Sin embargo Ogle si lo hace, lo hace perfectamente y además lo puedes usar de una manera simple, la linea de comandos, aunque para algunos sonará muy feo, para mi eso fue una maravilla =P.

    Primero lo primero … Yo ya ni me acuerdo!! XD pero segun mis lagunas mentales ya viene en los repositorios de Ubuntu (chance y debian).

    1. $ sudo apt-get install ogle

    Montamos la imagen (recuerden que no tengo presupuesto para comprar DVD’s)

    1. $ mount -t udf pelicula_no_original.img /media/mispelis -o loop

    Aqui utilizaremos udf en lugar de iso9660 porque por lo general udf es asociado con DVD mientras que iso es asociado con CD’s.

    y para terminar (o empezar la movie).

    1. $ ogle -u cli /media/mispelis

    y Ogle hará la magia… Ogle tiene un modo GUI que puede ser instalado como paquete, que la verdad no he usado, pero si se quieren aventurar a usarlo sin la interface gráfica (no le veo razón de ser) aqui estan los atajos para el teclado, muy intuitivos =)

    • , (coma) - Reproducción lenta (slow-motion) durante este proceso no habrá sonido.
    • p - Reproducir, regresar a velocidad normal de reproducción.
    • . (punto) - Reproducción rápida, durante este proceso se anula el sonido.
    • (espacio) - Pausar / Reanudar
    • > - Avanza al siguiente capitulo.
    • < - Regresa al capitulo anterior.
    • c - Reanudar (si habias saltao a un menú mientras veias la peli)
    • f - Alternar entre pantalla completa y modo ventana
    • q - Salir del programa
    • r - Saltar al menú Raiz
    • a - Saltar al menú de Audio

    Hay unos cuantos mas que la verdad no entendi para que sirven =P pero la verdad no los uso yo con ponerle play y apretar F me doy por bien servido


    Tags:
  6. Todo usuario de Ubuntu que tenga una tarjeta gráfica compatible seguro que ha podido disfrutar de los fantásticos efectos de Compiz en su escritorio. Sin embargo, aquellos que no posean una tarjeta gráfica compatible han visto como no han tenido posibilidad ni siquiera de probarlos. A éstos usuarios les alegrará saber que hay una vía alternativa para habilitar algunos efectos como sombras o transparencias sin necesidad de aceleración gráfica y, lo que es aún mejor, sin necesidad de instalar ningún programa.

    Esta alternativa no es otra que Metacity, el gestor de ventanas por defecto en Ubuntu, que posee una capacidad (aún en pruebas, todo hay que decirlo) para mostrar algunos efectos en las ventanas parecida a la de Compiz, aunque, eso sí, mucho más simple.

    Para activar esta funcionalidad tendremos que irnos al editor de configuración de Gnome (Alt+F2: gconf-editor). En el menú de la izquierda seleccionamos apps/metacity/general y activamos compositing-manager.

    Este método es también válido para cualquier distribución GNU/Linux con Metacity.

    CopyPasteado | Tuxapuntes


    Tags:
  7. ¿Cómo calcular el número de usuarios de Linux?

    Tomar estadísticas de ventas de equipos con Linux no es prudente tanto para bien como para mal: uno nunca sabe si el comprador instalará finalmente otro sistema operativo. Que se agote una gama con Linux en una gran superficie no es un indicador fiable: el número de máquinas con Linux preinstalado que tiene disponible en almacén la empresa que lo venda puede ser pequeño, ridículo, comparado con el número de equipos con Hasefroch(c) que “nunca se agotan” ni se deben de agotar por el bien económico de la empresa.

    ¿Porqué compra un usuario un equipo Linux si no quiere realmente ese sistema operativo?

    • La configuración hardware del equipo es determinante para el comprador: un equipo con Linux puede tener hardware muy barato al no necesitar el software tantos recursos para funcionar. Aquí entran en juego los nuevos ultraportátiles (netbooks) de gama baja ¡quiero uno!, tan baja que está por los suelos.
    • El menor coste al no necesitar la licencia del sistema operativo abarata el producto.
      Pero también se da el caso a la inversa: por ejemplo, con los productos de DELL la incorporación de software “promocionado” en Hasefroch abarata tanto el equipo (aún mas que la licencia del sistema operativo que ya de por sí les sale barata por acuerdos Hasefroch-OEM) que le otorga un mejor precio que un sistema de coste cero, software GNU/Linux gratuito.

    He leído verdaderas aventuras en listas de correo que dejan en simples recadillos a los trabajos de Hércules.

    Pedir un equipo con Linux puede ser una hazaña titánica en algunos casos: el comercial se hace el loco para evitar follones y no bajar el precio, muy inferior en la oferta con software libre (el comercial se lleva un porcentaje de comisión); los técnicos tienen que formatear el ordenador salido de fábrica con Hasefroch e instalarle Linux por lo que el coste de la broma para la empresa es mayor (esa mano de obra final sale muy cara); la llegada del equipo se retrasa bastante porque la empresa no está preparada para un incremento en la demanda debido al último paso por la cadena de montaje (reinstalación con Linux); un cambio a mejor en la configuración del hardware puede invalidar la oferta con Linux ya que el equipo de márketing, ventas y los técnicos con conocimientos en software libre no se comunican como deberían (la nueva gama con tarjeta wifi integrada no está soportada, etc…)

    Ante el periplo de múltiples llamadas a un teléfono de consulta y una guerra contra el distribuidor muchos usuarios optan por comprar el equipo con Hasefroch y reinstalarle Linux mas adelante. Y otros tantos, para ahorrarse unos cuantos leuros, compran Linux en una gran superficie y mas adelante le instalan Hasefroch.

    Resumiendo, de la compra de un ordenador con Hasefroch o Linux no se puede deducir mucho sobre el número de usuarios de cada sistema operativo a no ser que uno quiera manipular cifras e inventarse conclusiones que le interesen.

    Por el navegador lo conoceréis (pues va a ser que no)

    No son pocos los que se identifican de forma distinta al navegador que utilizan (para evitar las páginas que supuestamente solo funcionan con iexplorer) y el porcentaje de usuarios de Firefox que navega desde Hasefroch es alto ¿Sirve de algo saber el número de usuarios de Firefox? No mucho mas que las ventas de sistemas Linux como tampoco el número de navegantes con konqueror o epiphany cuando estén disponible para Hasefroch (y lo estarán en no mucho tiempo).

    ¿Hay al menos unas cifras aproximadas?

    El crecimiento en el sector del escritorio parece ser felizmente exponencial, pero puede serlo gracias al bajo número de usuarios: Linux ha duplicado el número de usuarios en solo dos meses y así crece cualquiera pero ¿puede desbancar a XP en unos años? ¿Y superar las cifras de Hasefroch 7 cuando salga?

    En julio de 2007 apareció una sorprendente noticia: el número de usuarios de Linux se estancaba en un 3,4% [Gráfico de barras]. La publicación francesa JDN saltaba la voz de alarma (y la de la incredulidad) de los usuarios de Linux. Se creía que el crecimiento era exponencial y continuado.

    «El mismo estudio nos refleja que Hasefroch XP sigue siendo el sistema operativo más usado con un 74,6% del total, y subiendo cinco décimas porcentuales. Le sigue su antecesor, Hasefrochs 2000, con un 6,8%. Vista con un 3% y las versiones 2003 y 98 con un 2% y 0.3% respectivamente completan el uso de los entornos de Microsoft.»

    Y es que según de qué ámbito hablamos Linux sigue siendo usado por cuatro gatos o arrasa totalmente el mercado: En la lista del top 500 de supercomputadores domina Linux con un amplio 75.60% pero en el escritorio la cifra sigue siendo ridícula :-m

    Conclusiones: es difícil saber cuantos usuarios usamos Linux y mas difícil es sacar pronósticos. La implantación de Linux depende de milagros como Ubuntu (aparece un filántropo de la nada que invierte millones en el software libre), del marketing de las empresas que triunfen con el software libre (IBM, RedHat, SuSE y otras tantas gastan mucho en dar buena imágen al modelo de software libre) y… de los productos de sus mas directos competidores (Apple y Microsoft). Apple casi no tenía mercado, estuvo a punto de desaparecer pero ha pulverizado marcas quedándose con una buena tajada del mercado de ordenadores personales y de gadgets.
    Personalmente opino que hay una barrera de software ya implantado y específico que Linux no podrá superar en muchos años a no ser que reciba una gran inyección de pasta en publicidad. Linux solo gana si Hasefroch 7 pierde y Apple sigue siendo un producto de gama alta o muy alta.

    Via | Libertonia


    Tags:
  8. Wikipedia en Linux¿Sabías que es posible ver el contenido de la más grande y más utilizada enciclopedía de web sin necesidada de tener conexión a Internet? Por supuesto que es posible. Wikipedia, con más de 10 millones de artículos en 253 idiomas se puede ver offline en tu PC en cualquier momento y lugar. Existen 4 formas de lograrlo. Veamos:

    i. Descarga Wikipedia como base de datos XML o SQL

    Puedes obtener una copia completa de todos los Wikis de Wikimedia, en forma de wikitexto y metadatos embelidos en XML. Un número de tablas de base de datos en formato SQL también están disponibles.

    ii. Descarga o compra Wikipedia en DVD

    Esta es quizás la forma más sencilla de obtener Wikipedia para usarlo offline. Sin embargo, actualmentes solo está disponible en inglés, y solo contiene alrededor de 2000 artículos seleccionados. Los artículos fueron seleccionados teniendo en cuenta calidad e importancia según la comunidad Wikipedia. Según Wikimedia y Linterweb, el DVD pronto estára disponible a otros idiomas. Obtener DVD Wikipedia.

    iii. HTML estático

    Otra alternativa puede ser descargando las páginas de Wikipedia en formato HTML. Ten en cuenta que las ediciones de junio 2008 (es decir, las más recientes)Â no contienen imágenes incrustadas, solo HTML. Los archivos están comprimidos en formato 7z.

    iv. Pocket Wikipedia

    Una forma más de tener Wikipedia a la mano es descargando e instalando “Pocket Wikipedia”. Su tamaño de descarga tiene algo de 180 MB pero contiene una gran selección de artículos del tamaño de 15 enciclopedias con 24000 imágenes y 14 millones de palabras. Se creó para la plataforna PocketPC, pero ahora está disponible para el escritorio Linux.

    Sabemos del gran valor que tiene está magnifica enciclopedia en Internet, pero cuando vamos a lugares donde no hay conexion a esta, es mejor estar preparado con alternativas offline de todo tipo.

    Via | ribosomatic


    Tags:

Powered by ExtJS Theme flavored Wordpress.