리눅스 freeradius 서버 설치방법
오늘은 리눅스 free radius 서버 설치 방법에 대하여 알아보겠습니다.
구축환경은 centos 6.4 버전 입니다.
구축환경 : centos 6.4 (linux)
설치할 패키지 목록 :
1.freeradius
2.freeradius-mysql
3.freeradius-utils
서비스 시작과 종료
service mysqld start
service radiusd start
설치 경로는 다음과 같습니다.
etc/raddb
radius 설정파일은 아래와 같습니다.
clients.conf
radiusd.conf
users
free radius service 자동 재시작 명령어는 다음과 같습니다.
chkconfig mysqld on
chkconfig radiusd on
freeradius install 과정 입니다.
[root@localhost /]# yum install freeradius
Repository google-chrome is listed more than once in the configuration
Last metadata expiration check: 2:05:41 ago on Thu Apr 13 12:14:25 2017.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
freeradius x86_64 3.0.10-1.fc23 updates 1.0 M
libyubikey x86_64 1.13-1.fc23 updates 34 k
log4cxx x86_64 0.10.0-19.fc23 fedora 452 k
tncfhh x86_64 0.8.3-23.fc23 fedora 687 k
tncfhh-libs x86_64 0.8.3-23.fc23 fedora 171 k
tncfhh-utils x86_64 0.8.3-23.fc23 fedora 47 k
ykclient x86_64 2.15-1.fc23 updates 36 k
Transaction Summary
================================================================================
Install 7 Packages
Total download size: 2.4 M
Installed size: 7.1 M
Is this ok [y/N]: y
(1/7): freeradius-3. 0% [ ] --- B/s | (1/7): tncfhh-libs-0.8.3-23.fc23.x86_64.rpm 660 kB/s | 171 kB 00:00
(2/7): tncfhh-utils-0.8.3-23.fc23.x86_64.rpm 568 kB/s | 47 kB 00:00
(3/7): log4cxx-0.10.0-19.fc23.x86_64.rpm 870 kB/s | 452 kB 00:00
(4/7): libyubikey-1.13-1.fc23.x86_64.rpm 442 kB/s | 34 kB 00:00
(5/7): ykclient-2.15-1.fc23.x86_64.rpm 914 kB/s | 36 kB 00:00
(6/7): tncfhh-0.8.3-23.fc23.x86_64.rpm 3.0 MB/s | 687 kB 00:00
(7/7): freeradius-3.0.10-1.fc23.x86_64.rpm 1.4 MB/s | 1.0 MB 00:00
--------------------------------------------------------------------------------
Total 813 kB/s | 2.4 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : log4cxx-0.10.0-19.fc23.x86_64 1/7
Installing : tncfhh-utils-0.8.3-23.fc23.x86_64 2/7
Installing : tncfhh-0.8.3-23.fc23.x86_64 3/7
Installing : tncfhh-libs-0.8.3-23.fc23.x86_64 4/7
Installing : ykclient-2.15-1.fc23.x86_64 5/7
Installing : libyubikey-1.13-1.fc23.x86_64 6/7
Installing : freeradius-3.0.10-1.fc23.x86_64 7/7
Verifying : freeradius-3.0.10-1.fc23.x86_64 1/7
Verifying : tncfhh-libs-0.8.3-23.fc23.x86_64 2/7
Verifying : log4cxx-0.10.0-19.fc23.x86_64 3/7
Verifying : tncfhh-utils-0.8.3-23.fc23.x86_64 4/7
Verifying : tncfhh-0.8.3-23.fc23.x86_64 5/7
Verifying : libyubikey-1.13-1.fc23.x86_64 6/7
Verifying : ykclient-2.15-1.fc23.x86_64 7/7
Installed:
freeradius.x86_64 3.0.10-1.fc23 libyubikey.x86_64 1.13-1.fc23
log4cxx.x86_64 0.10.0-19.fc23 tncfhh.x86_64 0.8.3-23.fc23
tncfhh-libs.x86_64 0.8.3-23.fc23 tncfhh-utils.x86_64 0.8.3-23.fc23
ykclient.x86_64 2.15-1.fc23
Complete!
[root@localhost /]# clear
[root@localhost /]# yum install freeradius-mysql
Repository google-chrome is listed more than once in the configuration
Last metadata expiration check: 2:08:04 ago on Thu Apr 13 12:14:25 2017.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
freeradius-mysql x86_64 3.0.10-1.fc23 updates 88 k
mariadb-common x86_64 1:10.0.28-1.fc23 updates 74 k
mariadb-config x86_64 1:10.0.28-1.fc23 updates 25 k
mariadb-libs x86_64 1:10.0.28-1.fc23 updates 637 k
Transaction Summary
================================================================================
Install 4 Packages
Total download size: 823 k
Installed size: 3.8 M
Is this ok [y/N]: y
(1/4): freeradius-my 0% [ ] --- B/s | (1/4): mariadb-common-10.0.28-1.fc23.x86_64.rpm 809 kB/s | 74 kB 00:00
(2/4): freeradius-mysql-3.0.10-1.fc23.x86_64.rp 811 kB/s | 88 kB 00:00
(3/4): mariadb-config-10.0.28-1.fc23.x86_64.rpm 615 kB/s | 25 kB 00:00
(4/4): mariadb-libs-10.0.28-1.fc23.x86_64.rpm 2.1 MB/s | 637 kB 00:00
--------------------------------------------------------------------------------
Total 494 kB/s | 823 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : mariadb-config-1:10.0.28-1.fc23.x86_64 1/4
Installing : mariadb-common-1:10.0.28-1.fc23.x86_64 2/4
Installing : mariadb-libs-1:10.0.28-1.fc23.x86_64 3/4
Installing : freeradius-mysql-3.0.10-1.fc23.x86_64 4/4
Verifying : freeradius-mysql-3.0.10-1.fc23.x86_64 1/4
Verifying : mariadb-libs-1:10.0.28-1.fc23.x86_64 2/4
Verifying : mariadb-common-1:10.0.28-1.fc23.x86_64 3/4
Verifying : mariadb-config-1:10.0.28-1.fc23.x86_64 4/4
Installed:
freeradius-mysql.x86_64 3.0.10-1.fc23 mariadb-common.x86_64 1:10.0.28-1.fc23
mariadb-config.x86_64 1:10.0.28-1.fc23 mariadb-libs.x86_64 1:10.0.28-1.fc23
Complete!
[root@localhost /]# yum install freeradius-utils
Repository google-chrome is listed more than once in the configuration
Last metadata expiration check: 2:09:50 ago on Thu Apr 13 12:14:25 2017.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
freeradius-utils x86_64 3.0.10-1.fc23 updates 216 k
perl-DBI x86_64 1.633-6.fc23 fedora 727 k
Transaction Summary
================================================================================
Install 2 Packages
Total download size: 943 k
Installed size: 2.2 M
Is this ok [y/N]: y
(1/2): freeradius-ut 0% [ ] --- B/s | (1/2): freeradius-utils-3.0.10-1.fc23.x86_64.rp 979 kB/s | 216 kB 00:00
(2/2): perl-DBI-1.633-6.fc23.x86_64.rpm 2.1 MB/s | 727 kB 00:00
--------------------------------------------------------------------------------
Total 193 kB/s | 943 kB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : perl-DBI-1.633-6.fc23.x86_64 1/2
Installing : freeradius-utils-3.0.10-1.fc23.x86_64 2/2
Verifying : freeradius-utils-3.0.10-1.fc23.x86_64 1/2
Verifying : perl-DBI-1.633-6.fc23.x86_64 2/2
Installed:
freeradius-utils.x86_64 3.0.10-1.fc23 perl-DBI.x86_64 1.633-6.fc23
Complete!
[root@localhost /]#
[root@localhost /]#
[root@localhost /]# clear
다음포스팅에서 상세설정및 테스트방법에 대하서 작성 하겠습니다.
'IT' 카테고리의 다른 글
[리눅스]linux디스크추가하는방법_linux add disk (0) | 2017.12.06 |
---|---|
[리눅스]linux 파일 압축하는 방법! (0) | 2017.12.06 |
리눅스구글크롬브라우저설치방법! (0) | 2017.12.05 |
아이폰 배터리잔량 표시하는방법! (0) | 2017.12.05 |
아이폰 사진 컴퓨터로 저장하는 방법! (0) | 2017.12.05 |