Added freeradius installation
This commit is contained in:
parent
f159562bd3
commit
72fad4c390
10
bin/bcrypt
Executable file
10
bin/bcrypt
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
PASSWORD="$1"
|
||||||
|
if [ -z "${PASSWORD}" ]
|
||||||
|
then
|
||||||
|
echo "Missing password"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
htpasswd -bnBC 8 "" ${PASSWORD} | grep -oP '\$2[ayb]\$.{56}'
|
||||||
7
install-freeradius.sh
Executable file
7
install-freeradius.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bas
|
||||||
|
|
||||||
|
dnf install -y freeradius freeradius-ldap freeradius-mysql freeradius-perl freeradius-rest freeradius-sqlite freeradius-utils httpd-tools
|
||||||
|
|
||||||
|
dnf install -y epel-release
|
||||||
|
|
||||||
|
dnf install -y google-authenticator qrencode
|
||||||
3
install-ruby.sh
Executable file
3
install-ruby.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
dnf install -y ruby ruby-devel rubygem-irb rubygem-mysql2
|
||||||
Loading…
x
Reference in New Issue
Block a user