0% found this document useful (0 votes)
125 views

Linux Radius

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
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views

Linux Radius

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
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

=================== 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 http://launchpadlibrarian.net/8821476/libltdl3_1.5.24-1ubuntu1_i386.deb

wget http://launchpadlibrarian.net/8821477/libltdl3-dev_1.5.24-1ubuntu1_i386.deb

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 http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

tar -xvf ioncube_loaders_lin_x86.tar.gz

cd ioncube

sudo cp loader-wizard.php /var/www


=================== Step - 4 =====================================
nano /etc/php5/cli/php.ini

> add this line

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so

ctrl + x > y > enter

nano /etc/php5/apache2/php.ini

> add this line

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so

>ctrl + x > y > enter

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


service apache2 restart
=================== Step - 6 =====================================
X.X.X.X/loader-wizard.php
=================== Step - 7=====================================
cd /usr/local

wget http://www.dmasoftlab.com/download/freeradius-server-2.2.0-dma-patch-2.tar.gz

tar -xvf freeradius-server-2.2.0-dma-patch-2.tar.gz

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/clients.conf
=================== 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 " radiusmanager-4.1.0.gz "


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

tar -xvf radiusmanager-4.1.6.gz

cd /root/temp/radiusmanager-4.1.6

chmod 775 install.sh

./install.sh
=================== 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/radiusmanager.cfg
chown root.root /etc/radiusmanager.cfg
chown www-data /var/www/radiusmanager/tmpimages

wget http://no.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-
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 00:00:5A:74:FD:29
address 192.168.x.x
netmask 255.255.255.0
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/admin.php
Username = admin
Password = 1111
=================== user Panel =====================================
X.X.X.X/radiusmanager/user.php
Default Username & Password
Username = user
Password = 1111

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

You might also like