第一节:Centos7安装freeradius
更新日期:2018年4月23日
本节主要内容:
在Centos7.4 上安装以下软件
(1)freeradius:linux下开源radius,用于后期对VPN账号的管理
(2)php环境:用于后期daloradius必须的环境
(3)mariadb(mysql数据库):用于后期freeradius、daloradius必须的环境
1、关闭selinux
注意:如果不关闭,将在daloradius中无法查看日志信息
1 |
vi /etc/selinux/config |
1 2 3 |
将 SELINUX=enforcing 修改为SELINUX=disabled |
1 |
yum groupinstall "Development tools" -y |
1 |
yum install wget telnet net-tools httpd mariadb-server php php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel -y |
1 |
yum install freeradius freeradius-mysql freeradius-utils -y |
1 2 3 4 |
systemctl restart mariadb systemctl restart httpd systemctl stop firewalld systemctl disable firewalld |