Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Set up FreeRadius to realize remote login authentication (part I)

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Implementing Radius Authentication with Linux+FreeRadius+Mysql

Part I server-side configuration

I. basic system preparation

1. Install the Redhat-Linux operating system, system version number 5.5

2. Install all three components of Mysql, as shown in the following figure:

3. Install all 9 components of FreeRadius2, as shown in the following figure:

4. Install all 15 components of pear, as shown below:

5. Install http components, as shown in the following figure

6. Install php-mysql components

2. Configure Mysql

1. Enter the Mysql database:

Mysql-u root-p

Enter enter

2. Authorization of mysql library:

Mysql > use mysql

/ / enter the mysql library

Mysql > GRANT ALL PRIVILEGES ON *. * TO root@localhost IDENTIFIED BY''WITH GRANTOPTION

/ / Master database database root user authorizes local login

Mysql > GRANT ALL PRIVILEGES ON *. * TO 'root'@'%'IDENTIFIED BY' 'WITH GRANT OPTION

/ / the root user of the master database authorizes remote login

Mysql > flush privileges

3. Create a database named "Radius"

Mysql-u root-p

CREATE DATABASE radius

/ / create a database named radius

GRANT ALL ON radius.* TO @ localhostIDENTIFIED BY ""

/ / radius database user authorizes local login

GRANT ALL ON radius.* TO @ "%" IDENTIFIED BY ""

/ / radius database user authorizes remote login

4. Import and establish the table structure:

Mysql-u root-p radius

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report