linux:index
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:index [2012/08/22 13:35] – rlunaro | linux:index [2023/05/25 09:09] (current) – rlunaro | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Linux ====== | ||
+ | |||
+ | * [[SuSE|Solo SuSE]] | ||
+ | * [[Ubuntu|Solo Ubuntu]] | ||
+ | * [[Dell|Linux over Dell]] | ||
+ | * [[ACL|ACL' | ||
+ | * [[ConfigurarDosTarjetasDeRed|Cómo configurar dos tarjetas de red]] | ||
+ | * [[Citrix|Instalación cliente Citrix en SuSE Linux]] | ||
+ | * [[RPM|Notas sobre RPM]] | ||
+ | * [[RAID|RAID]] | ||
+ | * [[eDNI|DNI electrónico]] | ||
+ | * [[ssh|SSH]] | ||
+ | * [[samba|Samba]] | ||
+ | * [[resin|Resin]] | ||
+ | * [[AnalisisLogs|Analisis Logs]] | ||
+ | * [[ComplementosFirefox|Mis plugins favoritos para Firefox]] | ||
+ | * [[ContadorPhp|Making a counter in PHP]] | ||
+ | * [[ABetterCounter|Making a professional counter in PHP]] | ||
+ | * [[SecuringPHP|Securing PHP]] | ||
+ | * [[http:// | ||
+ | * [[webalizer|Webalizer, | ||
+ | * [[java: | ||
+ | * [[Backup|A savvy backup system for linux]] | ||
+ | * [[WhatLibrariesUsesAProgram|How to guess what libraries uses a program]] | ||
+ | * [[UpdateLibrarySearchPath|Update the search path for libraries]] | ||
+ | * [[SecuringSubversion|Securing Subversion]] | ||
+ | * [[http:// | ||
+ | * [[RaspberryPI: | ||
+ | * [[ControlParental|Control parental en linux]] | ||
+ | * [[Git|Git]] | ||
+ | * [[LegoMindstorms|Lego Mindstorms]] | ||
+ | * [[CreatingAModuleScratch|Creating a module in scratch 1.4]] | ||
+ | * [[WatchdogInLinux|Creating a watchdog in linux]] | ||
+ | * [[Postfix|Postfix]] | ||
+ | * [[NetworkManagementLinux|Gestión de redes en linux]] | ||
+ | |||
+ | |||
+ | === How to create an application launcher in Gnome 3 === | ||
+ | |||
+ | http:// | ||
+ | |||
+ | |||
+ | |||
+ | === Cómo hacer que linux permita que un usuario no root abra puertos por debajo de 1024 === | ||
+ | |||
+ | Para eso hay que modificar los parámetros del kernel. Editando el fichero ''/ | ||
+ | una línea que dice: | ||
+ | |||
+ | <code conf> | ||
+ | net.ipv4.ip_local_port_range = 1024 65000 | ||
+ | </ | ||
+ | |||
+ | Lo vais pillando, eh??? Debe reiniciarse el sistema para que los cambios tengan efecto. | ||
+ | También se puede cambiar on-line: | ||
+ | |||
+ | <code shell> | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **Importante: | ||
+ | |||
+ | <code shel> | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | === Programar un apagado del equipo === | ||
+ | |||
+ | <code shell> | ||
+ | oktopus:/ | ||
+ | Starting service at daemon | ||
+ | oktopus:/ | ||
+ | mié ene 20 21:23:35 CET 2010 | ||
+ | oktopus:/ | ||
+ | warning: commands will be executed using /bin/sh | ||
+ | at> / | ||
+ | at> <EOT> | ||
+ | job 3 at 2010-01-20 21:25 | ||
+ | </ | ||
+ | |||
+ | === Montar un dispositivo en modo loopback === | ||
+ | |||
+ | <code shell> | ||
+ | mount –o loop / | ||
+ | </ | ||
+ | |||
+ | |||
+ | === execve: Permission denied === | ||
+ | |||
+ | Vamos a documentar este error, que me ha vuelto loco durante unos días: | ||
+ | |||
+ | <code shell> | ||
+ | # man loquesea | ||
+ | execve: Permission denied | ||
+ | </ | ||
+ | |||
+ | Después de hacer un strace a la llamada de marras, descubrí el origen del problema: los permisos sobre el directorio / | ||
+ | |||
+ | <code shell> | ||
+ | plasticman:/ | ||
+ | drwx--x--x 2 root root 4096 2007-04-22 23:48 man-db/ | ||
+ | </ | ||
+ | |||
+ | Simplemente poniendo los permisos a 755, quedó el tema resuelto: | ||
+ | |||
+ | <code shell> | ||
+ | plasticman:/ | ||
+ | </ | ||
+ | |||
+ | === Conexiones SSH === | ||
+ | |||
+ | Desde hace algún tiempo vengo observando que las conexiones SSH se me quedan " | ||
+ | |||
+ | Pues bien, ya he adivinado lo que le pasa, o cuál es la solución: el parámetro TCPKeepAlive debe estar configurado a " | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | TCPKeepAlive yes | ||
+ | ClientAliveCountMax 30 | ||
+ | ClientAliveInterval 200 | ||
+ | |||
+ | </ | ||
+ | |||
+ | El problema es cómo ssh -o en general, cualquier conexión de red- determina que el otro extremo de la conexión está " | ||
+ | |||
+ | El parámetro " | ||
+ | |||
+ | == Identificando el nombre de la máquina virtual en VirtualBox == | ||
+ | |||
+ | Necesitamos el nombre de la máquina. Lo puedes comprobar ejecutando el siguiente comando: | ||
+ | |||
+ | < | ||
+ | VBoxManage showvminfo Windows | ||
+ | </ | ||
+ | |||
+ | Toma nota del dato uuid: | ||
+ | |||
+ | < | ||
+ | Name: Windows | ||
+ | Guest OS: Windows XP | ||
+ | UUID: 274dc95d-8587-4e4c-4f85-41ece791a15a | ||
+ | Config file: / | ||
+ | Memory size: 512MB | ||
+ | [....] | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Como saber el service tag de un dell ==== | ||
+ | |||
+ | <code bash> | ||
+ | sudo dmidecode -s system-serial-number | ||
+ | </ | ||
+ | |||
+ | |||