radius+httpd+php+mysql+dialupadmin總結

來源:互聯網
上載者:User

RADIUS是一種C/S結構的協議,它的用戶端最初就是NAS(Net Access Server)伺服器,現在任何運行RADIUS用戶端軟體的電腦都可以成為RADIUS的用戶端。RADIUS協議認證機制靈活,可以採用PAPCHAP或者Unix登入認證等多種方式.

RADIUS是一種可擴充的協議,它進行的全部工作都是基於Attribute-Length-Value的向量進行的。RADIUS也支援廠商擴充廠家專有屬性.由於RADIUS協議簡單明確,可擴充,因此得到了廣泛應用,包括普通電話上網、ADSL上網、小區寬頻上網、IP電話、VPDN(Virtual Private Dialup Networks,基於撥號使用者的虛擬專用撥號網業務)、行動電話預付費等業務。最近IEEE提出了802.1x標準,這是一種基於連接埠的標準,用於對無線網路的接入認證,在認證時也採用RADIUS協議。

1.系統內容centos6

2.軟體freeradius-2.1.10-5.el6.i686,mysql-5.1.61-1.el6_2.1.i686 php-5.3.3-3.el6_2.8.i686,freeradius-dialupadmin-2.1.1-2.fc10.i386,httpd-2.2.15-15.el6.centos.1.i686

3.安裝軟體

[root@localhost ~]# yum -y httpd mysql mysql-devel mysql-server php freeradius freeradius-mysql httpd-devel php-devel php-gd php-mbstring php-mysql php-xml freeradius-

dialupadmin perl-DateManip php-pgsql php-ldap

4.設定開機啟動

[root@localhost ~]# chkconfig httpd on

[root@localhost ~]# chkconfig mysqld on

[root@localhost ~]# chkconfig radius on

[root@localhost ~]# chkconfig radiusd on

5.配置radiusd.conf檔案如下:

[root@localhost ~]# cd /etc/raddb/ //這個主要是設定檔所在地

[root@localhost raddb]# ls

acct_users                 clients.conf.1  policy.conf      sql//資料庫檔案.sql檔案所在目錄這個需要匯入資料庫。

attrs                      dictionary      policy.txt       sql.conf//sql設定檔

attrs.access_challenge     eap.conf        preproxy_users   sql.conf.1

attrs.access_reject        example.pl      proxy.conf       sqlippool.conf

attrs.accounting_response  hints           radiusd.conf//主設定檔     templates.conf

attrs.pre-proxy            huntgroups      radiusd.conf.1   users

certs                      ldap.attrmap    sites-available  users.1

clients.conf//用戶端設定檔              modules         sites-enabled

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.