Archive for 'Uncategorized'

Enabling mod_rewrite in Apache under Ubuntu Server

Here’s some quick instructions on enabling mod_rewrite in Apache under Ubuntu 10.04 Server.

  1. sudo a2enmod rewrite
  2. sudo vi /etc/apache2/sites-available/default
  3. Change “AllowOverride” from “None” to “all” for the /var/www directory.
  4. sudo /etc/init.d/apache2 restart

That’s it!

Installing Peerguardian Linux on Ubuntu 10.10

Here are some quick notes on how to install pgl under Ubuntu 10.10.

1. Add the gpg key to the apt keyring: -

gpg --keyserver keyserver.ubuntu.com --recv 9C0042C8
gpg --export --armor 9C0042C8 | sudo apt-key add -

2. Add the repository sources to your /etc/apt/sources.list: -

vi /etc/apt/sources.list

deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu maverick main

3. Update packages & install pgl: -

sudo apt-get update
sudo apt-get install pgld pglcmd

(Answer the questions during installation process.

4. To check status: -

sudo pglcmd status