Así.. sin valium y sin nada: Amazon EC2 is among the more potent items in Amazon’s web services arsenal. You’ve probably heard of many of the other services such as S3 for storage and FPS for payments. EC2 is all about the “elastic compute cloud.” In layman’s terms, it’s a server. In slightly less layman’s [...]
Seguir leyendo »
Con esta sencilla instrucción puedes garantizar la continuidad de la bajada de un archivo en caso de que se corte por cualquier eventualidad. # curl -C – -O http://mirrors.kernel.org/opensuse/distribution/10.3/iso/dvd/openSUSE-10.3-GM-DVD-i386.iso ソルサン。
Seguir leyendo »
Cuando creas un tar, los archivos se guardan SIN el – adelante, ya que debes tenes que poder desempaquetarlo desde el directorio que quieras, y que los archivos queden relativos a ese directorio. Si usas, por ejemplo: tar -jcvf pepe.tgz /etc/* Te va a tirar ese error, en cambio si haces: cd / ; tar [...]
Seguir leyendo »
What does ‘grep’ mean? The Wikipedia entry for grep states: grep is a command line utility originally written for use with the Unix operating system. The name comes from a command in the Unix text editor ed that takes the form: g/re/p This means “search globally for matches to the regular expression re, and [...]
Seguir leyendo »
#vi /etc/logrotate.d/apache2 /var/log/apache2/*.log { weekly missingok rotate 52 compress delaycompress notifempty create 644 root adm sharedscripts prerotate su hscsp -c ‘/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=intranet.hscsp -update’ endscript postrotate if [ -f /usr/local/apache2/logs/httpd.pid ]; then /etc/init.d/apachectl restart > /dev/null fi endscript } Con esta sencilla configuracion del logrotate matamos dos pajaros de un tiro: Hacemos la rotacion del fichero [...]
Seguir leyendo »
Este tip es algo antiguo, aunque muchos lo desconocerán. El caso es que se puede configurar el comando sudo para que nos insulte con una donosa frase como It can only be attributed to human error, Listen, burrito brains, I don’t have time to listen to this trash o Wrong! You cheating scum!. Para activarlo [...]
Seguir leyendo »
Estos días en Applesfera hemos descubierto 3 plugins para la interfaz QuickLook de Mac OS X Leopard. Para los que no sepáis qué es QuickLook, tan sólo diré que es el visualizador que Mac OS X siempre debió tener, con QuickLook desde cualquier ventana de Finder podemos visualizar una foto, un documento o reproducir [...]
Seguir leyendo »