RADIUSDesk Installer is an Ansible powered utility that attempts to simplify the process of getting a working installation of RADIUSDesk on a vanilla/minimal installation of RHEL/CentOS 6.x/7.x and Ubuntu 14.x/15.x/16.x servers.
As of the time of this writing, Python 3 is not supported by Ansible so please take note. Managed Node Requirements
To Install Python which should come by default in most Linux distributions, you can use your package manager:
RHEL/CentOS 6.x/7.x
yum install -y python
Ubuntu 14.x/15.x/16.x
apt-get install -y python
RADIUSDesk Installer utilizes the latest version of Ansible and for this you must ensure you have at least Ansible 1.9 and above for the Installer to work as intended.
To Install Ansible, use your package manager and if your distribution comes with an older version of Ansible check the following steps to install the latest Ansible package:
RHEL/CentOS 6.x/7.x
yum install -y epel-release
yum install -y ansible
Note: To Manually install EPEL repositories, Visit the EPEL Wiki
Ubuntu 14.x/15.x/16.x
apt-add-repository ppa:ansible/ansible
apt-get update
apt-get install -y ansible
SSH into the local/remote managed node/server at least once to ensure it is added to the control node/server SSH known_host file.
ssh root@localhost
or ssh root@192.168.23.101
Clone the Installer from GitHub
git clone https://github.com/muffycompo/radiusdesk-installer
Note: If you don't have git installed, make sure you do so before cloning the Installer. Use your package manager to install git; yum install -y git
on RHEL/CentOS or apt-get install -y git
on Ubuntu.
-
By default, the installer will setup RADIUSDesk on the server you are currently running the installer from i.e.
localhost
. To change that and use a remote server (on your network or in the cloud), edit theservers
file in the installer's directory;cd radiusdesk-installer; vi servers
. You can create a new host group as per Ansible's guide or modify the sample groups in theservers
file. If you have modified theservers
file and created a new group, also remember to edit therd-installer-ansible.yml
and ensure the hosts uses your newly created server group from the previous step. -
RADIUSDesk Installer requires root privileges to ensure it installs packages and configure your servers properly. Login as the
root
user or a user with sudo privileges. Run the installer and select I or 1 to start provisioning your server with RADIUSDesk.cd radiusdesk-installer; ./rd-installer
-
Grab yourself a Cup of Coffee as the installer provisions your server with RADIUSDesk and reboot the server to ensure everything is persistent on reboot [Optional].
-
RADIUSDesk installer is Customizable (Edit
roles/radiusdesk/vars/Debian.yml
orroles/radiusdesk/vars/RedHat.yml
depending on your Operating System family like Debian, RedHat etc). Note: ensure you use a YAML linter to check your syntax anytime you make any change to the variable file(s). -
Somewhat modularized, so you can always extend RADIUSDesk installer to support your ever growing environments.
-
Support for PPTPD [Optional]
-
Support for CoovaChilli Captive portal [Optional]
-
Support for Dynamic Login Pages [Optional]
-
RADIUSDesk Installer is Compatible with Ansible 1.9+
-
RADIUSDesk Installer has been tested on the following Linux Distros:
- RHEL/CentOS 6.x/7.x
- Ubuntu 14.x/15.x/16.x
- Why do I get an SSL3 handshake error when running RADIUSDesk Installer on Ubuntu 14.x?
- Ubuntu 14.x comes with python 2.7.6 and will need to be upgraded to 2.7.9+ as follows:
sudo apt-add-repository ppa:fkrull/deadsnakes-python2.7 sudo apt-get update sudo apt-get upgrade
- Why does RADIUSDesk Installer fail to start MySQL and FreeRADIUS on CentOS by showing a connection error?
- Usually, this is caused by having SELinux enabled or iptables running the default rules. Make sure SELinux is set to Permissive (
setenforce 0
) or disabled (vi /etc/sysconfig/selinux
)
- Usually, this is caused by having SELinux enabled or iptables running the default rules. Make sure SELinux is set to Permissive (
- RADIUSDesk Mini Course (Old) by Mfawa Alfred Onen
- RADIUSDesk Project by Dirk van der Walt
- RADIUSDesk Installer Videos
- Anyone is welcome to contribute by sending a pull request with your desired feature tested and implemented.
- If you have tested the installer in a Linux Distribution that is not in the compatibility list, kindly send an email to muffycompoqm[at]gmail[dot]com.
Copyright (c) 2016 Mfawa Alfred Onen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.