Install updated version of nginx on Ubuntu Hardy 8.04LTS
Ubuntu May 26th, 2011
Nginx is a great web server to handle tons of traffic with relative low resources, it beats Apache big time.
I have started using it as a Reverse Proxy, Load Balancer, Web Cache and static files web server (like images, javascript and CSS) in front of Apache (for PHP processing). I’m more than amazed with the results.
The problem is that Ubuntu Hardy 8.04 comes with Nginx version 0.5 (version 1.0 has been recently released), and lacks of some features as Cache. An easy way to update the version to a more recent one (currently, to 0.8) without upgrading the whole Ubuntu version is using the following PPA repository: https://launchpad.net/~meto/+archive/nconfig
To add this repository to your system, you need to create a file inside /etc/apt/sources.list.d/ (for instance, nginx-stable.list) with the following content:
deb http://ppa.launchpad.net/meto/nconfig/ubuntu hardy main deb-src http://ppa.launchpad.net/meto/nconfig/ubuntu hardy main
Then, you need to add the key of the repository to your system:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ED283389
Finally, run:
apt-get update && apt-get upgrade
You should be prompted about a newer version of nginx, say yes, and that’s it, enjoy
.
Tags: Apache, Load Balancer, Nginx, Reverse Proxy, Ubuntu 8.04, Ubuntu Hardy, Web Server
Instalar nuevos locales en Ubuntu
Linux, Ubuntu February 14th, 2010
Durante la migración de la web de DeChalaca desde el servicio Grid-Service de MediaTemple hacia un nuevo VPS, el último punto que quedó por resolver fue que las fechas en la web se mostraban en inglés (aunque el Joomla estaba configurado para que lo hagan en español). El problema era que el servidor, un flamante Ubuntu 8.04, no tenía instalado las locales del español. La solución fue muy sencilla (como root):
$ cd /usr/share/locales $ ./install-language-pack es_ES $ ./install-language-pack es_PE
Para ver la lista de locales que están instalados en el sistema, se utiliza el siguiente comando:
$ locale -a
Tags: Joomla, Locales, Ubuntu 8.04
Instalar subversion 1.5 en Ubuntu Hardy
Linux, Subversion, Ubuntu June 22nd, 2009
En los repositorios de Ubuntu Hardy (la última versión LTS liberada hasta este momento) sólo se puede encontrar subversion 1.4 debido a que en este tipo de versiones de Ubuntu, las versiones de los paquetes no se actualizan tan a menudo (salvo por correcciones y bugs) como uno quisiera.
Entonces, para poder instalar subversion 1.5, se debe hacer una pequeña maniobra. Primero, agregar lo siguiente al archivo /etc/apt/sources.list:
deb http://ppa.launchpad.net/clazzes.org/ubuntu hardy main
Luego, actualizamos la base de datos de paquetes:
$ aptitude update
Después procedemos a instalar este sistema de control de versiones:
$ aptitude install subversion
Cuando ya esté instalada esta versión, quitamos o comentamos (con un #) la línea agregada en /etc/apt/sources.list:
#deb http://ppa.launchpad.net/clazzes.org/ubuntu hardy main
Finalmente, volvemos a hacer un update de los paquetes:
$ aptitude update
Tags: LTS, Ubuntu 8.04, Ubuntu Hardy
Ver la versión de Ubuntu
Linux, Ubuntu June 20th, 2009
Para ver la versión de Ubuntu que está corriendo mi server, hago lo siguiente:
$ cat /etc/*-release
El resultado en mi caso es:
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04"
Este procedimiento sirve también para otras distribuciones como Red Hat.
Una forma alternativa de hacerlo es mediante:
$ cat /etc/issue
Que mostrará por ejemplo:
Ubuntu 8.04 "Hardy Heron" \n \l
Aunque esta forma solo funciona en Ubuntu. En otras distros pueden probar:
$ cat /etc/motd
O también:
$ cat /etc/redhat-version
Una tercera forma, para las distrbuciones que adoptan LSB, es mediante el comando:
$ lsb_release -a
Esto mostrará:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.04.2 Release: 8.04 Codename: hardy
Tags: Red Hat, Server, Ubuntu 8.04, Ubuntu Hardy, Version
Gimp 2.6 liberado e instalado en Ubuntu 8.04
Linux, Ubuntu October 8th, 2008
Hace unos días salió la versión 2.6 de Gimp (un programa Open Source de edición de imágenes, similar al Photoshop) que incorporá muchos cambios. Aún no se encuentra en los repositorios oficiales de Ubuntu, pero ya es posible instalarlo de una manera sencilla tal como lo muestran acá, ya sea desde consola o desde el administrador de paquetes Synaptic.
Tags: Gimp, Hardy Heron, Linux, Photoshop, Ubuntu, Ubuntu 8.04
About