summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/smb_nfs
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/smb_nfs')
-rw-r--r--kpov_judge/tasks/smb_nfs/howtos/si/index.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpov_judge/tasks/smb_nfs/howtos/si/index.html b/kpov_judge/tasks/smb_nfs/howtos/si/index.html
index f610c13..80d910d 100644
--- a/kpov_judge/tasks/smb_nfs/howtos/si/index.html
+++ b/kpov_judge/tasks/smb_nfs/howtos/si/index.html
@@ -8,18 +8,18 @@
</head>
<body class="container">
- <h1 id="kpov-judge-7-smb-nfs">KPOV Judge 7 (SMB NFS)</h1>
+ <h1>KPOV Judge 7 (SMB NFS)</h1>
<p>V tej vaji postavimo na linux-u strežnik za nudenje datotek prek mreže in strežnik za SMB, s katerim lahko na Windows sistemih postavimo datoteko v skupno rabo. Pazi da bo simpleArbiterDhcpGW imel NFS pravico pisanja po imeniku!</p>
- <h2 id="virtualni-računalniki">Virtualni računalniki</h2>
+ <h2>Virtualni računalniki</h2>
<ul>
<li>simpleArbiterDhcpGW</li>
<li>student-fileserver</li>
</ul>
- <h3 id="simplearbiterdhcpgw">simpleArbiterDhcpGW</h3>
+ <h3>simpleArbiterDhcpGW</h3>
<p>Naj ima 2 omrežna vmesnika, prvi naj bo preko NAT povezan na svetovni splet, drugi vmesnik pa naj vsebuje interno povezavo znotraj virtualnih sistemov na tvojem računalniku “<i>intnet</i>”.</p>
- <h3 id="student-fileserver">student-fileserver</h3>
+ <h3>student-fileserver</h3>
<p>Naj ima 1 omrežni vmesnik, povezan na interno omrežje “<i>intnet</i>”.</p>
- <h2 id="parametri">Parametri</h2>
+ <h2>Parametri</h2>
<div class="figure">
<img src="../images/parameters.png" alt="Parametri" />
<p class="caption">Parametri za reševanje naloge</p>
@@ -31,10 +31,10 @@
<li><strong>smb-share</strong> = aurora-85</li>
<li><strong>smb-server</strong> = melete-04</li>
</ul>
- <h2 id="postopek">Postopek</h2>
+ <h2>Postopek</h2>
<p>Ko zaženemo simpleArbiterDhcpGW in student-fileserver se najprej prijavimo v oba sistema. Nato pa na student-fileserver poženemo</p>
<div class="sourceCode"><pre class="sourceCode bash"><code class="sourceCode bash"><span class="ex">apt-get</span> update <span class="kw">&amp;&amp;</span> <span class="ex">apt-get</span> install nfs-kernel-server samba</code></pre></div>
- <h3 id="nastavitve-nfs">Nastavitve NFS</h3>
+ <h3>Nastavitve NFS</h3>
<p>V datoteki <code>/etc/exports</code> dodamo sledečo vrtstico: <code>/srv/nfs/[dir] [IP simpleArbiterDhcpGW](rw)</code>.</p> <p>Datoteko shranimo in znova poženemo NFS strežnik.</p>
<div class="sourceCode"><pre class="sourceCode bash"><span class="ex">service</span> nfs-kernel-server restart</pre></div>
<p>Ustvarimo imenik, ki smo ga malce prej navedli v nastavitvah NFS. In nato omogočimo vsem pisanje po tem imeniku.</p>
@@ -44,7 +44,7 @@
<span class="fu">chmod</span> oug+w /srv/nfs/[dir]
</pre>
</div>
- <h3 id="nastavitve-smb">Nastavitve SMB</h3>
+ <h3>Nastavitve SMB</h3>
<p>Vse nastavitvene datoteke SMB se nahajajo v imeniku: <code>/etc/samba</code>. Zanima pa nas datoteka <code>smb.conf</code>.</p>
<div class="sourceCode"><pre class="sourceCode bash"><span class="co"># Datoteka smb.conf</span>
[<span class="ex">global</span>]
@@ -62,7 +62,7 @@
<p>Ko popravimo to datoteko restartamo SMB in NetBios s spodnjima ukazoma.</p>
<div class="sourceCode"><pre class="sourceCode bash"><span class="ex">service</span> smbd restart
<span class="ex">service</span> nmbd restart</pre></div>
- <h2 id="testiranje">Testiranje</h2>
+ <h2>Testiranje</h2>
<p>Sedaj samo še testiranje :) Za to pa na <strong>simpleArbiterDhcpGW</strong> poženi testno skripto.</p>
<div class="sourceCode"><pre class="sourceCode bash"><span class="ex">./test_task.py</span></pre></div>