freeRadius安装测试

需要 openssl

ubuntu安装openssl
apt-get 无法安装 openssl-devel请执行:  
sudo apt-get install openssl 
sudo apt-get install libssl-dev

1.得到freeRadius: http://doc.freeradius.org/

git clone git://git.freeradius.org/freeradius-server.git
cd freeradius-server
git fetch origin v2.x.x:v2.x.x
git checkout v2.x.x


2.Building from Source
tar zxvf freeradius-<version>.tar.gz
./configure
make
su - root
make install

3.radiusd -x出问题 
/sbin/ldconfig -v 查看 是否有这个包
http://xia-siyu.blog.163.com/blog/static/2748304120101261026411/


我的安装在这一步出现问题,


“error while loading shared libraries:libfreeradius-radius-2.1.8.so: cannot open shared object file : no such file or directory.”
采取的解决方式是将/usr/local/lib添加到/etc/ld.so.conf中


ld.so.conf文件内容如下:
include /etc/ld.so.conf.d/*.conf
添加一行 /usr/local/lib
完成后输入/sbin/ldconfig,再重新进行上面步骤。
Ldconfig命令是将/etc/ld.so.conf列出的路径下的库文件缓存到/etc/ld.so.cache以供使用


4.Radius测试
http://www.doc88.com/p-972311180848.html

5.下载radiusClient-ng
http://hi.baidu.com/michael7768/item/aae1c733f11333483075a196

./configure
make
make install

测试

6.http://www.hh010.com/bencandy-htm-fid-411-id-9816.html


http://blog.dayanjia.com/2011/03/configure-freeradius-and-daloradius-on-pptp-vpn-server/


7.daloradius配置
http://yanzhuang.net/2824.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值