From aa3f0208a725fe6bebe1061eec623db4a4e2d76b Mon Sep 17 00:00:00 2001 From: "ds8283@student.uni-lj.si" Date: Mon, 5 Jan 2015 20:02:10 +0000 Subject: Popravljene gramaticne napake v angleskem howto-ju.Prevedene instrukcije v test.py. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@149 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- .../tasks/radius_mysql_pam/howtos/en/index.html | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kpov_judge/tasks/radius_mysql_pam/howtos') diff --git a/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html index b774ceb..e4b913b 100644 --- a/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html +++ b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html @@ -6,28 +6,28 @@

Radius mysql:

-

Tasks quick how to:


- Set OpenRadius server and add users. Use MySql for database.

+

Quick how to:


+ Setup the OpenRadius server and add users. Use MySql as the database.

Instructions:

    -
  1. Create two virtual machines - SimpleArbiter (use disc simpleArbiterDhcp) and RadiusServer. Discs for virtual machines are located on polz.si/media/uploads/kpov/virtualke.
  2. -
  3. Use disks VPNCLient.vdi and SimpleArbiterVPN.vdi to create VMs.
  4. -
  5. On both VMs set two network adapters - NAT and Internal.
  6. -
  7. Login with username student and password student on both VMs.
  8. +
  9. Create two virtual machines - SimpleArbiter (use the simpleArbiterDhcp.vdi disk) and RadiusServer. Discs for virtual machines are located on polz.si/media/uploads/kpov/virtualke.
  10. +
  11. Create another two virtual machines using the disks VPNCLient.vdi and SimpleArbiterVPN.vdi.
  12. +
  13. Setup both VMs so that they use two network adapters - NAT and Internal network.
  14. +
  15. Login with the username student and password student on both VMs.
-

First: Set OpenRadius.

+

Part one: Setup OpenRadius.

    -
  1. Install OpenRadius on virtual machine RadiusServer (configuration: /etc/openradius/configuration and /etc/openradius/behaviour)
  2. -
  3. Add user and assign him shared secret. Shared secret should be written in /etc/openradius/configuration file. (More info: http://sites.e-advies.nl/openradius/doc-using-openradius.html )
  4. -
  5. Use shared secret to connect form SimpleArbiter to RadiusServer.
  6. +
  7. Install OpenRadius on the RadiusServer VM (configuration files are: /etc/openradius/configuration and /etc/openradius/behaviour)
  8. +
  9. Add a user and assign him a shared secret. This should be configured in the /etc/openradius/configuration file. (More info: http://sites.e-advies.nl/openradius/doc-using-openradius.html )
  10. +
  11. Create a connection from SimpleArbiter to RadiusServer using the secret you configured.
-

Second: Install and set MySQL database on RadiusServer

+

Part two: Install and setup a MySQL database on RadiusServer

    -
  1. Use OpenRadius modul RadSQL to store users in database.
  2. -
  3. Set MySQL server: sudo apt-get install mysql-server.
  4. -
  5. Connect to MySQL server: mysql -u root -p.
  6. -
  7. Create database: CREATE DATABASE . Create table users with columns username and password.
  8. +
  9. OpenRadius can use the module RadSQL to store users in database.
  10. +
  11. Setup a MySQL server: sudo apt-get install mysql-server.
  12. +
  13. Connect to the MySQL server: mysql -u root -p.
  14. +
  15. Create a database: CREATE DATABASE . Create a table users with columns username and password.
-- cgit v1.2.1