=================== Step - 3 > Config Mysql =====================================
#Make sure to setup mysql root password
mysql_secure_installation
"Follow Steps" 1#-Enter current password for root (enter for none): ENTER 2#-Set root password? [Y/n] y ENTER 3#-New password:xxxxxx Type Strong Password than press ENTER 4#-Re-enter new password:xxxxxx Re-Type Password ENTER 5#-Remove anonymous users? [Y/n] y ENTER 6#-Disallow root login remotely? [Y/n] n ENTER 7#-Remove test database and access to it? [Y/n] y ENTER 8#-Reload privilege tables now? [Y/n] y ENTER
=================== STEP - 6 Create Database in Mysql=====================================
mysql -u root -p "YOURMYSQLPASS" "Copy and paste all commands" 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
# - Download the file with attachments, filename " radiusmanager-4.1.6.gz " # - Copy the file to the following address " root ... /temp " # - by a program WinSCP
tar zxvf radiusmanager-4.1.6.gz
cd radiusmanager-4.1.6
chmod 755 install.sh
#####Now start the Radius Install Script.
./install.sh
#-1 Select the type of your operating system: 1. Redhat (CentOS, Fedora Core) 2. Debian (Ubuntu, Debian) Sellect = 1 Choose an option: [1]1 Press Enter
#-2 Select installation type: 1. New installation 2. Upgrade New installation Select 1 Choose an option: [1]1 Press Enter #-3
#-1 WWW root path: [/var/www/html] Press Enter #-2 RADIUS database host: [localhost] Press Enter #-3 RADIUS database username: [radius] Press Enter #-4 RADIUS database password: [radius123] Press Enter #-5 CTS database host: [localhost] Press Enter #-6 CTS database username: [conntrack] Press Enter #-7 CTS database password: [conn123] Press Enter #-8 Freeradius UNIX user: [root] Press Enter #-9 HTTPD UNIX user: [apache] Press Enter #-10 Create rmpoller service: [y] y Press Enter #-11 Create rmconntrack service: [y] y Press Enter #-12 Back up RADIUS database: [y] y Press Enter #-13 Are You sure to begin the installation? [n] y Press Enter
-------------------------------------
systemctl restart httpd.service
systemctl restart mariadb.service
systemctl restart radiusd
Copy Radius from var/www/html paste in var/www/ reboot
include /etc/nginx/mime.types; default_type application/octet-stream;
# Load modular configuration files from the /etc/nginx/conf.d directory. # See http://nginx.org/en/docs/ngx_core_module.html#include # for more information. include /etc/nginx/conf.d/*.conf;
server { listen 80; listen [::]:80; server_name _; root /var/www/radiusmanager;
# Load configuration files for the default server block. include /etc/nginx/default.d/*.conf;