http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&feed=atom&action=history
Instalace webového serveru - Historie editací
2024-03-29T05:51:07Z
Historie editací této stránky
MediaWiki 1.17.0
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4643&oldid=prev
Spravce: /* 7. phpMyAdmin */ Proč phpMyAdmin ze stránek výrobce?
2021-12-01T07:37:31Z
<p><span class="autocomment">7. phpMyAdmin: </span> Proč phpMyAdmin ze stránek výrobce?</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 1. 12. 2021, 07:37</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 211:</td>
<td colspan="2" class="diff-lineno">Řádka 211:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 7. phpMyAdmin ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 7. phpMyAdmin ===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Bohužel, v</del>&nbsp;Debianu <del class="diffchange diffchange-inline">10 není zahrnutý balíček s</del>&nbsp;<del class="diffchange diffchange-inline">phpMyAdminem</del>. <del class="diffchange diffchange-inline">Je </del>tedy třeba <del class="diffchange diffchange-inline">aplikaci stáhnout ručně </del>a&nbsp;<del class="diffchange diffchange-inline">nainstalovat</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">phpMyAdmin bychom mohli nainstalovat také jako balíček z</ins>&nbsp;<ins class="diffchange diffchange-inline">repozitářů </ins>Debianu<ins class="diffchange diffchange-inline">. Vyzkoušíme si ale instalaci přímo z</ins>&nbsp;<ins class="diffchange diffchange-inline">instalačního balíčku dodavatele</ins>. <ins class="diffchange diffchange-inline">Tím také získáme nejaktuálnější verzi.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><div class="Varovani"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Upozorňujeme, že při instalaci aplikace ručně musíme následně sami ověřit kompatibilitu aplikace se zbytkem systému a&nbsp;musíme také sami řešit aktualizace.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Pro běžnou práci tedy spíše doporučujeme použít instalaci z&nbsp;balíčku <code>phpmyadmin</code></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></div></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><div class="Poznamka"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Instalaci ze stránek dodavatele zařazujeme jako cvičení zejména proto, že:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* některé aplikace nejsou v&nbsp;repozitářích a&nbsp;je </ins>tedy třeba <ins class="diffchange diffchange-inline">je instalovat přímo od dodavatele. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* Někdy také opravdu potřebujete aktuální verzi </ins>a&nbsp;<ins class="diffchange diffchange-inline">nestačí vám starší verze z&nbsp;repozitářů vaší distribuce</ins>.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></div></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Stažení a&nbsp;rozbalení archivu</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Stažení a&nbsp;rozbalení archivu</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Zjistěte nejnovější verzi phpMyAdmina a&nbsp;stáhněte odpovídající soubor příkazem <code>wget</code>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* Zjistěte nejnovější verzi phpMyAdmina a&nbsp;stáhněte odpovídající soubor příkazem <code>wget</code> <ins class="diffchange diffchange-inline">(za <code>X.Y.Z</code> dosaďte aktuální verzi)</ins>:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  wget ''https''://files.phpmyadmin.net/phpMyAdmin/''<del class="diffchange diffchange-inline">4</del>.<del class="diffchange diffchange-inline">9</del>.<del class="diffchange diffchange-inline">2</del>''/phpMyAdmin-''<del class="diffchange diffchange-inline">4</del>.<del class="diffchange diffchange-inline">9</del>.<del class="diffchange diffchange-inline">2</del>''-all-languages.tar.gz</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  wget ''https''://files.phpmyadmin.net/phpMyAdmin/''<ins class="diffchange diffchange-inline">X</ins>.<ins class="diffchange diffchange-inline">Y</ins>.<ins class="diffchange diffchange-inline">Z</ins>''/phpMyAdmin-''<ins class="diffchange diffchange-inline">X</ins>.<ins class="diffchange diffchange-inline">Y</ins>.<ins class="diffchange diffchange-inline">Z</ins>''-all-languages.tar.gz</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Rozbalte archiv:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Rozbalte archiv:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  tar xzf phpMyAdmin-''<del class="diffchange diffchange-inline">4</del>.<del class="diffchange diffchange-inline">9</del>.<del class="diffchange diffchange-inline">2</del>''-all-languages.tar.gz</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  tar xzf phpMyAdmin-''<ins class="diffchange diffchange-inline">X</ins>.<ins class="diffchange diffchange-inline">Y</ins>.<ins class="diffchange diffchange-inline">Z</ins>''-all-languages.tar.gz</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><div class="Poznamka">Nezapomeňte upravit verzi v&nbsp;odkazu podle aktuální nejnovější verze.</div></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><div class="Poznamka">Nezapomeňte upravit verzi v&nbsp;odkazu podle aktuální nejnovější verze <ins class="diffchange diffchange-inline">&mdash; například <code>X.Y.Z &rarr; 4.9.2</code></ins>.</div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Výsledný rozbalený adresář přesuňte do adresáře <code>/usr/share/</code> a&nbsp;dejte mu název <code>phpmyadmin</code>. (Použijte příkaz pro přesun adresáře včetně podadresářů.)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Výsledný rozbalený adresář přesuňte do adresáře <code>/usr/share/</code> a&nbsp;dejte mu název <code>phpmyadmin</code>. (Použijte příkaz pro přesun adresáře včetně podadresářů.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Přidělte oprávnění k&nbsp;adresáři pro uživatele <code>www-data</code>, který se automaticky vytvořil.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Přidělte oprávnění k&nbsp;adresáři pro uživatele <code>www-data</code>, který se automaticky vytvořil.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 282:</td>
<td colspan="2" class="diff-lineno">Řádka 293:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Viz také:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Viz také:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [https://linuxhint.com/install_phpmyadmin_debian_10/ https://linuxhint.com/install_phpmyadmin_debian_10/]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [https://linuxhint.com/install_phpmyadmin_debian_10/ https://linuxhint.com/install_phpmyadmin_debian_10/]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Nastavení přístupu pro kopírování souborů ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Nastavení přístupu pro kopírování souborů ==</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4642&oldid=prev
Spravce: /* 5. Databáze */ mysql_secure_installation se musí spouštět jako správce.
2021-12-01T07:18:03Z
<p><span class="autocomment">5. Databáze: </span> mysql_secure_installation se musí spouštět jako správce.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 1. 12. 2021, 07:18</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 145:</td>
<td colspan="2" class="diff-lineno">Řádka 145:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  systemctl status mysql</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  systemctl status mysql</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Zabezpečte instalaci MariaDB/MySQL<del class="diffchange diffchange-inline">.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* Zabezpečte instalaci MariaDB/MySQL <ins class="diffchange diffchange-inline">(spusťte jako správce, jinak vám nepovolí přihlášení!):</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  mysql_secure_installation</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  mysql_secure_installation</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Pročtěte si doporučená nastavení a&nbsp;aplikujte je. Nastavte heslo pro uživatele <code>root</code>.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Pročtěte si doporučená nastavení a&nbsp;aplikujte je. Nastavte heslo pro uživatele <code>root</code>.</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4641&oldid=prev
Spravce: Opraveno na verzi Debian 11 - šablona na úvodu.
2021-12-01T06:20:34Z
<p>Opraveno na verzi Debian 11 - šablona na úvodu.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 1. 12. 2021, 06:20</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 9:</td>
<td colspan="2" class="diff-lineno">Řádka 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Upozorneni">Tento návod je určen pro rychlou a jednoduchou instalaci webového serveru (LAMP) v rámci výuky na oboru Informační technologie na [http://www.oauh.cz/ Obchodní akademii Uherské Hradiště].</div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Upozorneni">Tento návod je určen pro rychlou a jednoduchou instalaci webového serveru (LAMP) v rámci výuky na oboru Informační technologie na [http://www.oauh.cz/ Obchodní akademii Uherské Hradiště].</div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{Debian<del class="diffchange diffchange-inline">-verze-10</del>}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{<ins class="diffchange diffchange-inline">Based on </ins>Debian <ins class="diffchange diffchange-inline">11</ins>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Zadání úlohy ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Zadání úlohy ==</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4639&oldid=prev
Spravce: /* PHP routování (mod_rewrite) */ Je volitelná součást.
2021-11-30T13:59:52Z
<p><span class="autocomment">PHP routování (mod_rewrite): </span> Je volitelná součást.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 30. 11. 2021, 13:59</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 329:</td>
<td colspan="2" class="diff-lineno">Řádka 329:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>=== PHP routování (mod_rewrite) ===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>=== <ins class="diffchange diffchange-inline">Volitelné: </ins>PHP routování (mod_rewrite) ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Pokud potřebujete na webu routování, je potřeba ho povolit.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Pokud potřebujete na webu routování, je potřeba ho povolit.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 343:</td>
<td colspan="2" class="diff-lineno">Řádka 343:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* za:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* za:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  AllowOverride All</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  AllowOverride All</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Další zdroje ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Další zdroje ==</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4638&oldid=prev
Spravce: Upřesnění, že a2ensite je příkaz ke spouštění v příkazovém řádku.
2021-11-30T13:56:33Z
<p>Upřesnění, že a2ensite je příkaz ke spouštění v příkazovém řádku.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 30. 11. 2021, 13:56</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 254:</td>
<td colspan="2" class="diff-lineno">Řádka 254:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  </VirtualHost></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  </VirtualHost></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">* </del>Povolte port 9000 pro Apache &<del class="diffchange diffchange-inline">mdash</del>; <del class="diffchange diffchange-inline">do </del>souboru: <code>/etc/apache2/ports.conf</code> najděte řádek:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">; </ins>Povolte port 9000 pro Apache<ins class="diffchange diffchange-inline">:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* v</ins>&<ins class="diffchange diffchange-inline">nbsp</ins>;souboru: <code>/etc/apache2/ports.conf</code> najděte řádek:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Listen 80</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Listen 80</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Přidejte </del>pod něj nový řádek:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">a&nbsp;přidejte </ins>pod něj nový řádek:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Listen 9000</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Listen 9000</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">* </del>Povolte virtuální website:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">; </ins>Povolte virtuální website<ins class="diffchange diffchange-inline">:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* V&nbsp;příkazovém řádku spusťte</ins>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  a2ensite phpmyadmin.conf</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  a2ensite phpmyadmin.conf</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4047&oldid=prev
Spravce: /* 5. Databáze */ Ke změně hesla dopsáno FLUSH PRIVILEGES; a quit
2020-12-02T18:16:12Z
<p><span class="autocomment">5. Databáze: </span> Ke změně hesla dopsáno FLUSH PRIVILEGES; a quit</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 2. 12. 2020, 18:16</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 153:</td>
<td colspan="2" class="diff-lineno">Řádka 153:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Poznamka"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Poznamka"></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Pokud <del class="diffchange diffchange-inline">později zjistíte, že </del>jste <del class="diffchange diffchange-inline">nenastavili při instalaci <code>MySQL</code> </del>heslo uživatele <code>root</code>, můžete ho nastavit jako správce počítače <del class="diffchange diffchange-inline">příkazem</del>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Pokud jste heslo uživatele <code>root</code> <ins class="diffchange diffchange-inline">nenastavili, nebo nastavili a&nbsp;zapomněli</ins>, můžete ho nastavit jako správce počítače <ins class="diffchange diffchange-inline">takto</ins>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> # S oprávněními správce se přihlašte do <code>mysql</code> jako ''root'':</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  mysql -u root</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  mysql -u root</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> # Změňte si heslo v databázi:</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  SET PASSWORD = PASSWORD('<em>nové heslo</em>');</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  SET PASSWORD = PASSWORD('<em>nové heslo</em>');</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> # Vyžádejte si nové načtení hesel z databáze:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> FLUSH PRIVILEGES;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> # Ukončete klienta <code>mysql</code></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> quit</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 188:</td>
<td colspan="2" class="diff-lineno">Řádka 197:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  SET PASSWORD FOR ''uzivatel'' = PASSWORD('<em>nové heslo</em>');</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  SET PASSWORD FOR ''uzivatel'' = PASSWORD('<em>nové heslo</em>');</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 6. PHP ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 6. PHP ===</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=4012&oldid=prev
Spravce: Zpřehlednění návodu a zvýraznění některých bodů (součásti pro instalaci), doplněn tasksel.
2020-11-25T22:32:31Z
<p>Zpřehlednění návodu a zvýraznění některých bodů (součásti pro instalaci), doplněn tasksel.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 25. 11. 2020, 22:32</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 35:</td>
<td colspan="2" class="diff-lineno">Řádka 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>== <del class="diffchange diffchange-inline">Postup </del>==</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>== <ins class="diffchange diffchange-inline">Instalace webového serveru </ins>==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 1. Vytvoření virtuálního stroje ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 1. Vytvoření virtuálního stroje ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 43:</td>
<td colspan="2" class="diff-lineno">Řádka 45:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Vložte do virtuální mechaniky obraz CD Debian pro síťovou instalaci:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Vložte do virtuální mechaniky obraz CD Debian pro síťovou instalaci:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** CD stáhněte ze stránek [http://www.debian.org/CD/http-ftp/#stable projektu Debian], nebo Vám je dodá vyučující.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** CD stáhněte ze stránek [http://www.debian.org/CD/http-ftp/#stable projektu Debian], nebo Vám je dodá vyučující.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** Stahujete-li CD, zvolte „stabilní verzi“ (v roce <del class="diffchange diffchange-inline">2013 </del>Debian <del class="diffchange diffchange-inline">Wheezy</del>).  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** Stahujete-li CD, zvolte „stabilní verzi“ (v roce <ins class="diffchange diffchange-inline">2020 </ins>Debian <ins class="diffchange diffchange-inline">10 Buster</ins>).  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Máte-li na hostitelském počítači s VirtualBox-em 32-bitový OS, musíte instalovat 32-bitovou verzi. Na 64-bitovém OS můžete použít obě verze.<br /> Používá se označení <tt>amd64</tt> pro 64-bitovou verzi (bez ohledu na značku procesoru) nebo <tt>i386</tt> pro 32-bitovou verzi.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Máte-li na hostitelském počítači s VirtualBox-em 32-bitový OS, musíte instalovat 32-bitovou verzi. Na 64-bitovém OS můžete použít obě verze.<br /> Používá se označení <tt>amd64</tt> pro 64-bitovou verzi (bez ohledu na značku procesoru) nebo <tt>i386</tt> pro 32-bitovou verzi.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 50:</td>
<td colspan="2" class="diff-lineno">Řádka 52:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Pokud pracujete ve VirtualBox-u</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Pokud pracujete ve VirtualBox-u</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[VirtualBox — základy ovládání|Základy ovládání VirtualBox-u...]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[VirtualBox — základy ovládání|Základy ovládání VirtualBox-u...]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 2. Instalace serveru ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 2. Instalace serveru ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Spusťte virtuální stroj.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Spusťte virtuální stroj.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Po spuštění instalátoru postupujte podle pokynů na obrazovce.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Po spuštění instalátoru postupujte podle pokynů na obrazovce.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Název počítače zadejte <code>vmdb-prijmeni</code>, doménu <code>vm-oauh.local</code>.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Název počítače zadejte <code>vmdb-prijmeni</code>, doménu <code>vm-oauh.local</code>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Poznamka"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Poznamka"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Doporučení: Nezadávejte heslo pro účet správce, tím se účet vůbec nevytvoří a budete moci používat <code>sudo</code>.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Doporučení: Nezadávejte heslo pro účet správce, tím se účet vůbec nevytvoří a budete moci používat <code>sudo</code>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Při rozdělování disku stačí použít standardní nastavení.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Při rozdělování disku stačí použít standardní nastavení.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Při instalaci zvolte úlohy (</del>''POZOR<del class="diffchange diffchange-inline">, volte </del>mezerníkem'' &mdash; Enter potvrzuje celou nabídku!<del class="diffchange diffchange-inline">)</del>: <del class="diffchange diffchange-inline"><br /></del>webový server, SSH server, základní systémové nástroje<del class="diffchange diffchange-inline">!</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><div class="Varovani">Neinstalujte grafické rozhraní<del class="diffchange diffchange-inline">. </del>Jeho instalace zabere spoustu času a je vám k ničemu.</div></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">Na obrazovce ''Výběr programů</ins>'' POZOR<ins class="diffchange diffchange-inline">!!!</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* Volby vybíráte ''</ins>mezerníkem'' &mdash; Enter potvrzuje celou nabídku!</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* Zvolte úlohy</ins>:</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*# </ins>webový server,  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*# </ins>SSH server,  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*# </ins>základní systémové nástroje<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* Naopak '''zrušte zaškrtnutí''' u:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*# Debian Desktop Environment (to by instalovalo grafické uživatelské rozhraní)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><div class="Varovani">Neinstalujte grafické rozhraní<ins class="diffchange diffchange-inline">! </ins>Jeho instalace zabere spoustu času a<ins class="diffchange diffchange-inline">&nbsp;</ins>je vám k<ins class="diffchange diffchange-inline">&nbsp;</ins>ničemu. <ins class="diffchange diffchange-inline">Pokud jste ho omylem zvolili, restartujte virtuální stroj a&nbsp;začněte od začátku. Vyjde to i&nbsp;tak časově lépe!</ins></div></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><div class="Poznamka">Pokud už máte nainstalovaný Linux, můžete úlohy doinstalovat pomocí programu <code>tasksel</code>.</div></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Zavaděč GRUB umístěte do MBR.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Zavaděč GRUB umístěte do MBR.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 78:</td>
<td colspan="2" class="diff-lineno">Řádka 93:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> aptitude update</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> aptitude update</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Ověření funkčnosti ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Ověření funkčnosti ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 3. Připojení k serveru přes SSH ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 3. Připojení k serveru přes SSH ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 92:</td>
<td colspan="2" class="diff-lineno">Řádka 110:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Doplňující zdroje: [[Správa síťového rozhraní počítače]], [[Vzdálené připojení k počítači]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Doplňující zdroje: [[Správa síťového rozhraní počítače]], [[Vzdálené připojení k počítači]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 4. Vyzkoušejte funkčnost webového serveru ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 4. Vyzkoušejte funkčnost webového serveru ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 105:</td>
<td colspan="2" class="diff-lineno">Řádka 124:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Priklad">Doplňující otázka: Fungují české znaky??? Jak opravit kódování češtiny, pokud by to bylo potřeba?</div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div class="Priklad">Doplňující otázka: Fungují české znaky??? Jak opravit kódování češtiny, pokud by to bylo potřeba?</div></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Dokončení úlohy ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Dokončení úlohy ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* HTTP server je nainstalovaný. Statické HTML či stránky s&nbsp;JavaScriptem byste nyní už mohli spouštět.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Webové aplikace dnes ale vyžadují obvykle další součásti &mdash; PHP a&nbsp;databázi.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 5. Databáze ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 5. Databáze ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 144:</td>
<td colspan="2" class="diff-lineno">Řádka 168:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  CREATE USER 'spravce'@'localhost' IDENTIFIED BY '<em>heslo-spravce</em>';</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  CREATE USER 'spravce'@'localhost' IDENTIFIED BY '<em>heslo-spravce</em>';</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  GRANT ALL PRIVILEGES ON *.* TO 'spravce'@'localhost' WITH GRANT OPTION;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  GRANT ALL PRIVILEGES ON *.* TO 'spravce'@'localhost' WITH GRANT OPTION;</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><div class="Poznamka">Tímto jsme uživateli ''spravce'' povolili přístup do všech databází stejně jako u&nbsp;účtu ''root''. Na produkčních serverech bychom mohli chtít oprávnění omezit.</div></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Aktualizujte uživatelská oprávnění:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Aktualizujte uživatelská oprávnění:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  FLUSH PRIVILEGES;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  FLUSH PRIVILEGES;</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 163:</td>
<td colspan="2" class="diff-lineno">Řádka 188:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  SET PASSWORD FOR ''uzivatel'' = PASSWORD('<em>nové heslo</em>');</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  SET PASSWORD FOR ''uzivatel'' = PASSWORD('<em>nové heslo</em>');</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></div></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 6. PHP ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 6. PHP ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 174:</td>
<td colspan="2" class="diff-lineno">Řádka 200:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Doplňující materiály: [[Instalace software v GNU/Linuxu]]<!-- kvůli instalaci aplikací--></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Doplňující materiály: [[Instalace software v GNU/Linuxu]]<!-- kvůli instalaci aplikací--></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 7. phpMyAdmin ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 7. phpMyAdmin ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 245:</td>
<td colspan="2" class="diff-lineno">Řádka 272:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Viz také:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Viz také:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [https://linuxhint.com/install_phpmyadmin_debian_10/ https://linuxhint.com/install_phpmyadmin_debian_10/]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [https://linuxhint.com/install_phpmyadmin_debian_10/ https://linuxhint.com/install_phpmyadmin_debian_10/]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Nastavení přístupu pro kopírování souborů ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Nastavení přístupu pro kopírování souborů ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Webové stránky bychom mohli psát přímo na serveru. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Ale mnohem pohodlnější bude psát je na lokální počítači a&nbsp;na server je poté nahrát.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Potřebujeme si tedy vytvořit přístup na server pro kopírování souborů.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 8. Nastavte přístup do složky s webem ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 8. Nastavte přístup do složky s webem ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Nastavte vlastnictví složky <tt>/var/www/html</tt> svému uživateli tak, abyste do ní mohli kopírovat soubory.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Nastavte vlastnictví složky <tt>/var/www/html</tt> svému uživateli tak, abyste do ní mohli kopírovat soubory.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  chown -R ''vaseuzivatelkejmeno'' /var/www/html</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  chown -R ''vaseuzivatelkejmeno'' /var/www/html</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 9. Vyzkoušejte připojení přes WinSCP ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 9. Vyzkoušejte připojení přes WinSCP ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 256:</td>
<td colspan="2" class="diff-lineno">Řádka 291:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* V pravém okně najděte složku <tt>/var/www/html</tt>.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* V pravém okně najděte složku <tt>/var/www/html</tt>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Do složky by nyní měly jít kopírovat soubory, obrázky, webové stránky atd.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Do složky by nyní měly jít kopírovat soubory, obrázky, webové stránky atd.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 261:</td>
<td colspan="2" class="diff-lineno">Řádka 298:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Virtuální stroj vypnete příkazem: (viz [[Základy CLI]])</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Virtuální stroj vypnete příkazem: (viz [[Základy CLI]])</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  systemctl poweroff</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  systemctl poweroff</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Další vhodná rozšíření ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Další vhodná rozšíření ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Rozšíření PHP ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Rozšíření PHP ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 277:</td>
<td colspan="2" class="diff-lineno">Řádka 317:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Lze instalovat více rozšíření naráz, například:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Lze instalovat více rozšíření naráz, například:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  apt install php-{mbstring,zip,gd,xml,pear,gettext,cgi}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  apt install php-{mbstring,zip,gd,xml,pear,gettext,cgi}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== PHP routování (mod_rewrite) ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== PHP routování (mod_rewrite) ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Pokud potřebujete na webu routování, je potřeba ho povolit.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Pokud potřebujete na webu routování, je potřeba ho povolit.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 291:</td>
<td colspan="2" class="diff-lineno">Řádka 333:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* za:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* za:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  AllowOverride All</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  AllowOverride All</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 299:</td>
<td colspan="2" class="diff-lineno">Řádka 342:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [https://kifarunix.com/install-lamp-stack-with-mariadb-10-on-debian-10-buster/ KifarUnix.com &rarr; Install LAMP stack with MariaDB 10 on Debian 10 Buster]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [https://kifarunix.com/install-lamp-stack-with-mariadb-10-on-debian-10-buster/ KifarUnix.com &rarr; Install LAMP stack with MariaDB 10 on Debian 10 Buster]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">=</del>== Navazující návody <del class="diffchange diffchange-inline">=</del>==</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>== Navazující návody ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Vzdálený přístup k databázi]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Vzdálený přístup k databázi]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Sdílení souborů pomocí Samby]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Sdílení souborů pomocí Samby]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Instalace RS Joomla]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Instalace RS Joomla]]</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=3565&oldid=prev
Spravce: Doplněny zdroje.
2019-11-30T17:17:22Z
<p>Doplněny zdroje.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 30. 11. 2019, 17:17</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 294:</td>
<td colspan="2" class="diff-lineno">Řádka 294:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Další zdroje ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Další zdroje ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [https://wiki.debian.org/<del class="diffchange diffchange-inline">LaMp </del>Wiki Debian.org &rarr; LAMP]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [https://wiki.debian.org/<ins class="diffchange diffchange-inline">LaMP </ins>Wiki Debian.org &rarr; LAMP<ins class="diffchange diffchange-inline">]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* [https://linuxhint.com/install_phpmyadmin_debian_10/ LinuxHint &rarr; Install phpMyAdmin on Debian 10]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* [https://kifarunix.com/install-phpmyadmin-on-debian-10-buster/ KifarUnix.com &rarr; Install phpMyAdmin on Debian 10 Buster]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* [https://kifarunix.com/install-lamp-stack-with-mariadb-10-on-debian-10-buster/ KifarUnix.com &rarr; Install LAMP stack with MariaDB 10 on Debian 10 Buster</ins>]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Navazující návody ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Navazující návody ===</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=3564&oldid=prev
Spravce: /* 7. phpMyAdmin */ Přidáno vytvoření virtuální site.
2019-11-29T00:25:46Z
<p><span class="autocomment">7. phpMyAdmin: </span> Přidáno vytvoření virtuální site.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 29. 11. 2019, 00:25</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 201:</td>
<td colspan="2" class="diff-lineno">Řádka 201:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Include /etc/phpmyadmin/apache.conf</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Include /etc/phpmyadmin/apache.conf</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">; Vytvořte konfigurační soubor pro phpMyAdmin v&nbsp;Apache</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Vytvořte konfigurační soubor</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> /etc/apache2/sites-available/phpmyadmin.conf</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Zapište do konfiguračního souboru obsah</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> <VirtualHost *:9000></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> ServerAdmin spravce@localhost</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> DocumentRoot /usr/share/phpmyadmin</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> <Directory /usr/share/phpmyadmin></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> Options Indexes FollowSymLinks</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> AllowOverride none</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> Require all granted</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </Directory></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> ErrorLog ${APACHE_LOG_DIR}/error_phpmyadmin.log</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> CustomLog ${APACHE_LOG_DIR}/access_phpmyadmin.log combined</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </VirtualHost></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Povolte port 9000 pro Apache &mdash; do souboru: <code>/etc/apache2/ports.conf</code> najděte řádek:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> Listen 80</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Přidejte pod něj nový řádek:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> Listen 9000</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Povolte virtuální website:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> a2ensite phpmyadmin.conf</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">; Restartujte službu Apache</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Restartujte webový server (Apache)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Restartujte webový server (Apache)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  systemctl restart apache2</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  systemctl restart apache2</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 214:</td>
<td colspan="2" class="diff-lineno">Řádka 241:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Vyzkoušejte phpMyAdmin</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Vyzkoušejte phpMyAdmin</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Do prohlížeče na Vašem počítači zadejte:  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Do prohlížeče na Vašem počítači zadejte:  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>     http://<em>IP-adresa-serveru</em><del class="diffchange diffchange-inline">/phpmyadmin</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>     http://<em>IP-adresa-serveru</em><ins class="diffchange diffchange-inline">:9000</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Přihlašujete se jako uživatel ''spravce'' s heslem, které jste si nastavili do databáze MySQL.<br />Další uživatelské účty si můžete vytvořit.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Přihlašujete se jako uživatel ''spravce'' s heslem, které jste si nastavili do databáze MySQL.<br />Další uživatelské účty si můžete vytvořit.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Viz také:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Viz také:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [https://<del class="diffchange diffchange-inline">help.ubuntu</del>.com/<del class="diffchange diffchange-inline">community</del>/<del class="diffchange diffchange-inline">phpMyAdmin Ubuntu</del>.com<del class="diffchange diffchange-inline">&rarr; phpmyadmin</del>]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [https://<ins class="diffchange diffchange-inline">linuxhint</ins>.com/<ins class="diffchange diffchange-inline">install_phpmyadmin_debian_10</ins>/ <ins class="diffchange diffchange-inline">https://linuxhint</ins>.com<ins class="diffchange diffchange-inline">/install_phpmyadmin_debian_10/</ins>]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Nastavení přístupu pro kopírování souborů ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Nastavení přístupu pro kopírování souborů ==</div></td></tr>
</table>
Spravce
http://mis.e-mis.cz/index.php?title=Instalace_webov%C3%A9ho_serveru&diff=3563&oldid=prev
Spravce: /* 7. phpMyAdmin */ Doplněno vytvoření účtu pro phpmyadmin.
2019-11-28T23:56:18Z
<p><span class="autocomment">7. phpMyAdmin: </span> Doplněno vytvoření účtu pro phpmyadmin.</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Starší verze</td>
<td colspan='2' style="background-color: white; color:black;">Verze z 28. 11. 2019, 23:56</td>
</tr><tr><td colspan="2" class="diff-lineno">Řádka 177:</td>
<td colspan="2" class="diff-lineno">Řádka 177:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 7. phpMyAdmin ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== 7. phpMyAdmin ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Bohužel, v&nbsp;Debianu 10 není zahrnutý balíček s&nbsp;phpMyAdminem. Je tedy třeba aplikaci stáhnout ručně a&nbsp;nainstalovat.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Bohužel, v&nbsp;Debianu 10 není zahrnutý balíček s&nbsp;phpMyAdminem. Je tedy třeba aplikaci stáhnout ručně a&nbsp;nainstalovat.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">; Stažení a&nbsp;rozbalení archivu</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Zjistěte nejnovější verzi phpMyAdmina a&nbsp;stáhněte odpovídající soubor příkazem <code>wget</code>:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Zjistěte nejnovější verzi phpMyAdmina a&nbsp;stáhněte odpovídající soubor příkazem <code>wget</code>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  wget ''https''://files.phpmyadmin.net/phpMyAdmin/''4.9.2''/phpMyAdmin-''4.9.2''-all-languages.tar.gz</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  wget ''https''://files.phpmyadmin.net/phpMyAdmin/''4.9.2''/phpMyAdmin-''4.9.2''-all-languages.tar.gz</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 185:</td>
<td colspan="2" class="diff-lineno">Řádka 187:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Přidělte oprávnění k&nbsp;adresáři pro uživatele <code>www-data</code>, který se automaticky vytvořil.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Přidělte oprávnění k&nbsp;adresáři pro uživatele <code>www-data</code>, který se automaticky vytvořil.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  sudo chown -R www-data:www-data /usr/share/phpmyadmin</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  sudo chown -R www-data:www-data /usr/share/phpmyadmin</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Jako přednastavený server použijte Apache</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Databázi nastavte pomocí </del><<del class="diffchange diffchange-inline">tt>dbconfig</del>-<del class="diffchange diffchange-inline">common</tt</del>><del class="diffchange diffchange-inline">.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">; Vytvoření databázového uživatele, pod kterým bude phpMyAdmin pracovat</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">* Balík se vás poté ptá (jednou) na administrátorské </del>heslo <del class="diffchange diffchange-inline">do databáze, aby si mohl upravit nastavení databáze a vytvořit databázi. (Administrátorské heslo do databáze jste nastavovali v předchozím kroku při instalaci <tt>MySQL</del></<del class="diffchange diffchange-inline">tt</del>><del class="diffchange diffchange-inline">.)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">Vytváření uživatele v&nbsp;databázi už jsme jednou prováděli</ins>. <ins class="diffchange diffchange-inline">Budeme postupovat stejně:</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Následně nastavujete </del>''<del class="diffchange diffchange-inline">aplikační </del>heslo <del class="diffchange diffchange-inline">pro phpMyAdmin</del>''<del class="diffchange diffchange-inline">, tedy heslo, které kterým se k databázi bude identifikovat <tt>phpMyAdmin</del></<del class="diffchange diffchange-inline">tt</del>>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> mysql -u spravce -p</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> CREATE DATABASE phpmyadmin DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> GRANT ALL ON phpmyadmin.</ins>* <ins class="diffchange diffchange-inline">TO 'phpmyadmin'@'localhost' IDENTIFIED BY '</ins><<ins class="diffchange diffchange-inline">span style="font</ins>-<ins class="diffchange diffchange-inline">style:italic"</ins>>heslo</<ins class="diffchange diffchange-inline">span</ins>><ins class="diffchange diffchange-inline">';</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> FLUSH PRIVILEGES;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> EXIT;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">phpMyAdmin pak bude pracovat pod uživatelským účtem phpmyadmin s&nbsp;heslem </ins>''heslo''<ins class="diffchange diffchange-inline">.</ins><<ins class="diffchange diffchange-inline">br </ins>/><ins class="diffchange diffchange-inline">(Nastavte dlouhé bezpečné heslo</ins>. <ins class="diffchange diffchange-inline">Vy pod tímto účtem pracovat nebudete, heslo si tedy nepotřebujete pamatovat do budoucna.)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Nastavte Apache:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Nastavte Apache:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Řádka 195:</td>
<td colspan="2" class="diff-lineno">Řádka 202:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Restartujte webový server (Apache)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Restartujte webový server (Apache)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  systemctl restart apache2<del class="diffchange diffchange-inline">.service</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  systemctl restart apache2</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td></tr>
</table>
Spravce