(1)安装 freeradius-server-2.1.1.tar.gz
[root@localhost freeradius-server-2.1.1]# tar zxvf freeradius-server-2.1.1.tar.gz
[root@localhost freeradius-server-2.1.1]# cd freeradius-server-2.1.1
[root@localhost freeradius-server-2.1.1]# ./configure
[root@localhost freeradius-server-2.1.1]# make
[root@localhost freeradius-server-2.1.1]# make install
------------------------------------------------------------------------------------
(1.1)安装的文件所在的系统目录:
1) /usr/local/sbin: checkrad radiusd radmin radwatch rc.radiusd
2) /usr/local/bin:radlast radtest randpkt rlm_dbm_parser radclient radsniff radwho radeapclient radsqlrelay radzap rlm_dbm_cat
3) /usr/local/etc/raddb: 配置文件
4) /usr/local/share/man:man手册
5) /usr/local/var/run/radiusd:运行时生成的文件存放目录
6) /usr/local/var/log/radius:日志文件存放目录
7) /usr/local/var/log/radius/radacct
8) /usr/local/share/freeradius:存放各个属性定义
9) /usr/local/lib: freeradius使用的库文件
------------------------------------------------------------------------------------------------------------------
(2)测试freeradius是否已安装成功
(2.1)测试需要用户,因此先将/etc/raddb/users文件打开,创建新的用户名,如果不会创建(freeradius早已考虑到了这一点)�