How to install Dma radius manager in centos 6.9

 How to install Dma radius manager in centos 6.9




First Install Centos 6.9 


Download From this link 

http://mirror.nsc.liu.se/centos-store/6.9/isos/x86_64/CentOS-6.9-x86_64-minimal.iso


And connect using putty and Run command step bye step


like this 


# yum update 

if reppo not working 

# curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo

and tray again 

# yum update 

install text editor nano 

# yum -y install nano

stop and close firewall 

# service iptables stop

# service ip6tables stop

# chkconfig iptables off

# chkconfig ip6tables off



Disable Selinux 

#  nano /etc/selinux/config

Before 



After  


Now Starting Installtion for dma radius manager 


# yum install epel-release

# yum install mc wget crontabs vixie-cron make gcc libtool-ltdl curl mysql-server mysql-devel net-snmp net-snmp-utils php php-mysql php-mcrypt php-gd php-snmp php-process ntp sendmail sendmail-cf alpine mutt psmisc

# yum install glibc.i686 libgcc_s.so.1
# chkconfig --del iptables
# chkconfig --del ip6tables
# chkconfig --levels 345 httpd on 
# chkconfig --levels 345 sshd on
# chkconfig --levels 345 mysqld on
# chkconfig --levels 345 network on
# chkconfig --levels 345 ntpd on
# chkconfig --levels 345 radiusd on

# service mysqld restart
# service ntpd restart
# service httpd restart

Setup Mysql password and database 

# mysql_secure_installation


Create radius database 

# mysql -u root -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

LIKE THIS 



# cd /usr/local

# wget http://downloads3.ioncube.com/loader_downloads/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/html


Check PHP Version

# php -v



Edit php.ini Configure File & Add Ioncube File extension location

# nano  /etc/php.ini

Add This line in php.ini (if php version is 5.3.3 so use this line if version is 5.4 to change last line 5.3 to 5.4 )

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



 

Re-Start httpd Service

# service httpd restart

Now Check Ioncube Loader file in Web Interface

http://IP-Address/loader-wizard.php



# cd / 

# wget https://uniradius.in/work/freeradius-server-2.2.0-dma-patch-2.tar.gz

# tar -xvzf freeradius-server-2.2.0-dma-patch-2.tar.gz

# cd freeradius-server-2.2.0

# ./configure

# make

# make install 

# radiusd -X

Output 


ctrl+C

# wget https://uniradius.in/work/radiusmanager-4.1.6.tgz

# tar zxvf radiusmanager-4.1.6.tgz

# cd radiusmanager-4.1.6

# chmod 755 install.sh

# ./install.sh


# reboot

If all ok , you will see following window in your browser

dma-login-ok

* Default ID Password 
ID = admin
Password = 1111



Enjoy,

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

If you see error or blank page, use following Apache error/access logs for further trouble shoot. Most common causes are invalid license files / in-correct php ioncube files.

# tail -f /var/log/httpd/error_log
# tail -f /var/log/httpd/access_log

 

Dont Forget to Copy Your Lic File in Radiusmanager Folder 


For Any Problem Contact Call or Whatsapp  me +91 8690539090


Comments

  1. this line of code not working pls help : # chkconfig --levels 345 radiusd on

    ReplyDelete

Post a Comment

Popular posts from this blog

Microsoft Activation Scripts (MAS)

How to bring back classic context menu on Windows 11