Installation on Debian/Ubuntu

The RestAuth project provides APT repositories for all software it maintains. Repositories are available for all distributions that are currently maintained by the Debian project and Canonical respectively except Debian 5.0 (“lenny”) and Ubuntu 8.04 (Hardy Heron).

Note

Repositories for older distributions may contain older versions of RestAuth. If you use an older distribution, install the restauth-doc package to get documentation for the specific version of RestAuth.

Adding our APT repository

To add the repositories, simply add this line to your /etc/apt/sources.list file:

deb http://apt.fsinf.at <dist> restauth

... where <dist> is any of the supported distributions. At the time of writing, possible values are lucid, oneiric, precise, squeeze or wheezy. Please see the WikiPedia pages for Ubuntu and Debian to see how they map to your installation. You can also check the APT repository itself for a list of available distributions (don’t forget to check the ‘Last modified’ timestamp!).

Once you added the repository, you have to install the fsinf GPG keyring used for signing the repositories, so you won’t get any warnings when updating. You can either install the fsinf-keyring package using:

apt-get update
apt-get install fsinf-keyring
apt-get update

or download and add the key directly using:

wget -O - http://packages.spectrum.im/keys/apt-repository@fsinf.at | apt-key add -
apt-get update

Install RestAuth

Once you have added the repositories, installing RestAuth is as simple as

apt-get install restauth

Next steps

Now that you have installed RestAuth, you still need to

  1. configure your webserver
  2. configure RestAuth
  3. setup your database

Updating the source

You can update the source code with the regular process:

apt-get update
apt-get install restauth

After you updated the source, don’t forget to update your database schema and check for new settings.