Advertisement
Guest User

Untitled

a guest
Jun 28th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. =================== Step - 1 =====================================
  2. sudo rm /var/lib/apt/lists/* -vf
  3. sudo apt-get clean
  4. sudo apt-get autoremove
  5. ------------------
  6. sudo apt-get update
  7. ---------------------------------------
  8. 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
  9. =================== Step - 2 =====================================
  10. wget http://launchpadlibrarian.net/8821476/libltdl3_1.5.24-1ubuntu1_i386.deb
  11.  
  12. wget http://launchpadlibrarian.net/8821477/libltdl3-dev_1.5.24-1ubuntu1_i386.deb
  13.  
  14. dpkg -i libltdl3_1.5.24-1ubuntu1_i386.deb
  15.  
  16. dpkg -i libltdl3-dev_1.5.24-1ubuntu1_i386.deb
  17. =================== Step - 3 =====================================
  18. cd /usr/local
  19.  
  20. wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
  21.  
  22. tar -xvf ioncube_loaders_lin_x86.tar.gz
  23.  
  24. cd ioncube
  25.  
  26. sudo cp loader-wizard.php /var/www
  27. =================== Step - 4 =====================================
  28. nano /etc/php5/cli/php.ini
  29.  
  30. > add this line
  31.  
  32. zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so
  33.  
  34. ctrl + x > y > enter
  35.  
  36.  
  37. nano /etc/php5/apache2/php.ini
  38.  
  39. > add this line
  40.  
  41. zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so
  42.  
  43. >ctrl + x > y > enter
  44.  
  45.  
  46. =================== Step - 5 =====================================
  47. service apache2 restart
  48. =================== Step - 6 =====================================
  49. X.X.X.X/loader-wizard.php
  50. =================== Step - 7=====================================
  51. cd /usr/local
  52.  
  53. wget http://www.dmasoftlab.com/download/freeradius-server-2.2.0-dma-patch-2.tar.gz
  54.  
  55. tar -xvf freeradius-server-2.2.0-dma-patch-2.tar.gz
  56.  
  57. cd freeradius-server-2.2.0
  58.  
  59. ./configure
  60.  
  61. make
  62.  
  63. make install
  64. =================== Step - 8 =====================================
  65. ldconfig
  66.  
  67. cd
  68.  
  69. radiusd -X
  70.  
  71. >ctrl + c
  72. ================== Step - 9 =====================================
  73. chown www-data /usr/local/etc/raddb
  74. chown www-data /usr/local/etc/raddb/clients.conf
  75. =================== Step - 10 =====================================
  76. mysql -p
  77.  
  78. CREATE DATABASE radius;
  79. CREATE DATABASE conntrack;
  80. CREATE USER 'radius'@'localhost' IDENTIFIED BY 'radius123';
  81. CREATE USER 'conntrack'@'localhost' IDENTIFIED BY 'conn123';
  82. GRANT ALL ON radius.* TO radius@localhost;
  83. GRANT ALL ON conntrack.* TO conntrack@localhost;
  84.  
  85. exit
  86. =================== Step - 11 =====================================
  87. cd
  88. mkdir temp
  89. cd temp
  90.  
  91.  
  92. 1 - Download the file with attachments, filename " radiusmanager-4.1.0.gz "
  93. 2 - Copy the file to the following address " root ... /temp "
  94. by a program WinSCP
  95.  
  96.  
  97. tar -xvf radiusmanager-4.1.6.gz
  98.  
  99. cd /root/temp/radiusmanager-4.1.6
  100.  
  101. chmod 775 install.sh
  102.  
  103. ./install.sh
  104. =================== Step - 12 =====================================
  105. Select Operating System 2 (Ubuntu & Debian)
  106. Select 2
  107.  
  108. Choose Option Type
  109. Select 2
  110. Choose Option 1 (New Installation) & Choose Web Root /var/www (Root Path)
  111. 3
  112. Press Enter
  113. 4
  114. Press Enter
  115. 5
  116. Press Enter
  117. 6
  118. Press Enter
  119. 7
  120. Press Enter
  121. 8
  122. Press Enter
  123. 9
  124. =================== Step - 13 =====================================
  125. Press ‘y’ to Continue
  126. 10
  127. =================== Step - 14 =====================================
  128. chmod 775 /usr/local/bin/rmauth
  129. chmod 775 /usr/local/bin/rmpoller
  130. chmod 775 /usr/local/bin/rmconntrack
  131. =================== Step - 15 =====================================
  132. chmod 600 /etc/radiusmanager.cfg
  133. chown root.root /etc/radiusmanager.cfg
  134. chown www-data /var/www/radiusmanager/tmpimages
  135.  
  136.  
  137. wget http://no.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-28ubuntu1_i386.deb
  138.  
  139. dpkg -i libstdc++5_3.3.6-28ubuntu1_i386.deb
  140.  
  141. =================== Step - 16 =====================================
  142. service apache2 restart
  143.  
  144. service mysql restart
  145.  
  146. service radiusd restart
  147.  
  148. =================== Step - 17 =====================================
  149.  
  150. nano /etc/network/interfaces
  151.  
  152. > edit your interface section
  153.  
  154. # The primary network interface
  155. auto ethx
  156. iface ethx inet static
  157. hwaddress ether 00:00:5A:74:FD:29
  158. address 192.168.x.x
  159. netmask 255.255.255.0
  160. network 192.168.x.x
  161. gateway 192.168.x.x
  162.  
  163. >ctrl + x > y > enter
  164.  
  165. /etc/init.d/networking restart
  166. ------------------------------------------------
  167. reboot
  168.  
  169.  
  170. ----------------------------------Admin Panel--------------------------------------
  171. X.X.X.X/radiusmanager/admin.php
  172. Username = admin
  173. Password = 1111
  174. =================== user Panel =====================================
  175. X.X.X.X/radiusmanager/user.php
  176. Default Username & Password
  177. Username = user
  178. Password = 1111
  179.  
  180. --------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement