diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2019-02-24 21:05:27 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2019-02-24 21:05:27 +0100 |
commit | 8081a5520a441b43a8a7a73f3a90c7aacfaa8e10 (patch) | |
tree | c7f49bd33ed19d53afc0ee9df8b2c82c200c5910 /kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html | |
parent | 9963b74f777edf985540eac71b1ca095f88b8bca (diff) |
Move everything one level up
Diffstat (limited to 'kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html')
-rw-r--r-- | kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html b/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html deleted file mode 100644 index 612cce9..0000000 --- a/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html +++ /dev/null @@ -1,40 +0,0 @@ -<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>Naloga na hitro:</h2></strong><br>
- Postaviti je treba RADIUS strežnik in podatkovno bazo.<br>
- Za RADIUS strežnik uporabite FreeRADIUS, za podatkovno bazo pa MySQL.
-</p>
-<p><strong><h2>Navodila:</h2></strong><br>
- 1. Ustvarite dva navidezna računalnika z imenom SimpleArbiter in RadiusServer.<br>
- Za SimpleArbiter uporabite simpleArbiterDhcp, za RadiusServer pa lahko uporabite poljubno virtualko.<br>
- ( virtualke dobiš na polz.si/media/uploads/kpov/virtualke)<br>
- 2. Z VirtualBoxom (ali ostalim programom za virtualne računalnike) ustvarite dva virtualna računalnika in jim kot disk za shranjevanje podajte simpleArbiterDhcp.vdi ter base-student-console-2014.vdi.<br>
- 3. Na obeh nastavite dva omrežna vmesnika (NAT in Internal) in jih zaženite.<br>
- 4. Na oba VM-a se prijavite z uporabnikom <strong>student</strong> in geslom <strong>vaje</strong> .</p>
-<p><h3><u><strong><em>Prvi del naloge: Postavi OpenRadius.</em></strong></u></h3>
- 1. Namesti FreeRadius na virtualki RadiusServer z ukazom "sudo apt-get install freeradius".<br>
- ( pomembni sta dve konfiguracijski datoteki /etc/openradius/configuration in /etc/openradius/behaviour<br>
- 2. Dodaj uporabnika in mu dodaj skupno skrivnost v /etc/openradius/configuration datoteko (več o dodajanju lahko izveš na: "http://sites.e-advies.nl/openradius/doc-using-openradius.html" <br>
- 3. Nato se z to skrivnostjo povežete iz SimpleArbiter na RadiusServer</strong><br>
-
- Namestimo freeradius z ukazom apt-get install freeradius-mysql
- V datoteku /etc/freeradius/client.conf spremenimo skrivnost (secret)
- Nato pa v datoteki /etc/freeradius/users dodamo uporabnika
-
-
-<u><strong><em><h3>Drugi del naloge: Namestitev in vzpostavitev baze MySQL na RadiusServer </h3></em></strong></u>
- 1. Pri OpenRadius-u imamo modul RadSQL, s katerim lahko vzpostavimo hranjenje uporabnikov v bazi<br>
- 2. Namestimo MySQL server z ukazom "sudo apt-get install mysql-server"<br/>
- 3. VNato se prijavimo v Mysql server z ukazom mysql -u root -p <br/>
- 4. Bazo ustvarimo z ukazom primer:
- CREATE DATABASE kwhbRgJY;
- GRANT ALL ON kwhbRgJY.* To MajaNovak80@localhost IDENTIFIED BY "y06gmo2Z";
-</body>
-
-</html>
|