Posts from 2010-05

Install MediaWiki from Debian package

You can install a MediaWiki either by downloading and unpacking the .tar.gz archive and setting it up manually or by using the Debian package mediawiki.

This blog posts describes how to install MediaWiki using the Debian package on Ubuntu:

sudo apt-get install mediawiki

Now uncomment the alias for mediawiki in the...

Read on

React to IP Takeover

When someone has taken your IP, react!

Set your IP to the correct one (belonging to you):

sudo ifconfig eth0 201.2.16.41 netmask 255.255.255.0

and run arping to get the IP back on your side:

sudo arping -U -c 3 -I eth0 201.2.16.41
sudo arping -A -c 3 -I eth0 201.2.16.41

Also have...

Read on

Sun Java on Ubuntu 10.04 (instead of Open JDK)

With Ubuntu 10.04 Lucid Lynx there are no sun-java6-... packages (previously found on multiverse) anymore. They now are part of the repository partner. It's recommended to uninstall all openjdk packages.

You need the following lines (uncommented) in your /etc/apt/sources.list:

deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu 

Read on

Downgrade a Package

https://help.ubuntu.com/community/DowngradeHowto

using Synaptic: Package → Force Version in Synaptic

preferred using aptitude:

apt-cache showpkg libAppA

which will produce an output similar like this:

Provides:
6.5.1-cvs20060628 - libAppA
6.4.1-0ubuntu8 - libAppA

So you can force a certain...

Read on

Viewing the Changelog of Ubuntu Packages

at the command line using aptitude:

aptitude changelog <packagename>

This only works for officially supported packages, so it won't work for PPAs

alias to see the changelog for all packages that need an update

To see a description of all available updates, I create for myself the following alias in the ~/.bashrc:

Read on