一、前面部署查看
本文章不是单一配置文章,要查看本文章需要先看文章的上节部分,请点击查看。
二、daloRADIUS详细部署
1、软件下载wget http://nchc.dl.sourceforge.net/project/daloradius/daloradius/daloradius0.9-9/daloradius-0.9-9.tar.gz#解压
tar xf daloradius-0.9-9.tar.gz
cd daloradius-0.9-9
#查看安装说明
more INSTALL
2、解决依赖
在INSTALL中我们可以看到程序的需求,需要满足这些需求,否则不能正常运行。Apache 1/2
PHP 4/5
PHP GD
PHP DB Abstraction Layer (may require PHP Pear)
PHP Mail
MySQL 4/5
如果想编译安装的话可以参考我的文章《编译搭建LAMP服务器》,我这里直接使用yum安装了,比较简单。#安装httpd
yum install httpd -y
#安装php及组件
yum install php php-mysql php-gd -y
# 安装
yum install php-pear-DB -y
#转移php文件
cp -a daloradius-0.9-9 /var/www/daloradius
3、导入数据库
第一种情况:radius数据库已经存在了。
就是说已经在MySQL中创建了radius数据库,并且创建了相应的表,这个在安装FreeRADI