Download LinOTP

There are many different ways to install the latest version of LinOTP. Beside the KeyIdentity Smart Virtual Appliance you can install LinOTP using the Debian, Ubuntu and PyPI packages provided.

Supported Distributions

  • Debian 8 Jessie with packages
  • Debian 9 Stretch with packages,
  • Ubuntu 14.04 with packages,
  • RHEL 7.x with packages,
  • CentOS 7.x with packages,
  • Other Linux distribution may run using the source package/pip installation method.

Install LinOTP on Debian Jessie

To install LinOTP on Debian 8 jessie (only minimal OS installation required) add the repository:

echo 'deb http://www.linotp.org/apt/debian jessie linotp' > /etc/apt/sources.list.d/linotp.list

For package verification you can import the package signing key:

gpg --search-keys 913DFF12F86258E5
gpg --export 913DFF12F86258E5 | apt-key add -

Install the desired database (alternatively an external database can be used - this requires additional configuration steps):

apt-get update
apt-get install mysql-server

You can now start the installation of LinOTP with:

apt-get update
apt-get install linotp

Please refer to the LinOTP Manual for the setup of Apache and the Authentication Modules

Install LinOTP on Debian Stretch

2018-11-14 - Please mind: LinOTP 2.10.1.1 is the first release at Debian stretch and is regarded as beta state. So at the moment we recommend to install LinOTP at Debian jessie for production environments until some weeks have passed by.

To install LinOTP on Debian 9 stretch (only minimal OS installation required) add the repository:

echo 'deb http://www.linotp.org/apt/debian stretch linotp linotp-deps' > /etc/apt/sources.list.d/linotp.list

For package verification you can import the package signing key:

apt-get install dirmngr
apt-key adv --recv-keys 913DFF12F86258E5

Install the desired database (alternatively an external database can be used - this requires additional configuration steps):

apt-get update
apt-get install mariadb-server
mysql_secure_installation

You can now start the installation of LinOTP with:

apt-get update
apt-get install linotp

Please refer to the LinOTP Manual for the setup of Apache and the Authentication Modules

Install LinOTP on Red Hat Enterprise Linux or CentOS

Please enable EPEL before you start the installation.

yum install epel-release.noarch

Now install the package which provides the repository definition:

yum localinstall http://linotp.org/rpm/el7/linotp/x86_64/Packages/LinOTP_repos-1.1-1.el7.x86_64.rpm 

Start the installation of LinOTP:

yum update
yum install LinOTP

From our repositories you'll get a fixed version of the package python-repoze-who. For further system updates you have to lock this package:

yum install yum-plugin-versionlock
yum versionlock python-repoze-who

If you like to use MariaDB as your LinOTP token database, you can install MariaDB and a second package which provides neccessary drivers and a setup script:

yum install mariadb-server
yum install LinOTP_mariadb

You can setup LinOTP with the script:

/usr/bin/linotp-create-mariadb

For integration with apache please install another package:

yum install LinOTP_apache
systemctl enable httpd.service

With this package you'll get templates for the SSL configuration located at /etc/httpd/conf.d/ssl_linotp.conf.template.

mkdir /etc/httpd/conf.d/old
mv /etc/httpd/conf.d/* /etc/httpd/conf.d/old
cp /etc/httpd/conf.d/old/ssl_linotp.conf.template /etc/httpd/conf.d/ssl_linotp.conf
systemctl start httpd.service

For the first login to LinOTP please use following credentials:

admin/Tio1LApw

Please refer to the detailed installation instructions in the manual

Install LinOTP on Ubuntu 14.04 LTS

The Ubuntu repository is hosted on launchpad, so that you can do a simple:

add-apt-repository ppa:linotp/stable
        apt-get update

Install the desired database (alternatively an external database can be used - this requires additional configuration steps):

apt-get install mysql-server

You can now start the installation of LinOTP with:

apt-get install linotp

Please refer to the LinOTP Manual for the setup of Apache and the Authentication Modu les

Install LinOTP using the Python Package Index

You can install LinOTP using pip and PyPI, for example in an virtualenv.

Please refer to the detailed installation instructions in the manual