radius详细配置步骤.doc

  1. 1、本文档共14页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
radius详细配置步骤

三友认证计费系统详细配置步骤 安装freeradius1.1.4的版本 1、# tar -xvf freeradius-1.1.4.tar 2、# cd freeradius-1.1.4 3、# ./configure -localstatedir=/var -sysconfdir=/etc 4、# make 5、# make install 至此freeradius安装完毕 二、mysql数据库服务器操作 1、rpm -qa|grep mysql 查看是否安装mysql数据库程序 2、service mysqld start 启动mysql数据库程序 3、/usr/bin/mysqladmin password 336699 修改mysql用户的root的密码 4、mysql -u root -p enter password: 336699 (输入密码,无显示) mysql CREATE DATABASE radius; Show databases; 6、mysql quit 注释:删除mysql 命令 mysqldorp databases radius; Mysql下的命令都有“;” 三、设置启动的服务 1、 # ntsysv 选中mysqld和httpd服务,使其开机启动。 四、设置freeradius程序 1、# cd /freeradius-1.1.4/doc/examples 2、# mysql -u root -p radiusmysql.sql 生成freeradius的基本数据库的表 3、# cd /etc/raddb/ 注释:“i” 是编辑的的意思 Esc 退出 “shift”+ “;” 后输入 wq 保存修改数据 “q!”不保存 查找字符 输入”/”后输入要查找的字符 “N”是下一个 “shift”+“N”是上一个 4、# vi sql.conf 将以下: # Connect info server = localhost login = root password = password 修改为: # Connect info server = localhost login = root password = 336699 5、# vi radiusd.conf 将以下: # See Authorization Queries in sql.conf # sql 修改为: # See Authorization Queries in sql.conf sql 将以下: # See Accounting queries in sql.conf # sql 修改为: # See Accounting queries in sql.conf sql 将以下: post-auth { # Get an address from the IP Pool. # main_pool # # If you want to have a log of authentication replies, # un-comment the following line, and the detail reply_log # section, above. # reply_log # # After authenticating the user, do another SQL qeury. # # See Authentication Logging Queries in sql.conf # sql # # Un-comment the following if you have set # edir_account_policy_check = yes in the ldap module sub-section of # the modules section. 修改为: post-auth { # Get an address from the IP Pool. # main_pool #

文档评论(0)

gangshou + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档