summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/radius_mysql_pam
diff options
context:
space:
mode:
authortj9557@student.uni-lj.si <tj9557@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-30 11:06:24 +0000
committertj9557@student.uni-lj.si <tj9557@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-30 11:06:24 +0000
commitb3e6782c5f8160f875dad6c4cc06c2b9b3d5e590 (patch)
tree310469ab2db94cf669d91da94c94781c37928083 /kpov_judge/tasks/radius_mysql_pam
parentb2e4263c4c95e5f7c091cf0b7ded2b2a92d5e759 (diff)
Translate the instructions and howto into English.
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@136 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/radius_mysql_pam')
-rw-r--r--kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html
new file mode 100644
index 0000000..b774ceb
--- /dev/null
+++ b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html
@@ -0,0 +1,34 @@
+<html>
+
+<head>
+<meta http-equiv=Content-Type content="text/html; charset=utf-8">
+</head>
+
+<body><font face="Georgia, Times New Roman, Times, serif">
+<strong><h1>Radius mysql:</h1></strong>
+<p><strong><h2>Tasks quick how to:</h2></strong><br>
+ Set OpenRadius server and add users. Use MySql for database.</p>
+<strong><h2>Instructions:</h2></strong>
+ <ol>
+ <li>Create two virtual machines - SimpleArbiter (use disc simpleArbiterDhcp) and RadiusServer. Discs for virtual machines are located on polz.si/media/uploads/kpov/virtualke.</li>
+ <li>Use disks VPNCLient.vdi and SimpleArbiterVPN.vdi to create VMs.</li>
+ <li>On both VMs set two network adapters - NAT and Internal.</li>
+ <li>Login with username <strong>student</strong> and password <strong>student</strong> on both VMs.</li>
+ </ol>
+
+<h3><u><strong><em>First: Set OpenRadius.</em></strong></u></h3>
+ <ol>
+ <li>Install OpenRadius on virtual machine RadiusServer (configuration: /etc/openradius/configuration and /etc/openradius/behaviour)</li>
+ <li>Add user and assign him shared secret. Shared secret should be written in /etc/openradius/configuration file. (More info: <a href = "http://sites.e-advies.nl/openradius/doc-using-openradius.html"> http://sites.e-advies.nl/openradius/doc-using-openradius.html </a>)</li>
+ <li>Use shared secret to connect form SimpleArbiter to RadiusServer.</strong></li>
+ </ol>
+<u><strong><em><h3>Second: Install and set MySQL database on RadiusServer</h3></em></strong></u>
+ <ol>
+ <li>Use OpenRadius modul RadSQL to store users in database.</li>
+ <li>Set MySQL server: sudo apt-get install mysql-server.</li>
+ <li>Connect to MySQL server: mysql -u root -p.</li>
+ <li>Create database: CREATE DATABASE <database-name>. Create table users with columns username and password.</li>
+ </ol>
+</body>
+
+</html>