introducción a gnu/linux
TRANSCRIPT
![Page 1: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/1.jpg)
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
Manuel Martín [email protected]
http://draxus.org
Licencia Creative Commons
![Page 2: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/2.jpg)
¿Qué es Linux?
En general, cuando hablamos de Linux nos referimos al sistema completo GNU/Linux que comprende:
- Núcleo del Sistema Operativo
- Aplicaciones
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
Gcubo
![Page 3: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/3.jpg)
Gcubo
El proyecto GNU
- Richard M. Stallman- Proyecto GNU (1983)
- Software Libre· Licencias GPL y LPGL· Free Software Foundation
- 4 Libertades del Software0. Libertad de Uso1. Libertad de Estudio2. Libertad de Distribución3. Libertad de Mejorar el Software y Publicarlo
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 4: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/4.jpg)
Gcubo
El proyecto GNU
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 5: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/5.jpg)
Gcubo
El proyecto Linux
- Linus Torvalds- Núcleo Linux (1991)
- Compatible UNIX- Licenciado bajo GPL- Publicado en la Red
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 6: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/6.jpg)
Gcubo
El proyecto Linux
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 7: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/7.jpg)
Gcubo
GNU + Linux
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 8: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/8.jpg)
Gcubo
El proyecto GNU/Linux
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 9: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/9.jpg)
Gcubo
Distribución GNU/Linux
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 10: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/10.jpg)
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 11: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/11.jpg)
Gcubo
El Sistema Gráfico
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 12: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/12.jpg)
Gcubo
El Gestor de Ventanas/Escritorio
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 13: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/13.jpg)
El Gestor de Ventanas/Escritorio
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 14: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/14.jpg)
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 15: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/15.jpg)
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 16: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/16.jpg)
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 17: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/17.jpg)
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 18: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/18.jpg)
Gcubo
Blackbox
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 19: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/19.jpg)
Gcubo
e17
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 20: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/20.jpg)
Gcubo
Siempre podremos encontrar un “pingüino” a nuestro gusto
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 21: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/21.jpg)
Sistema de gestión de paquetes
- Centralizado- Fácil acceso- Bibliotecas compartidas → resolución de dependencias- Binarios y fuentes- Actualización automática- Seguros (firma digital)
Repositorios
DEB (dpkg, apt)
RPM (yum, yast)
TGZ(pacman, slackpkg)
Portage(emerge)
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 22: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/22.jpg)
Firefox
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 23: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/23.jpg)
Chromium
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 24: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/24.jpg)
Konqueror
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 25: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/25.jpg)
LibreOffice
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 26: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/26.jpg)
Calligra Suite
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 27: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/27.jpg)
Gimp
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 28: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/28.jpg)
Krita
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 29: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/29.jpg)
Inkscape
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 30: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/30.jpg)
Transmission
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 31: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/31.jpg)
Vuze
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 32: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/32.jpg)
Emesene
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 33: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/33.jpg)
Pidgin
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 34: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/34.jpg)
Kopete
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 35: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/35.jpg)
Gwibber
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 36: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/36.jpg)
Banshee
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 37: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/37.jpg)
Rhythmbox
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 38: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/38.jpg)
Amarok
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 39: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/39.jpg)
Totem
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 40: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/40.jpg)
VLC
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 41: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/41.jpg)
F-spot
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 42: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/42.jpg)
Shotwell
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 43: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/43.jpg)
Wine
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
Recomendado: winetricks
![Page 44: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/44.jpg)
VirtualBox
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 45: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/45.jpg)
La Línea de Comandos
Shell: intérprete de órdenes para comunicarse con el sistema operativo
Unix Shell
sh
dash bash ksh
csh esh y muchas más
Gcubo
Averigua cuál usas: echo $SHELL
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 46: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/46.jpg)
Algunas órdenesorden significado
ls Listar directorio actual
cd Cambiar de directorio
mkdir Crear directorio
rmdir Eliminar directorio
rm Eliminar archivos o directorios
cp Copiar archivos o directorios
mv Mover archivos o directorios
chmod Cambiar permisos de archivos o directorios
chown Cambiar propietario de archivos o directorios
chroot Cambiar directorio raíz
diff Ver diferencias entre archivos de texto
grep Buscar cadenas de texto en archivos
ps Lista los procesos
top Lista en tiempo real los procesos por consumos (CPU, mem)
kill Matar a un proceso
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 47: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/47.jpg)
Operaciones privilegiadas
- Los sistemas Linux trabajan con una política estricta de usuarios.
- Cada usuario puede pertenecer a uno o más grupos.
- Cada grupo puede tener distintos privilegios dentro del sistema.
- El usuario root es el administrador de la máquina y tiene los máximos privilegios.
- Si se añade un usuario normal al grupo sudoers, pasa a adquirir privilegios de administrador si utiliza la orden sudo.
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 48: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/48.jpg)
Permisos Unix
Los permisos que pueden existir sobre los objetos del sistema de ficheros son:
- lectura (r,Read). Permiso de lectura.- escritura (w,Write). Permiso de escritura.- ejecución (x,eXecute/search). Permiso de ejecución.
Cuando se aplica a directorios, sirve para que pueda buscarse un fichero en los mismos.
- setuid (setuid). Un fichero con este permiso activo, cuando lo ejecuta cualquier usuario, en vez de ejecutarse con dicho permiso, lo hace con el del propietario del fichero.
- setgid (setgid). Igual que setuid, pero para los grupos.
Gcubo
- rwx rwx rwx
http://www.arrakis.es/~terron/permisos.html
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 49: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/49.jpg)
El sistema de archivos
Gcubo
bin Binarios de comandos esenciales boot Archivos estáticos de cargador de arranque (boot-loader)dev Archivos de dispositivosetc Configuración del sistema local-máquinahome Directorios de los usuarioslib Librerías compartidasmnt Punto de montaje de particiones temporalesproc Sistema de archivos virtual de información de procesos y del kernelroot Directorio del usuario rootsbin Binarios del sistema esencialestmp Archivos temporales usr Segunda jerarquía mayorvar Información variable (caché, logs, etc.)
/
http://es.tldp.org/Estandares/fsstnd12.html
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 50: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/50.jpg)
El sistema de archivos: Journaling
Gcubo
Al igual que Windows funciona con particiones NTFS o FAT, en Linux existen distintos formatos para las particiones del disco duro.
- ext2: fue el más usado ya que venía por defecto con RedHat y Debian.
- ext3: sustituye a ext2, incluyendo journaling, un mecanismo para implementar transacciones con vistas prevenir los fallos por caída del sistema.
- ext4: sustituye a ext3. Mejoras de rendimiento y mayores volúmenes de datos.
- ReiserFS: buen rendimiento con ficheros pequeños.
- XFS: sistema de alto rendimiento para trabajar con archivos grandes.
- ZFS: sistema de nueva generación (2004) que dispone de auto-reparación y snapshots entre otras cosas. (Sun)
- Btrfs: sistema de nueva generación (2007) que pretende sustituir a ext3 con mejoras de ZFS. (Oracle)
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 51: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/51.jpg)
Programación en Linux
- Compiladores- Documentación- Entornos de desarrollo- Depuradores
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 52: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/52.jpg)
Eclipse
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 53: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/53.jpg)
Netbeans
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 54: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/54.jpg)
Monodevelop
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 55: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/55.jpg)
Anjuta
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 56: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/56.jpg)
Geany
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 57: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/57.jpg)
Vim
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 58: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/58.jpg)
Emacs
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 59: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/59.jpg)
DDD
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 60: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/60.jpg)
Winpdb
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 61: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/61.jpg)
Planner
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
![Page 62: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/62.jpg)
- Grupo de Usuarios GNU/Linux de Granada- Organización sin ánimo de lucro.- Divulgar el Software Libre.- Facilitar el acceso a GNU/Linux.- Participar en el desarrollo, adaptación y traducción al español del Software Libre.- Ayudar a grupos de usuarios y desarrolladores de Software Libre que funcionen en Granada sin base organizativa.- Apoyar las iniciativas divulgadoras de Software Libre realizadas por otros.- Informar sobre otros sistemas de libre uso, distribución y modificación, dando a conocer al público esta particular manera de entender el software.
¿Qué es Gcubo?
GcuboIntroducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT
@gcubo_linux
![Page 63: Introducción a GNU/Linux](https://reader035.vdocuments.pub/reader035/viewer/2022062710/55941b9b1a28abf02b8b46b4/html5/thumbnails/63.jpg)
Agradecimientos
Un día con Linux, por jEsuSdA 8) – Creative Commons by-nc-sa http://www.jesusda.com/docs/undiaconlinux/index.html
Iconos kNeu alpha 0.2 – GPL
Wikipedia – Creative Commons by-sa
Gcubo
Gracias
¿Preguntas?
Introducción a GNU/LinuxTalleres de aplicaciones libres en la ETSIIT