Radius Manager Manual Installation For Ubuntu (32 & 64 Bit)


Checking Linux Version
lsb_release  -a

Checking 32 Bit (or) 64 Bit Operating System
getconf LONG_BIT

Updating System Packages
sudo apt-get update

Installation of Packages & Dependencies
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 freeradius-mysql apache2 apache2.2-common php5-cli

Download & Install Liberary Files
32 Bit Files
wget http://www.dmasoftlab.com/cont/download/libltdl3_1.5.24-1ubuntu1_i386.deb
wget http://www.dmasoftlab.com/cont/download/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

64 Bit Files
wget http://dmasoftlab.com/cont/download/libltdl3_1.5.26-1ubuntu1_amd64.deb
wget http://dmasoftlab.com/cont/download/libltdl3-dev_1.5.26-1ubuntu1_amd64.deb
dpkg -i libltdl3_1.5.26-1ubuntu1_amd64.deb
dpkg -i libltdl3-dev_1.5.26-1ubuntu1_amd64.deb

Download & Install Ioncube
32 Bit Files
cd /usr/local
wget http://www.dmasoftlab.com/cont/download/ioncube_loaders_lin_x86.tar.gz
tar -xvf ioncube_loaders_lin_x86.tar.gz
cd /ioncube
sudo cp loader-wizard.php /var/www

64 Bit Files
cd /usr/local
wget http://www.dmasoftlab.com/cont/download/ioncube_loaders_lin_x86-64.tar.gz
tar -xvf ioncube_loaders_lin_x86-64.tar.gz
cd /ioncube
sudo cp loader-wizard.php /var/www

Check PHP Version
php -v

Edit php.ini Configure File & Add Ioncube File extension location
vim  /etc/php5/cli/php.ini
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so
vim /etc/php5/apache2/php.ini
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so

Re-Start Apache2 Service
service apache2 restart
/etc/init.d/apache2 restart

Now Check Ioncube Loader file in Web Interface
http://IP-Address/loader-wizard.php
Click on Local Install1

Loader Installed (PHP is Working)2

Download & Installation Free-Radius
wget http://dmasoftlab.com/cont/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

Configuring Freeradius
./configure
make
make install

Copy File -lfreeradius-radius-2.2.0 in MakeFile
cd  src/modules/rlm_eap
vim MakeFile

(LIBTOOL) –mode=link $(CC) $(LDFLAGS) $(RLM_LDFLAGS) -lfreeradius-radius-2.2.0 -o radeapclient radeapclient.lo $(CLIENTLIBS) $(LIBS) $(OPENSSL_LIBS)

freerad

Configure Free Radius after Copying File to MakeFile
make
make install

radiusd -Xradiusx

ldconfig

Testing Free Radius in Terminal
radiusd -X
13

Testing Free Radius in Terminal
radtest user 1111 localhost 1812 testing123
14

Setting Permissions
chown www-data /usr/local/etc/raddb
chown www-data /usr/local/etc/raddb/clients.conf

Creating Mysql Database
mysql -u root -p password
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;

Downloading & Installation Radius Manager 4
Radius Manager 4.0.4
wget http://talhaali.byethost13.com/files/rm_related/radiusmanager-4.0.4.tgz

Radius Manager 4.1.0
wget http://talhaali.byethost13.com/files/rm_related/radiusmanager-4.1.0.tgz

tar -xvf radiusmanager-4.0.4.tgz
tar -xvf radiusmanager-4.1.0.tgz
cd radiusmanager-4.0.4
cd radiusmanager-4.1.0

Setting Permissions
chmod 775 ./install
./install

Select Operating System 2 (Ubuntu & Debian)
1.png

Choose Option Type
2

Choose Option 1 (New Installation) & Choose Web Root /var/www (Root Path)
3

Press Enter
4

Press Enter
5.png

Press Enter
6.png

Press Enter
7

Press Enter
8

Press Enter
9

Press ‘y’ to Continue
10.png

Installation Process is Started
Should be –> Copying Web Content to /var/www/radiusmanager
11

Installation is Completed
12

Setting Permissions for Binaries
chmod 775 /usr/local/bin/rmauth
chmod 775 /usr/local/bin/rmacant
chmod 775 /usr/local/bin/rmpoller
chmod 775 /usr/local/bin/rmconntrack

Change Permissions & Owner for /etc/radiusmanager.cfg
chmod 600 /etc/radiusmanager.cfg
chown root.root /etc/radiusmanager.cfg

Change Permissions for tmpimages
chown www-data /var/www/radiusmanager/tmpimages

Copying Licence Files
Copy Lic.txt & Mod.txt Files to /var/www/radiusmanager

Re-Starting apache2 Service
service apache2 restart

Re-Starting Mysql Service
service mysql restart

Re-Starting Free Radius Service
service radiusd restart

Radius Manager Admin Login Page
http://IP-Address/radiusmanager/admin.php
Default Username & Password
Username – admin
Password  – 1111

rm-logo

Radius Manager User Login Page
http://IP-Address/radiusmanager/user.php
Default Username & Password
Username – user
Password – 1111

1

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s