How to Install and Verify FreeRADIUS on Ubuntu Server that you cannot missed

Опубликовано: 16 Декабрь 2023
на канале: Francis Techworld
5,369
65

In this video, I will show you how to install the FreeRADIUS server on Ubuntu Linux, and how to verify that it is working properly. FreeRADIUS is a powerful and flexible authentication server that can be used for various network services, such as VPN, wireless, and SSH. You will learn how to configure the FreeRADIUS server, add clients, and test the authentication process. This video is a detailed step-by-step guide that covers everything you need to know to set up and use FreeRADIUS on Ubuntu. Hashtags: #FreeRADIUS #Ubuntu #linux

sudo apt update
sudo apt upgrade -y

sudo apt install php apache2 freeradius libapache2-mod-php mariadb-server freeradius-mysql freeradius-utils php-{gd,common,mail,mail-mime,mysql,pear,db,mbstring,xml,curl} -y

sudo systemctl enable --now apache2 && sudo systemctl enable freeradius

sudo mysql_secure_installation

Enter current password for root (enter for none): enter

Switch to unix_socket authentication n

Change the root password? n

Remove anonymous users? y

Disallow root login remotely? y

Remove test database and access to it? y

Reload privilege tables now? y

sudo mysql -u root -p

CREATE DATABASE radius;

GRANT ALL PRIVILEGES ON radius.* TO 'radius'@'localhost';

FLUSH PRIVILEGES;
quit;

sudo su -

exit

sudo ln -s /etc/freeradius/3.0/mods-available/sql /etc/freeradius/3.0/mods-enabled/


sudo nano /etc/freeradius/3.0/mods-enabled/sql


dialect = "sqlite" needs to be dialect = "mysql"

read_clients = yes needs to be uncommented (No # in front of that line)
client_table = “nas” needs to be uncommented (No # in front of that line)


sudo chgrp -h freerad /etc/freeradius/3.0/mods-available/sql
sudo chown -R freerad:freerad /etc/freeradius/3.0/mods-enabled/sql
sudo systemctl restart freeradius


Смотрите видео How to Install and Verify FreeRADIUS on Ubuntu Server that you cannot missed онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Francis Techworld 16 Декабрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,369 раз и оно понравилось 65 людям.