sábado, 28 de junio de 2008

despuesdegoogle » Blog Archive » XAMPP: Apache + PHP + MySQL + Perl en un clic


XAMPP: Apache + PHP + MySQL + Perl en un clic
5 Septiembre, 2007 | Escrito por emiligene | Categorías: linux | | 809 lecturas

Si necesitas un servidor web completo en tu PC y no quieres arriesgarte a tener que configurar o (re)instalar archivos, XAMPP es sin duda la mejor solución.
Se trata de una versión multiplataforma (Linux, Win, Mac, Solaris) de Apache lista para usar.
Basta que descargues la versión correspondiente a tu sistema operativo y ejecutes el programa de instalación. Nada más.

En el caso de Linux:
1. Descarga del archivo comprimido (tar.gz)
2. Extraer en /opt: sudo tar xvfz xampp-linux-1.6.3b.tar.gz -C /opt
Y para iniciar XAMPP:
$ sudo /opt/lampp/lampp start

Ya puedes acceder a tu servidor en la dirección:
http://localhost
Puedes elegir el idioma y a continuación comprobar (desde el menú de navegación de la izquierda) el Status (PHP, MySQL…) y la Seguridad: verás que no se ha definido ningún tipo de contraseña.

Para asegurar tu XAMPP debes cerrarlo:
$ sudo /opt/lampp/lampp stop
Y ejecutar el programa interactivo
$ sudo /opt/lampp/lampp security
que te permite asignar contraseñas y restringir el acceso a MySQL desde el exterior.
Cuando vuelvas a arrancar XAMPP y abrir la página de localhost en el navegador, te pedirá que te identifiques. Como usuario escribes lampp y contraseña, la que definiste.

Todos los archivos que quieras publicar debes colocarlos en /opt/lampp/htdocs

miércoles, 4 de junio de 2008

Use a Floppy to Boot USB Pendrive Linux | USB Pen Drive Linux

Use a Floppy to Boot USB Pendrive Linux

If you have a system that does not support booting from a USB device, but do have a floppy drive, you can try to boot Pendrive Linux from a USB flash drive using a Grub Boot floppy disk. When using a Boot floppy with a Grub boot loader, Grub locates the USB partition and then attempts to boot loading vmlinuz and initrd.gz from the USB device.

This tutorial assumes your using the Pendrive Linux version located HERE and your USB flash drive contains a Volume label of PDL. See screenshot:

Volume Label

Pendrive Linux USB Boot Floppy Requirements:

* Linux CD/USB or installed OS
* Floppy drive/Floppy disk
* Your Pendrive Linux USB flash drive

Creating a Boot Floppy to Boot Pendrive Linux from a USB device:

1. Insert a blank floppy disk
2. Open a terminal and type sudo su
3. Type wget http://pendrivelinux.com/downloads/pdlfloppy.img.gz
4. Type gzip -dc pdlfloppy.img.gz | dd of=/dev/fd0
5. Reboot your PC and set your system BIOS or Boot Menu to boot from floppy
6. From the floppy booted Grub Menu select a boot option:

Pendrivelinux (hd0,0) if the PC has no other ATA/USB/SCSI drives

Pendrivelinux (hd1,0) if the PC has other ATA/USB/SCSI drives

Troubleshooting Notes: If you still can\'t boot, try the following:

1. press C at the Grub Menu
2. Type find /casper/vmlinuz and make a note of which drive is displayed
3. Press Esc and then Press e
4. Press e again to edit the root (hd0,0) line
5. Change the line to reflect the drive displayed in step 2
6. Press Enter, then Enter again to boot

Related posts

* USB Pendrivelinux V1 install from Windows
* Testing your system for USB boot compatibility
* Portable Qemu Persistent Pendrivelinux
* Pendrivelinux 2008 install from Windows