0% found this document useful (0 votes)
303 views4 pages

Setup Guide for Linux Radius Server

This document outlines 17 steps to install and configure a Radius server on an Ubuntu system. It involves installing necessary packages, downloading and configuring Radius and RadiusManager software, setting up MySQL databases, editing configuration files, and restarting services. Finally, it provides login credentials for the RadiusManager admin and user panels.

Uploaded by

Kunal Naiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
303 views4 pages

Setup Guide for Linux Radius Server

This document outlines 17 steps to install and configure a Radius server on an Ubuntu system. It involves installing necessary packages, downloading and configuring Radius and RadiusManager software, setting up MySQL databases, editing configuration files, and restarting services. Finally, it provides login credentials for the RadiusManager admin and user panels.

Uploaded by

Kunal Naiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

=================== Step - 1 =====================================

sudo rm /var/lib/apt/lists/* -vf


sudo apt-get clean
sudo apt-get autoremove
------------------
sudo apt-get update
---------------------------------------
apt-get install mc wget rcconf make gcc mysql-server mysql-client libmysqlclient15-
dev libperl-dev curl php5 php5-mysql php5-cli php5-curl php5-mcrypt php5-gd php5-
snmp apache2 apache2.2-common php5-cli
=================== Step - 2 =====================================
wget [Link]

wget [Link]

dpkg -i libltdl3_1.5.24-1ubuntu1_i386.deb

dpkg -i libltdl3-dev_1.5.24-1ubuntu1_i386.deb
=================== Step - 3 =====================================
cd /usr/local

wget [Link]

tar -xvf ioncube_loaders_lin_x86.[Link]

cd ioncube

sudo cp [Link] /var/www


=================== Step - 4 =====================================
nano /etc/php5/cli/[Link]

> add this line

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.[Link]

ctrl + x > y > enter

nano /etc/php5/apache2/[Link]

> add this line

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.[Link]

>ctrl + x > y > enter

=================== Step - 5 =====================================


service apache2 restart
=================== Step - 6 =====================================
X.X.X.X/[Link]
=================== Step - 7=====================================
cd /usr/local

wget [Link]

tar -xvf [Link]

cd freeradius-server-2.2.0
./configure

make

make install
=================== Step - 8 =====================================
ldconfig

cd

radiusd -X

>ctrl + c
================== Step - 9 =====================================
chown www-data /usr/local/etc/raddb
chown www-data /usr/local/etc/raddb/[Link]
=================== Step - 10 =====================================
mysql -p

CREATE DATABASE radius;


CREATE DATABASE conntrack;
CREATE USER 'radius'@'localhost' IDENTIFIED BY 'radius123';
CREATE USER 'conntrack'@'localhost' IDENTIFIED BY 'conn123';
GRANT ALL ON radius.* TO radius@localhost;
GRANT ALL ON conntrack.* TO conntrack@localhost;

exit
=================== Step - 11 =====================================
cd
mkdir temp
cd temp

1 - Download the file with attachments, filename " [Link] "


2 - Copy the file to the following address " root ... /temp "
by a program WinSCP

tar -xvf [Link]

cd /root/temp/radiusmanager-4.1.6

chmod 775 [Link]

./[Link]
=================== Step - 12 =====================================
Select Operating System 2 (Ubuntu & Debian)
Select 2

Choose Option Type


Select 2
Choose Option 1 (New Installation) & Choose Web Root /var/www (Root Path)
3
Press Enter
4
Press Enter
5
Press Enter
6
Press Enter
7
Press Enter
8
Press Enter
9
=================== Step - 13 =====================================
Press ‘y’ to Continue
10
=================== Step - 14 =====================================
chmod 775 /usr/local/bin/rmauth
chmod 775 /usr/local/bin/rmpoller
chmod 775 /usr/local/bin/rmconntrack
=================== Step - 15 =====================================
chmod 600 /etc/[Link]
chown [Link] /etc/[Link]
chown www-data /var/www/radiusmanager/tmpimages

wget [Link]
28ubuntu1_i386.deb

dpkg -i libstdc++5_3.3.6-28ubuntu1_i386.deb

=================== Step - 16 =====================================


service apache2 restart

service mysql restart

service radiusd restart

=================== Step - 17 =====================================

nano /etc/network/interfaces

> edit your interface section

# The primary network interface


auto ethx
iface ethx inet static
hwaddress ether [Link]
address 192.168.x.x
netmask [Link]
network 192.168.x.x
gateway 192.168.x.x

>ctrl + x > y > enter

/etc/init.d/networking restart
------------------------------------------------
reboot

----------------------------------Admin Panel--------------------------------------
X.X.X.X/radiusmanager/[Link]
Username = admin
Password = 1111
=================== user Panel =====================================
X.X.X.X/radiusmanager/[Link]
Default Username & Password
Username = user
Password = 1111

--------------------------------------------------------------------------

You might also like