Using Chamilo juju charm to setup a dev environment on Digital Ocean

If you're in a hurry/on speed, know this:
  • this procedure is slightly more difficult (so longer) than installing the charm on Amazon
  • you can skip directly to "Installing Juju"
  • if you already have juju installed, you can skip to the last 2 lines of the "Installing juju" section
  • if you already have juju-docean installed and configured, you can skip directly to "Provisioning VMs"
  • otherwise, just continue reading, it's worth a few minutes...
This tutorial regroups a lot of advanced notions, so if you want to know more about one of the follo

Creating a software RAID array on an already installed Ubuntu 11.04

Let's say you got confused by a misleading fake-RAID feature on an HP Blade server and you decided to ignore that the Ubuntu installer was telling you it found 2 disks while it was supposed (if it was actual hardware RAID) to be detecting only one. And let's say you are lucky to have 3 disks, and you only one to use two as the RAID array (and they do not contain your operating system, i.e. the / partition). You might wonder: "And now what? S**** you, HP!" (that last bit is if you left panic get you, of course).

HOWTO Install Sun's JAVA on Ubuntu Lucid Lynx (10.04)

After Ubuntu's decision to default to OpenJDK for 10.04 (which is a good decision, IMHO), Sun's (but is it still Sun, or Oracle?) JAVA somewhat "disappeared" from Ubuntu (multiverse). That being said, some people may still need features only available in Sun's JRE/JDK, which might not yet have been Freed. Actually, Ubuntu is still shipping it, but in its "partner" section.

Installing Squid on ZFS

The recommended filesystem for Squid on OpenSolaris is ZFS: http://wiki.squid-cache.org/BestOsForSquid It is also recommended to disable the atime property on the filesystem holding the cache, and you may want to avoid using any type of RAID. To achieve this on Nexenta (or OpenSolaris, whatever), first create the ZFS filesystem: # zfs create -o atime=off -o mountpoint=/var/spool/squid3 syspool/squidcache Then install Squid (here for version 3.x, as you might have noticed from the com

Install Oracle Express and PHP OCI8 on Ubuntu 9.10

Copiado del post de Daniel escrito en el marco de sus proyectos aqui : http://danielphp.wordpress.com/install-oracle-express-and-php-oci8-on-ubuntu-9-10/ (Requirements: PHP 5 and Apache 2 already installed) Go to Oracle website, and download the following files: (You are gonna need to register an account with Oracle to be able to download the files, just do it, its free)
  1. oracle-xe-universal_10.2.0.1-1.0_i386.deb
  2. Oracle instant client basic 11.2.0.1, zip package
  3. Oracle instant client sdk 11.2.0.1, zip package
Instal