informatica:linux:debootstrap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:debootstrap [2009/11/18 15:09] – 192.168.1.30 | informatica:linux:debootstrap [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
debootsrtap chroot sid squeeze lenny | debootsrtap chroot sid squeeze lenny | ||
+ | |||
+ | ====== debootstrap + chroot ====== | ||
Sirve para crear un subsistema Debian en un directorio dado. Útil para hacer pruebas. Por ejemplo se puede crear un subsistema sarge (estable) en una instalación etch (pruebas) | Sirve para crear un subsistema Debian en un directorio dado. Útil para hacer pruebas. Por ejemplo se puede crear un subsistema sarge (estable) en una instalación etch (pruebas) | ||
+ | |||
+ | ===== Instalación ===== | ||
1. Instalar paquetes | 1. Instalar paquetes | ||
Line 20: | Line 24: | ||
| ¿? | ¿? | sarge | 3' | 146Mb | | | ¿? | ¿? | sarge | 3' | 146Mb | | ||
| Intel Centrino, 2Gb Ram | 13420 kbps | sid | 7' | 208 Mb | | | Intel Centrino, 2Gb Ram | 13420 kbps | sid | 7' | 208 Mb | | ||
+ | |||
+ | **NOTA** Solo admite alias | ||
+ | |||
+ | ^ Versión ^ Alias ^ | ||
+ | | Estable | lenny | | ||
+ | | Pruebas | squeeze | | ||
+ | | Inestable | sid | | ||
5. Escribo en el '/ | 5. Escribo en el '/ | ||
Line 37: | Line 48: | ||
exit | exit | ||
- | **PARA ARRANCAR APLICACIONES QUE USEN X** | ||
- | 1. (Desde el entorno principal) Deshabilitar la seguridad de conexión al servidor x: | ||
- | xhost + | ||
- | access control disabled, clients can connect from any host | ||
- | Pero mejor echarle un ojo a: | + | |
+ | ===== Arrancar aplicaciones que usen X ===== | ||
https:// | https:// | ||
- | rumour has it, xhost is EVIL! There are so many other ways of getting remote | + | 1. (Servidor) Deshabilitar seguridad para acceder a las X: |
+ | |||
+ | sudo xhost + | ||
+ | |||
+ | 2. (Servidor) Entrar en entorno chroot: | ||
+ | |||
+ | sudo chroot / | ||
+ | |||
+ | 3. (Chroot) Lo hice como root, no se si es estrictamente necesario: | ||
+ | |||
+ | <code> | ||
+ | source etc/ | ||
+ | export DISPLAY=: | ||
+ | export LC_ALL=C | ||
+ | </code> | ||
+ | |||
+ | ===== Errores ===== | ||
+ | |||
+ | * E: No such script: /usr/share/debootstrap/scripts/stable | ||
+ | |||
+ | **Solución** Sustituir ' | ||
+ | |||
+ | debootstrap lenny / |
informatica/linux/debootstrap.1258556982.txt.gz · Last modified: 2015/04/13 20:19 (external edit)