Download LinOTP 2
There are many different ways to install LinOTP 2. Beside the LinOTP Smart Virtual Appliance you can install LinOTP using the Debian, RPM and PyPI packages provided.
Note: This is the download page for LinOTP 2. To get the latest and greatest of LinOTP, you should go to LinOTP 3 Download.
For information about the latest LinOTP releases, please refer to the changelogs
Supported Distributions
- Debian 10 Buster 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 Buster
Note: Only a minimal OS installation is required to install LinOTP.
Add the correct version of the linotp.org repository for Stretch or Buster:
echo 'deb http://dist.linotp.org/debian/linotp2 buster 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 --keyserver keyserver.ubuntu.com --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
service mysql start
mysql_secure_installation
You can now start the installation of LinOTP:
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://dist.linotp.org/rpm/el7/linotp/x86_64/Packages/LinOTP_repos-1.3-1.el7.x86_64.rpm
Start the installation of LinOTP:
yum update
yum install LinOTP
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 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.