欢迎来到天天文库
浏览记录
ID:34725525
大小:154.68 KB
页数:14页
时间:2019-03-10
《radius详细配置步骤》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、江西三友网络科技有限公司绝密文件三友认证计费系统详细配置步骤1、安装freeradius1.1.4的版本1、#tar-xvffreeradius-1.1.4.tar2、#cdfreeradius-1.1.43、#./configure-localstatedir=/var-sysconfdir=/etc4、#make5、#makeinstall至此freeradius安装完毕二、mysql数据库服务器操作1、rpm-qa
2、grepmysql查看是否安装mysql数据库程序2、servicemysqldstart启动mysql数据库程序3、/usr/bin/mysqladm
3、inpassword'336699'修改mysql用户的root的密码4、mysql-uroot-penterpassword:336699(输入密码,无显示)5、mysql>CREATEDATABASEradius;6、Showdatabases;6、mysql>quit注释:删除mysql命令mysql>dorpdatabasesradius;Mysql下的命令都有“;”三、设置启动的服务1、#ntsysv选中mysqld和httpd服务,使其开机启动。四、设置freeradius程序1、#cd/freeradius-1.1.4/doc/examples2、#mysq
4、l-uroot-pradius5、三友网络科技有限公司绝密文件password="336699"5、#viradiusd.conf将以下:#See"AuthorizationQueries"insql.conf#sql修改为:#See"AuthorizationQueries"insql.confsql将以下:#See"Accountingqueries"insql.conf#sql修改为:#See"Accountingqueries"insql.confsql将以下:post-auth{#GetanaddressfromtheIPPool.#main_pool##Ifyouwanttohavealogo6、fauthenticationreplies,#un-commentthefollowingline,andthe'detailreply_log'#section,above.#reply_log##Afterauthenticatingtheuser,doanotherSQLqeury.##See"AuthenticationLoggingQueries"insql.conf#sql##Un-commentthefollowingifyouhaveset#'edir_account_policy_check=yes'intheldapmodulesub-section7、of#the'modules'section.修改为:post-auth{#GetanaddressfromtheIPPool.#main_pool##Ifyouwanttohavealogofauthenticationreplies,14内部资料注意保密作者:张工江西三友网络科技有限公司绝密文件#un-commentthefollowingline,andthe'detailreply_log'#section,above.#reply_log##Afterauthenticatingtheuser,doanotherSQLqeury.##See"Authentica8、tionLoggingQueries"insql.confsql##Un-commentthefollowingifyouhaveset#'edir_account_policy_check=yes'intheldapmodulesub-sectionof#the'modules'section.6、#viclients.conf在文件末尾增加以下代码:client192.168.15.1{secret=336699shortname=sanyou1}注释:336699是ros里ip-ppp-secret密码7、#/usr/l
5、三友网络科技有限公司绝密文件password="336699"5、#viradiusd.conf将以下:#See"AuthorizationQueries"insql.conf#sql修改为:#See"AuthorizationQueries"insql.confsql将以下:#See"Accountingqueries"insql.conf#sql修改为:#See"Accountingqueries"insql.confsql将以下:post-auth{#GetanaddressfromtheIPPool.#main_pool##Ifyouwanttohavealogo
6、fauthenticationreplies,#un-commentthefollowingline,andthe'detailreply_log'#section,above.#reply_log##Afterauthenticatingtheuser,doanotherSQLqeury.##See"AuthenticationLoggingQueries"insql.conf#sql##Un-commentthefollowingifyouhaveset#'edir_account_policy_check=yes'intheldapmodulesub-section
7、of#the'modules'section.修改为:post-auth{#GetanaddressfromtheIPPool.#main_pool##Ifyouwanttohavealogofauthenticationreplies,14内部资料注意保密作者:张工江西三友网络科技有限公司绝密文件#un-commentthefollowingline,andthe'detailreply_log'#section,above.#reply_log##Afterauthenticatingtheuser,doanotherSQLqeury.##See"Authentica
8、tionLoggingQueries"insql.confsql##Un-commentthefollowingifyouhaveset#'edir_account_policy_check=yes'intheldapmodulesub-sectionof#the'modules'section.6、#viclients.conf在文件末尾增加以下代码:client192.168.15.1{secret=336699shortname=sanyou1}注释:336699是ros里ip-ppp-secret密码7、#/usr/l
此文档下载收益归作者所有