{"id":9769,"date":"2025-08-21T04:45:50","date_gmt":"2025-08-21T02:45:50","guid":{"rendered":"https:\/\/milchyn.cz\/?page_id=9769"},"modified":"2025-09-25T20:02:25","modified_gmt":"2025-09-25T20:02:25","slug":"i-internet","status":"publish","type":"page","link":"https:\/\/milchyn.cz\/i-internet","title":{"rendered":"\u2139\ufe0f Internet"},"content":{"rendered":"<h5><\/h5>\n<h3><a id=\"dostupnost_webu\"><\/a><a href=\"#\" class=\"mch-gototop\" onclick=\"window.scrollTo({top: 0, behavior: 'smooth'}); return false;\">\u21a9\ufe0f\ufe0f<\/a> Dostupnost webu<\/h3>\n<a id=\"kdy\u017e_web_nefunguje_nebo_ukazuje_n\u011bco_jin\u00e9ho\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-10\">Kdy\u017e web nefunguje nebo ukazuje n\u011bco jin\u00e9ho \ud83c\udd98<\/div><div id=\"mch-acr-content-10\" class=\"mch-acr-content\" hidden><\/p>\n<h5>P\u0159\u00edpad<\/h5>\n<p>Prohl\u00ed\u017ee\u010d po zad\u00e1n\u00ed odkazu na dom\u00e9nu zobraz\u00ed str\u00e1nku \u00fapln\u011b jinou nebo jako nedostupnou.<\/p>\n<h5>P\u0159\u00ed\u010diny<\/h5>\n<ul>\n<li>chybn\u00e9 z\u00e1znamy \u201eA\u201c a \u201eAAAA\u201c IP adres v DNS<\/li>\n<li>zm\u011bny v DNS z\u00e1znamech se je\u0161t\u011b nepropsaly do DNS server\u016f<\/li>\n<li>z\u00e1vada na n\u011bkter\u00e9m ze server\u016f v dotazovan\u00e9m \u0159et\u011bzci<\/li>\n<\/ul>\n<h5>Z\u00edsk\u00e1n\u00ed odpov\u011bdi z DNS<\/h5>\n<p>P\u0159\u00edkazem dig se zobraz\u00ed odpov\u011b\u010f DNS serveru pro danou dom\u00e9nu dle zvolen\u00e9ho typu z\u00e1znamu:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Typ DNS z\u00e1znamu<\/strong><\/td>\n<td><strong>Popis<\/strong><\/td>\n<\/tr>\n<tr>\n<td>A <i>(default)<\/i><\/td>\n<td>\ud83d\udc49 IPv4 adresa serveru<\/td>\n<\/tr>\n<tr>\n<td>AAAA<\/td>\n<td>\ud83d\udc49 IPv6 adresa serveru<\/td>\n<\/tr>\n<tr>\n<td>MX<\/td>\n<td>\ud83d\udc49 po\u0161tovn\u00ed server (e-mail)<\/td>\n<\/tr>\n<tr>\n<td>NS<\/td>\n<td>\ud83d\udc49 autoritativn\u00ed nameservery dom\u00e9ny<\/td>\n<\/tr>\n<tr>\n<td>TXT<\/td>\n<td>\ud83d\udc49 textov\u00e9 \u0159et\u011bzce <em>(SPF, DKIM, verifika\u010dn\u00ed kl\u00ed\u010de\u2026)<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Zobrazen\u00ed IPv4 adres:<\/p>\n<p>\ud83d\udcbb <code>dig nazev.domeny.cz<\/code><\/p>\n<p>\ud83d\udcbb <code>dig A nazev.domeny.cz<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>Zpbrazen\u00ed IPv6 adres:<\/p>\n<p>\ud83d\udcbb <code>dig AAAA nazev.domeny.cz<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>Zobrazen\u00ed IPv4 a IPv6 adres od konkr\u00e9tn\u00edho IPv4 DNS serveru:<\/p>\n<p>\ud83d\udca1DNS IPv4: 1.0.0.1 ; 1.1.1.1 ; 8.8.4.4 ; 8.8.8.8 ; &#8230;<\/p>\n<p>\ud83d\udcbb <code>dig @1.1.1.1 nazev.domeny.cz<\/code><\/p>\n<p>\ud83d\udcbb <code>dig @1.1.1.1 AAAA nazev.domeny.cz<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>Zobrazen\u00ed IPv4 a IPv6 adres od konkr\u00e9tn\u00edho IPv6 DNS serveru:<\/p>\n<p>\ud83d\udca1DNS IPv6: 2606:4700:4700::1001 ; 2606:4700:4700::1111 ; 2001:4860:4860::8844 ; 2001:4860:4860::8888 ; &#8230;<\/p>\n<p>\u261d\ufe0fMus\u00ed b\u00fdt na po\u010d\u00edta\u010di povolen\u00fd a pr\u016fchodn\u00fd IPv6 protokol.<\/p>\n<p>\ud83d\udcbb <code>dig @2606:4700:4700::1111 nazev.domeny.cz<\/code><\/p>\n<p>\ud83d\udcbb <code>dig @2606:4700:4700::1111 AAAA nazev.domeny.cz<\/code><\/p>\n<h5>Test spojen\u00ed s webem nap\u0159\u00edmo, bez pou\u017eit\u00ed DNS serveru<\/h5>\n<p>Pou\u017eije se nap\u0159\u00edmo <samp>&#8211;resolve<\/samp> s hostname, portem a IP webu a t\u00edm se vyhne neaktu\u00e1ln\u00edm z\u00e1znam\u016fm v DNS cache <i>(na po\u010d\u00edta\u010di, u poskytovatele i v prohl\u00ed\u017ee\u010di)<\/i>.<\/p>\n<p>\ud83d\udcbb <code>curl -Iv --resolve nazev.domeny.cz:443:123.123.123.123 https:\/\/nazev.domeny.cz<\/code><\/p>\n<p>Kl\u00ed\u010dov\u00fd v\u00fdstup:<br \/>\n<pre>&lt;i&gt;\u2026\n* &lt;mark&gt;Connected&lt;\/mark&gt; to nazev.domeny.cz (123.123.123.123) port 443\n\u2026\n* SSL certificate verify &lt;mark&gt;ok&lt;\/mark&gt;.\n\u2026\n&amp;lt; HTTP\/2 &lt;mark&gt;200&lt;\/mark&gt; \u2026 nebo &amp;lt; HTTP\/2 &lt;mark&gt;302&lt;\/mark&gt; \u2026&lt;\/i&gt;<\/pre><br \/>\n\u261d\ufe0fPokud nen\u00ed HTTP\/2 s k\u00f3dem 200 nebo 302, zam\u011b\u0159it se na webserver, jeho Hostname, IP, Port a existenci str\u00e1nky.<\/p>\n<p>\u261d\ufe0fPokud nen\u00ed SSL certificate verify ok, zam\u011b\u0159it se na shodu hostname v url odkazu s hostname uveden\u00fdm v certifik\u00e1tu.<\/p>\n<p>\u261d\ufe0fPokud IP webu neodpov\u00ed, p\u0159\u00edkaz vis\u00ed <i>(ukon\u010d\u00ed se p\u0159es \u201eCtrl c\u201c)<\/i> , je pot\u0159eba se zam\u011b\u0159it na shodu IP adresy a hostname webu.<\/p>\n<p>\u2705 Pokud je test nap\u0159\u00edmo celkov\u011b ok, ale internet prohl\u00ed\u017ee\u010d nezobrazuje po\u017eadovan\u00fd web, probl\u00e9m je v n\u011bjak\u00e9 DNS cache:<\/p>\n<ul>\n<li>v prohl\u00ed\u017ee\u010di<\/li>\n<li>v opera\u010dn\u00edm syt\u00e9mu<\/li>\n<li>v mobilu<\/li>\n<li>na routeru<\/li>\n<li>v hotspotu<\/li>\n<li>u poskytovatele internetu<\/li>\n<li>u mobiln\u00edho oper\u00e1tora<\/li>\n<\/ul>\n<h5>Test spojen\u00ed s webem p\u0159es aktu\u00e1ln\u011b pou\u017eit\u00fd DNS server<\/h5>\n<p>\ud83d\udcbb <code>curl -Iv https:\/\/nazev.domeny.cz<\/code><\/p>\n<p>Kl\u00ed\u010dov\u00fd v\u00fdstup:<br \/>\n<pre>&lt;i&gt;\u2026\n* &lt;mark&gt;Connected&lt;\/mark&gt; to nazev.domeny.cz (123.123.123.123) port 443\n\u2026\n* SSL certificate verify &lt;mark&gt;ok&lt;\/mark&gt;.\n\u2026\n&amp;lt; HTTP\/2 &lt;mark&gt;200&lt;\/mark&gt; \u2026 nebo &amp;lt; HTTP\/2 &lt;mark&gt;302&lt;\/mark&gt; \u2026&lt;\/i&gt;<\/pre><br \/>\n\u2705 Pokud je test p\u0159es aktu\u00e1ln\u00ed DNS ok, ale internet prohl\u00ed\u017ee\u010d nezobrazuje po\u017eadovan\u00fd web, probl\u00e9m je v DNS cache prohl\u00ed\u017ee\u010de.<\/p>\n<p>\u261d\ufe0fPokud nen\u00ed HTTP\/2 s k\u00f3dem 200 nebo 302, zam\u011b\u0159it se na webserver, jeho Hostname, IP, Port a existenci str\u00e1nky.<\/p>\n<p>\u261d\ufe0fPokud nen\u00ed SSL certificate verify ok, zam\u011b\u0159it se na shodu hostname v url odkazu s hostname uveden\u00fdm v certifik\u00e1tu.<\/p>\n<p>\u261d\ufe0fPokud IP webu neodpov\u00ed, p\u0159\u00edkaz vis\u00ed <i>(ukon\u010d\u00ed se p\u0159es \u201eCtrl c\u201c)<\/i> , je pot\u0159eba se zam\u011b\u0159it na aktu\u00e1ln\u011b pou\u017eit\u00fd DNS server.<\/p>\n<h5>Zji\u0161t\u011bn\u00ed aktu\u00e1ln\u011b pou\u017eit\u00e9ho DNS serveru<\/h5>\n<p>\ud83d\udcbb <code>resolvectl status<\/code><\/p>\n<p>Kl\u00ed\u010dov\u00fd v\u00fdstup <i>(p\u0159\u00edklad s IP DNS serveru 1.1.1.1 a 8.8.8.8)<\/i>:<br \/>\n<pre>&lt;i&gt;\u2026\nCurrent DNS Server: 1.1.1.1\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DNS Servers: 8.8.8.8 1.1.1.1\n\u2026&lt;\/i&gt;<\/pre><\/p>\n<h5>Zji\u0161t\u011bn\u00ed stavu a vymaz\u00e1n\u00ed lokan\u00ed DNS cache<\/h5>\n<p>Zji\u0161t\u011bn\u00ed stavu DNS cache:<\/p>\n<p>\ud83d\udcbb <code>sudo resolvectl statistics<\/code><\/p>\n<p>Kl\u00ed\u010dov\u00fd v\u00fdstup <i>(p\u0159\u00edklad s 5 z\u00e1znamy)<\/i>:<br \/>\n<pre>&lt;i&gt;\u2026\nCurrent Cache Size: 5\n\u2026&lt;\/i&gt;<\/pre><br \/>\nVymazan\u00ed DNS cache:<\/p>\n<p>\ud83d\udcbb <code>sudo resolvectl flush-caches<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>Kontrola stavu DNS cache:<\/p>\n<p>\ud83d\udcbb <code>sudo resolvectl statistics<\/code><\/p>\n<p>Zobrazen\u00e1 hodnota m\u00e1 b\u00fdt 0:<br \/>\n<pre>&lt;i&gt;\u2026\nCurrent Cache Size: &lt;mark&gt;0&lt;\/mark&gt;\n\u2026&lt;\/i&gt;<\/pre><br \/>\n<\/div><\/div>\n<a id=\"certifik\u00e1t_let_s_encrypt_pro_nginx_web_bez_automatick\u00e9_obnovy\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-11\">Certifik\u00e1t \u201eLet\u2019s Encrypt\u201c pro \u201enginx\u201c web bez automatick\u00e9 obnovy<\/div><div id=\"mch-acr-content-11\" class=\"mch-acr-content\" hidden><\/p>\n<h5>P\u0159\u00edpad<\/h5>\n<p>Vygenerov\u00e1n\u00ed certifik\u00e1tu pro implementaci bez jeho automatick\u00e9ho obnovov\u00e1n\u00ed. P\u0159ed jeho expirac\u00ed <i>(standardn\u011b na 90 dn\u00ed)<\/i> je pot\u0159eba vygenerovat nov\u00fd.<\/p>\n<h5>Vygenerov\u00e1n\u00ed certifik\u00e1tu <i>(1. \u010d\u00e1st)<\/i><\/h5>\n<p>&nbsp;<\/p>\n<p>\ud83d\udcbb <code>sudo certbot certonly --manual --preferred-challenges=dns -d nazev.domeny.cz --config-dir ~\/certbot\/config --work-dir ~\/certbot\/work --logs-dir ~\/certbot\/logs<\/code><\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><samp>sudo certbot<\/samp><\/td>\n<td>\ud83d\udc49 program Certbot, kter\u00fd vystav\u00ed certifik\u00e1t p\u0159es s Let\u2019s Encrypt<\/td>\n<\/tr>\n<tr>\n<td><samp>certonly<\/samp><\/td>\n<td>\ud83d\udc49 pouze certifik\u00e1t, bez automatick\u00e9ho nastavov\u00e1n\u00ed webserveru<\/td>\n<\/tr>\n<tr>\n<td><samp>&#8211;manual<\/samp><\/td>\n<td>\ud83d\udc49 \u201eEntrem\u201c akceptace ov\u011b\u0159en\u00ed odkazem\u00a0<i>(nap\u0159. po vlo\u017een\u00ed TXT z\u00e1znamu)<\/i><\/td>\n<\/tr>\n<tr>\n<td><samp>&#8211;preferred-challenges=dns<\/samp><\/td>\n<td>\ud83d\udc49 typ ov\u011b\u0159en\u00ed dom\u00e9ny DNS-01 challenge <i>(p\u0159es TXT z\u00e1znam v DNS)<\/i><\/td>\n<\/tr>\n<tr>\n<td><samp>-d nazev.domeny.cz<\/samp><\/td>\n<td>\ud83d\udc49 dom\u00e9na, pro kterou se m\u00e1 certifik\u00e1t vystavit<\/td>\n<\/tr>\n<tr>\n<td><samp>&#8211;config-dir ~\/certbot\/config<\/samp><\/td>\n<td>\ud83d\udc49 kam ulo\u017eit konfiguraci a informace o certifik\u00e1tu<\/td>\n<\/tr>\n<tr>\n<td><samp>&#8211;work-dir ~\/certbot\/work<\/samp><\/td>\n<td>\ud83d\udc49 kam ulo\u017eit do\u010dasn\u00e9 pracovn\u00ed soubory<\/td>\n<\/tr>\n<tr>\n<td><samp>&#8211;logs-dir ~\/certbot\/logs<\/samp><\/td>\n<td>\ud83d\udc49 kam ulo\u017eit logy a p\u0159\u00edpadn\u00e9 chyby<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<br \/>\n<pre>&lt;i&gt;Saving debug log to \/home\/mi\/certbot\/logs\/letsencrypt.log\nRequesting a certificate for &lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nPlease deploy a DNS TXT record under the name:\n\n_acme-challenge.&lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;.\n\nwith the following value:\n\n&lt;strong&gt;&lt;mark&gt;zDja4kUw&lt;\/mark&gt;&lt;\/strong&gt;&lt;\/i&gt;...&lt;i&gt;\n\nBefore continuing, verify the TXT record has been deployed. Depending on the DNS\nprovider, this may take some time, from a few seconds to multiple minutes. You can\ncheck if it has finished deploying with aid of online tools, such as the Google\nAdmin Toolbox: &lt;strong&gt;&lt;mark&gt;https:\/\/toolbox.googleapps.com\/apps\/dig\/#TXT\/_acme-challenge.nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;.\nLook for one or more bolded line(s) below the line &#039;;ANSWER&#039;. It should show the\nvalue(s) you&#039;ve just added.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nPress Enter to Continue\n\n&lt;\/i&gt;<\/pre><br \/>\n\u26a0\ufe0f <strong>ned\u00e1vat \u201eEnter\u201c<\/strong>, zat\u00edm nepokra\u010dovat \u26a0\ufe0f<\/p>\n<h5>Definice certifik\u00e1tu do DNS z\u00e1znamu<\/h5>\n<p>Upravit nebo p\u0159idat DNS z\u00e1znam do dom\u00e9ny nazev.domeny.cz <i>(zkr\u00e1cen\u011b)<\/i>:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Jm\u00e9no<\/strong><\/td>\n<td><strong>Typ<\/strong><\/td>\n<td><strong>Hodnota<\/strong><\/td>\n<td><strong>TTL<\/strong><\/td>\n<\/tr>\n<tr>\n<td>_acme-challenge.<strong>nazev<\/strong><\/td>\n<td>TXT<\/td>\n<td><strong>zDja4kUw<\/strong>&#8230;<\/td>\n<td>3600<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u010cek\u00e1n\u00ed na props\u00e1n\u00ed DNS definice<\/h5>\n<p>Kontrola bu\u010f v internet prohl\u00ed\u017ee\u010di: <samp>https:\/\/toolbox.googleapps.com\/apps\/dig\/#TXT\/_acme-challenge.nazev.domeny.cz<\/samp><\/p>\n<p>dokud se neobjev\u00ed ve v\u00fdpisu \u201e<strong>zDja4kUw<\/strong>&#8230;\u201c<\/p>\n<p>nebo opakovan\u011b p\u0159\u00edkazem:<\/p>\n<p>\ud83d\udcbb <code>dig TXT _acme-challenge.nazev.domeny.cz @8.8.8.8<\/code><\/p>\n<p>dokud se neobjev\u00ed ve v\u00fdpisu \u201e<strong>zDja4kUw<\/strong>&#8230;\u201c<br \/>\n<pre>&lt;i&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu &amp;lt;&amp;lt;&amp;gt;&amp;gt; TXT _acme-challenge.&lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt; @8.8.8.8\n;; global options: +cmd\n;; Got answer:\n;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 27867\n;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 1232\n;; QUESTION SECTION:\n;_acme-challenge.&lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;.&nbsp;&nbsp;IN&nbsp;&nbsp;TXT\n\n;; ANSWER SECTION:\n_acme-challenge.&lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;. 3600 IN&nbsp;&nbsp;TXT&nbsp;&nbsp;&quot;&lt;strong&gt;&lt;mark&gt;zDja4kUw&lt;\/mark&gt;&lt;\/strong&gt;...&quot;\n\n;; Query time: 16 msec\n;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)\n;; WHEN: Sun Sep 07 20:23:02 CEST 2025\n;; MSG SIZE&nbsp;&nbsp;rcvd: 114\n&lt;\/i&gt;<\/pre><\/p>\n<h5>Zakon\u010den\u00ed generov\u00e1n\u00ed certifik\u00e1tu <i>(2. \u010d\u00e1st)<\/i><\/h5>\n<p>Po props\u00e1n\u00ed certifik\u00e1tu stisknout \u201eEnter\u201c pro dob\u011bhnut\u00ed generov\u00e1n\u00ed:<br \/>\n<pre>&lt;i&gt;...\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nPress Enter to Continue&lt;\/i&gt;<\/pre><br \/>\n\ud83d\udc49 \u201e<strong>Enter<\/strong>\u201c<br \/>\n<pre>&lt;i&gt;&lt;strong&gt;&lt;mark&gt;Successfully received certificate&lt;\/mark&gt;&lt;\/strong&gt;.\nCertificate is saved at: \/home\/mi\/certbot\/config\/live\/&lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;\/fullchain.pem\nKey is saved at:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/home\/mi\/certbot\/config\/live\/&lt;strong&gt;&lt;mark&gt;nazev.domeny.cz&lt;\/mark&gt;&lt;\/strong&gt;\/privkey.pem\nThis certificate expires on 2025-12-06.\nThese files will be updated when the certificate renews.\n\nNEXT STEPS:\n- This certificate will not be renewed automatically. Autorenewal of --manual certificates requires the use of an authentication hook script (--manual-auth-hook) but one was not provided. To renew this certificate, repeat this same certbot command before the certificate&#039;s expiry date.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG \/ Let&#039;s Encrypt:&nbsp;&nbsp; https:\/\/letsencrypt.org\/donate\n * Donating to EFF:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;\/i&gt;<\/pre><\/p>\n<h5>Definice na poskytovateli Webu<\/h5>\n<p>Na stran\u011b webu je pot\u0159eba nahr\u00e1t soubory vygenerovan\u00e9ho certifik\u00e1tu <samp>fullchain.pem<\/samp> a <samp>privkey.pem<\/samp> .<\/p>\n<p><\/div><\/div>\n<a id=\"certifik\u00e1t_let_s_encrypt_pro_nginx_web_s_automatickou_obnovou\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-12\">Certifik\u00e1t \u201eLet\u2019s Encrypt\u201c pro \u201enginx\u201c web s automatickou obnovou<\/div><div id=\"mch-acr-content-12\" class=\"mch-acr-content\" hidden><\/p>\n<h5>Instalace certoot pro nginx<\/h5>\n<p>\ud83d\udcbb <code>sudo apt install nginx certbot python3-certbot-nginx<\/code><\/p>\n<p>&nbsp;<\/p>\n<h5>Zobrazen\u00ed informac\u00ed o spravovan\u00fdch certifik\u00e1tech<\/h5>\n<p>\ud83d\udcbb <code>sudo certbot certificates<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>Rozpracovan\u00e9 \u2026\u270d\ufe0f<\/p>\n<p><\/div><\/div>\n<h3><a id=\"wordpress\"><\/a><a href=\"#\" class=\"mch-gototop\" onclick=\"window.scrollTo({top: 0, behavior: 'smooth'}); return false;\">\u21a9\ufe0f\ufe0f<\/a> WordPress<\/h3>\n<h5><ul class=\"mch-pagelist\"><li><a href=\"https:\/\/milchyn.cz\/\">MilChyn.cz<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/pocitac-s-linuxem\">Linux<\/a><ul><li><a href=\"https:\/\/milchyn.cz\/o-linuxu\">O Linuxu<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/o-multiseatu\">O MultiSeatu<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/o-diskovem-raidu\">O diskov\u00e9m RAIDu<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/pocitac-s-linuxem\/pocitac-s-xubuntu\">Po\u010d\u00edta\u010d s Xubuntu<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-text-a-grafika\">\u2139\ufe0f Text a Grafika<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-multimedia\">\u2139\ufe0f Multim\u00e9dia<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-internet\">\u2139\ufe0f Internet<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-desktop\">\u2139\ufe0f Desktop prost\u0159ed\u00ed<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-system\">\u2139\ufe0f Opera\u010dn\u00ed syst\u00e9m<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-zalohovani-obnova\">\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/i-navody-ostatni\">\u2139\ufe0f Ostatn\u00ed<\/a><\/li><\/ul><\/li><li><a href=\"https:\/\/milchyn.cz\/elektronika\">Elektronika<\/a><ul><li><a href=\"https:\/\/milchyn.cz\/esp8266\">ESP8266<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/pic\">PIC Mikrokontrol\u00e9r<\/a><\/li><li><a href=\"https:\/\/milchyn.cz\/el-schemata\">El. sch\u00e9mata<\/a><\/li><\/ul><\/li><li><a href=\"https:\/\/milchyn.cz\/o-mne\">O mn\u011b<\/a><\/li><\/ul><\/h5>\n<a id=\"chybn\u00e9_odkazov\u00e1n\u00ed_na_str\u00e1nky_ve_wordpress_po_zm\u011bn\u011b_dom\u00e9ny\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-13\">Chybn\u00e9 odkazov\u00e1n\u00ed na str\u00e1nky ve WordPress po zm\u011bn\u011b dom\u00e9ny \ud83c\udd98<\/div><div id=\"mch-acr-content-13\" class=\"mch-acr-content\" hidden><\/p>\n<h5>P\u0159\u00edpad<\/h5>\n<p>Po zm\u011bn\u011b dom\u00e9ny nebo subdom\u00e9ny st\u00e1le odkazy sm\u011b\u0159uj\u00ed na p\u016fvodn\u00ed dom\u00e9nu, kdy p\u0159ihl\u00e1\u0161en\u00ed nebo odkazy nefunguj\u00ed spr\u00e1vn\u011b.<\/p>\n<h5>\u0158e\u0161en\u00ed<\/h5>\n<p>Je pot\u0159eba zm\u011bnit ve WordPress datab\u00e1zi starou dom\u00e9nu na novou, p\u0159edev\u0161\u00edm v tabulce <samp>wp_options<\/samp>, je-li v z\u00e1znamech:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>option_name<\/strong><\/td>\n<td><strong>popis<\/strong><\/td>\n<\/tr>\n<tr>\n<td><samp>siteurl<\/samp><\/td>\n<td>URL instalace WordPressu (admin, skripty, login)<\/td>\n<\/tr>\n<tr>\n<td><samp>home<\/samp><\/td>\n<td>URL webu pro n\u00e1v\u0161t\u011bvn\u00edky<\/td>\n<\/tr>\n<tr>\n<td><samp>blogname<\/samp><\/td>\n<td>N\u00e1zev webu<\/td>\n<\/tr>\n<tr>\n<td><samp>blogdescription<\/samp><\/td>\n<td>Popis\/tagline webu<\/td>\n<\/tr>\n<tr>\n<td><samp>permalink_structure<\/samp><\/td>\n<td>Form\u00e1t URL pro p\u0159\u00edsp\u011bvky a str\u00e1nky<\/td>\n<\/tr>\n<tr>\n<td><samp>category_base<\/samp><\/td>\n<td>Z\u00e1klad URL pro kategorie<\/td>\n<\/tr>\n<tr>\n<td><samp>tag_base<\/samp><\/td>\n<td>Z\u00e1klad URL pro \u0161t\u00edtky<\/td>\n<\/tr>\n<tr>\n<td><samp>upload_path<\/samp><\/td>\n<td>Fyzick\u00e1 cesta k m\u00e9di\u00edm<\/td>\n<\/tr>\n<tr>\n<td><samp>upload_url_path<\/samp><\/td>\n<td>URL cesta k m\u00e9di\u00edm<\/td>\n<\/tr>\n<tr>\n<td><samp>page_on_front<\/samp><\/td>\n<td>ID str\u00e1nky pro hlavn\u00ed str\u00e1nku<\/td>\n<\/tr>\n<tr>\n<td><samp>page_for_posts<\/samp><\/td>\n<td>ID str\u00e1nky pro blogov\u00e9 p\u0159\u00edsp\u011bvky<\/td>\n<\/tr>\n<tr>\n<td><samp>widget_*<\/samp><\/td>\n<td>Nastaven\u00ed widget\u016f, \u010dasto obsahuje odkazy a texty<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Dal\u0161\u00ed tabulky k projit\u00ed s mo\u017en\u00fdm z\u00e1znamem star\u00e9 dom\u00e9ny:<\/p>\n<p><samp>wp_posts<\/samp> , <samp>wp_postmeta<\/samp> , <samp>wp_terms<\/samp> , <samp>wp_term_taxonomy<\/samp> , <samp>wp_term_relationships<\/samp> , <samp>wp_usermeta<\/samp> , <samp>wp_users<\/samp><\/p>\n<p><\/div><\/div>\n<a id=\"export_web_str\u00e1nek_a_import_do_jin\u00e9ho_webu_jin\u00e9_dom\u00e9ny\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-14\">Export web str\u00e1nek a Import do jin\u00e9ho webu, jin\u00e9 dom\u00e9ny<\/div><div id=\"mch-acr-content-14\" class=\"mch-acr-content\" hidden><\/p>\n<h5>P\u0159\u00edpad<\/h5>\n<p>Nakop\u00edrov\u00e1n\u00ed web str\u00e1nek do jin\u00e9ho webu v jin\u00e9 dom\u00e9n\u011b, oboj\u00ed ve WordPress a jeho n\u00e1strojem:<\/p>\n<h5>Export ze zdroje<\/h5>\n<p>Ve WordPress administraci <mark>zdrojov\u00e9ho<\/mark> webu:<\/p>\n<p>\u201eN\u00e1stroje\u201c \u2b95 \u201eExport\u201c \u2b95 \u201eKompletn\u00ed obsah\u201c \u2b95 \u201eSt\u00e1hnout soubor s exportem\u201c<\/p>\n<p>St\u00e1hne se soubor typu <samp>.xml<\/samp><\/p>\n<h5>P\u0159epsat obsah na novou dom\u00e9nu<\/h5>\n<p>V textov\u00e9m editoru vyhledat n\u00e1zvy p\u016fvodn\u00ed dom\u00e9ny, nahradit novou dom\u00e9nou a ulo\u017eit.<\/p>\n<p>\u261d\ufe0fV textov\u00e9m editoru zachovat k\u00f3dov\u00e1n\u00ed a od\u0159\u00e1dkov\u00e1n\u00ed jako m\u00e1 soubor exportu.<\/p>\n<h5>Odstran\u011bn\u00ed str\u00e1nek na c\u00edli<\/h5>\n<p>Ve WordPress administraci <mark>c\u00edlov\u00e9ho<\/mark> webu smazat str\u00e1nky i z ko\u0161e, jinak je Import nep\u0159ep\u00ed\u0161e:<\/p>\n<p>\u201eStr\u00e1nky\u201c \u2b95 <i>(za\u0161krtnut\u00edm p\u0159es hromadn\u00e9 akce)<\/i> \u201eOdstranit\u201c \u2b95 \u201ePou\u017e\u00edt\u201c \u2b95 \u201eKo\u0161\u201c \u2b95 \u201eVysypat Ko\u0161\u201c<\/p>\n<h5>Import str\u00e1nek na c\u00edli<\/h5>\n<p>Ve WordPress administraci <mark>c\u00edlov\u00e9ho<\/mark> webu:<\/p>\n<p>\u201eN\u00e1stroje\u201c \u2b95 \u201eImport\u201c \u2b95\u00a0 <i>(\u201e<span class=\"importer-title\">WordPress<\/span> n\u00e1stroj nen\u00ed-li \u2b95 Instalovat\u201c)<\/i> \u2b95\u00a0\u201eWordPress Spustit import\u201c \u2b95 \u201eBrowse&#8230;\u201c <i>(vybrat upraven\u00fd xml soubor exportu)<\/i> \u2b95 \u201eNahr\u00e1t soubor a importovat\u201c \u2b95 \u201e- Vybrat -\u201c <i>(p\u0159id\u011blit str\u00e1nk\u00e1m u\u017eivatele)<\/i> \u2b95 \u201eSt\u00e1hnout a importovat p\u0159\u00edlohy\u201c <i>(za\u0161krtnout)<\/i> \u2b95 \u201ePotvrdit\u201c <i>(spust\u00ed se import)<\/i><\/p>\n<p><\/div><\/div>\n<a id=\"importovan\u00e9_str\u00e1nky_na_webu_nov\u00e9_dom\u00e9ny_jsou_not_found\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-15\">Importovan\u00e9 str\u00e1nky na webu nov\u00e9 dom\u00e9ny jsou \u201eNot Found\u201c \ud83c\udd98<\/div><div id=\"mch-acr-content-15\" class=\"mch-acr-content\" hidden><\/p>\n<h5>P\u0159\u00edpad<\/h5>\n<p>Po importu str\u00e1nek obsahuj\u00edc\u00ed spr\u00e1vnou dom\u00e9nu jsou tyto nedostupn\u00e9 \u201eNot Found\u201c.<\/p>\n<h5>P\u0159\u00ed\u010dina<\/h5>\n<p>Mo\u017en\u00fd probl\u00e9m s Permalinkem na nov\u011b vytvo\u0159en\u00e9m WordPress webu a souboru <samp>.htaccess<\/samp> .<\/p>\n<h5>\u0158e\u0161en\u00ed<\/h5>\n<p>Upravit nebo zalo\u017eit soubor <samp>.htaccess<\/samp> <i>(je v rootu webu jako nap\u0159. wp-content)<\/i>, aby obsahoval:<br \/>\n<pre># BEGIN WordPress\n\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n\n# END WordPress\n<\/pre><br \/>\nPotom znovu ulo\u017eit <i>(tak jak jsou)<\/i> Permalinky:<\/p>\n<p>\u201eN\u00e1stroje\u201c \u2b95 \u201ePermalink Manager\u201c \u2b95 \u201eSave all the permalinks below\u201c<\/p>\n<p><\/div><\/div>\n<a id=\"zru\u0161en\u00ed_reviz\u00ed_historie_\u00faprav_str\u00e1nek\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-16\">Zru\u0161en\u00ed reviz\u00ed <i>(historie)<\/i> \u00faprav str\u00e1nek<\/div><div id=\"mch-acr-content-16\" class=\"mch-acr-content\" hidden><\/p>\n<p>WordPress si ukl\u00e1d\u00e1 do dab\u00e1ze historii \u00faprav str\u00e1nek, tzv. revize. Po\u010det reviz\u00ed lze p\u0159enastavit a nebo v tomto p\u0159\u00edpad\u011b zru\u0161it parametrm v konfigura\u010dn\u00edm souboru wordpressu.<\/p>\n<h5>Zru\u0161en\u00ed ukl\u00e1d\u00e1n\u00ed reviz\u00ed<\/h5>\n<p>\ud83d\udcbb <code>mousepad wp-config.php<\/code><\/p>\n<p>P\u0159idat, zm\u011bnit po zru\u0161en\u00ed reviz\u00ed:\u2026<br \/>\n<pre>\u2026\ndefine(&#039;WP_POST_REVISIONS&#039;, 0);\n\u2026<\/pre><\/p>\n<h5>Zobrazen\u00ed po\u010dtu reviz\u00ed v SQL datab\u00e1z<\/h5>\n<p>SQL p\u0159\u00edkazy:<br \/>\n<pre>SELECT COUNT(*) AS pocet_reviz\u00ed\nFROM wp_posts\nWHERE post_type = &#039;revision&#039;;<\/pre><\/p>\n<h5>Odstran\u011bn\u00ed reviz\u00ed z SQL datab\u00e1ze a \u00faklid sirot\u010d\u00edch metadat<\/h5>\n<p>SQL p\u0159\u00edkaz:<br \/>\n<pre>DELETE FROM wp_posts WHERE post_type = &#039;revision&#039;;\nDELETE pm \nFROM wp_postmeta pm\nLEFT JOIN wp_posts p ON pm.post_id = p.ID\nWHERE p.ID IS NULL;\n<\/pre><\/p>\n<h5>Optimalizace SQL datab\u00e1ze<\/h5>\n<p>Uvoln\u011bn\u00fd prostor v datab\u00e1zi z\u016fst\u00e1v\u00e1 alokov\u00e1n a je vhodn\u00e9 ho set\u0159\u00e1st.<br \/>\nSQL p\u0159\u00edkazy:<br \/>\n<pre>OPTIMIZE TABLE wp_posts;\nOPTIMIZE TABLE wp_postmeta;\n<\/pre><\/p>\n<h5>Zobrazen\u00ed velikosti tabulek SQL datab\u00e1ze<\/h5>\n<p>SQL p\u0159\u00edkazy:<br \/>\n<pre>SELECT \n&nbsp;&nbsp;&nbsp;&nbsp;table_name,\n&nbsp;&nbsp;&nbsp;&nbsp;ROUND(data_length \/ 1024 \/ 1024, 2) AS data_MB,\n&nbsp;&nbsp;&nbsp;&nbsp;ROUND(index_length \/ 1024 \/ 1024, 2) AS indexy_MB,\n&nbsp;&nbsp;&nbsp;&nbsp;ROUND(data_length \/ 1024 \/ 1024 + index_length \/ 1024 \/ 1024, 2) AS celkem_MB\nFROM information_schema.tables\nWHERE table_schema = &#039;jmeno_tve_databaze&#039;\nORDER BY celkem_MB DESC;\n<\/pre><br \/>\n<\/div><\/div>\n<h3><a id=\"sql_datab\u00e1ze_mariadb_pro_web\"><\/a><a href=\"#\" class=\"mch-gototop\" onclick=\"window.scrollTo({top: 0, behavior: 'smooth'}); return false;\">\u21a9\ufe0f\ufe0f<\/a> SQL datab\u00e1ze \u201emariadb\u201c pro web<\/h3>\n<a id=\"adminer_n\u00e1stroj_administrace_sql_datab\u00e1ze\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-17\">Adminer - n\u00e1stroj administrace SQL datab\u00e1ze<\/div><div id=\"mch-acr-content-17\" class=\"mch-acr-content\" hidden><\/p>\n<p>Adminer je jednoduch\u00fd, ale mocn\u00fd webov\u00fd n\u00e1stroj pro spr\u00e1vu datab\u00e1z\u00ed <i>(MySQL\/MariaDB, PostgreSQL, SQLite, \u2026)<\/i>. Oproti phpMyAdmin je leh\u010d\u00ed a rychlej\u0161\u00ed.<\/p>\n<p>\u261d\ufe0fJeliko\u017e adminer je jen PHP skript s webov\u00fdm rozhran\u00edm <i>(s\u00e1m o sob\u011b neum\u00ed b\u011b\u017eet)<\/i>, tak mus\u00ed m\u00edt k sob\u011b web server <i>(apache2, nginx, &#8230;)<\/i> a php.<\/p>\n<h5>Instalace se sd\u00edlen\u00fdm web serverem<\/h5>\n<p>\u261d\ufe0fPokud je na serveru ji\u017e web server s PHP, tak neinstalovat adminer z repozit\u00e1\u0159\u016f, ale jako deb bal\u00ed\u010dek <i>(aby se automaticky nedoinstalov\u00e1val apache2 s PHP)<\/i>.<\/p>\n<p>Sta\u017een\u00ed instala\u010dn\u00edho bal\u00ed\u010dku a instalace:<\/p>\n<p>\ud83d\udcbb <code>wget http:\/\/ftp.us.debian.org\/debian\/pool\/main\/a\/adminer\/adminer<\/code><\/p>\n<p>\ud83d\udcbb <code>sudo dpkg -i .\/adminer_5.3.0+dfsg-1_all.deb<\/code><\/p>\n<h5>Konfigurace p\u0159i\u010dlen\u011bn\u00edm k webu<\/h5>\n<p>Zji\u0161t\u011bn\u00ed php cerze:<br \/>\n\ud83d\udcbb <code>php -v<\/code><\/p>\n<p>V\u00fdpis:<br \/>\n<pre>&lt;i&gt;&lt;strong&gt;&lt;mark&gt;PHP 8.2&lt;\/mark&gt;&lt;\/strong&gt;.29 (cli) (built: Jul&nbsp;&nbsp;3 2025 13:07:49) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.2.29, Copyright (c) Zend Technologies\n&nbsp;&nbsp;&nbsp;&nbsp;with Zend OPcache v8.2.29, Copyright (c), by Zend Technologies&lt;\/i&gt;<\/pre><br \/>\nZji\u0161t\u011bn\u00ed typu dle b\u011b\u017e\u00edc\u00edho webserveru:<\/p>\n<p>\ud83d\udcbb <code>sudo systemctl status apache2<\/code><\/p>\n<p>\ud83d\udcbb <code>sudo systemctl status nginx<\/code><\/p>\n<p>nebo dle b\u011b\u017e\u00edc\u00edho procesu:<\/p>\n<p>\ud83d\udcbb <code>ps aux | grep -E &#039;nginx|apache2&#039;<\/code><\/p>\n<p>nebo z hlavi\u010dky str\u00e1nky:<br \/>\n\ud83d\udcbb <code>curl -I http:\/\/localhost<\/code><\/p>\n<p>V\u00fdpis:<br \/>\n<pre>&lt;i&gt;HTTP\/1.1 301 Moved Permanently\nServer: &lt;strong&gt;&lt;mark&gt;nginx&lt;\/mark&gt;&lt;\/strong&gt;\/1.18.0 (Ubuntu)\nDate: Thu, 25 Sep 2025 11:51:12 GMT\nContent-Type: text\/html\nContent-Length: 178\nConnection: keep-alive\nLocation: &lt;strong&gt;&lt;mark&gt;https&lt;\/mark&gt;&lt;\/strong&gt;:\/\/localhost\/&lt;\/i&gt;<\/pre><br \/>\nZji\u0161t\u011bn\u00ed otev\u0159en\u00fdch port\u016f webserveru:<\/p>\n<p>\ud83d\udcbb <code>sudo netstat -tulpn | grep &#039;:80\\|:443&#039;<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>P\u0159i\u010dlen\u011bn\u00ed Admineru k webserveru<\/p>\n<p>\ud83d\udcbb <code>sudo vi \/etc\/nginx\/sites-available\/web<\/code><\/p>\n<p>V\u010dlenit do web konfigurace:<br \/>\n<pre>&nbsp;&nbsp;&nbsp;&nbsp;# Adminer\n&nbsp;&nbsp;&nbsp;&nbsp;location = \/adminer {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rewrite ^ \/adminer\/adminer.php last;\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp; \n\n&nbsp;&nbsp;&nbsp;&nbsp;location \/adminer\/ {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias \/usr\/share\/adminer\/;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index adminer.php;\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location ~ \\.php$ {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include snippets\/fastcgi-php.conf;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_pass unix:\/var\/run\/php\/php8.2-fpm.sock;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_param SCRIPT_FILENAME $request_filename;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\n&nbsp;&nbsp;&nbsp;&nbsp;}<\/pre><br \/>\nAktivovat zm\u011bny:<\/p>\n<p data-start=\"291\" data-end=\"436\">\ud83d\udcbb <code>sudo nginx -t<\/code><\/p>\n<p data-start=\"291\" data-end=\"436\">\ud83d\udcbb <code>sudo systemctl reload nginx<\/code><\/p>\n<h5>Spu\u0161t\u011bn\u00ed admineru<\/h5>\n<p>Do web prohl\u00ed\u017ee\u010de zadat: <samp>https:\/\/localhost\/adminer<\/samp><\/p>\n<p><\/div><\/div>\n<a id=\"v\u00fdpis_opr\u00e1vn\u011bn\u00ed_u\u017eivatele\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-18\">V\u00fdpis opr\u00e1vn\u011bn\u00ed u\u017eivatele<\/div><div id=\"mch-acr-content-18\" class=\"mch-acr-content\" hidden><\/p>\n<p>SQL prost\u0159en\u00ed:<\/p>\n<p>\ud83d\udcbb <code>mysql -u nazev_uzivatele -p<\/code><\/p>\n<p>SQL p\u0159ikaz:<br \/>\n<pre>SHOW GRANTS FOR &#039;nazev_uzivatele&#039;@&#039;localhost&#039;;<\/pre><br \/>\n<\/div><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1144,"menu_order":-7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9769","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u2139\ufe0f Internet - milchyn.cz<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/milchyn.cz\/i-internet\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u2139\ufe0f Internet - milchyn.cz\" \/>\n<meta property=\"og:description\" content=\"&nbsp; &nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/milchyn.cz\/i-internet\" \/>\n<meta property=\"og:site_name\" content=\"milchyn.cz\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-25T20:02:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Odhadovan\u00e1 doba \u010dten\u00ed\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/milchyn.cz\/i-internet\",\"url\":\"https:\/\/milchyn.cz\/i-internet\",\"name\":\"\u2139\ufe0f Internet - milchyn.cz\",\"isPartOf\":{\"@id\":\"https:\/\/milchyn.cz\/#website\"},\"datePublished\":\"2025-08-21T02:45:50+00:00\",\"dateModified\":\"2025-09-25T20:02:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/milchyn.cz\/i-internet#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/milchyn.cz\/i-internet\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/milchyn.cz\/i-internet#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dom\u016f\",\"item\":\"https:\/\/milchyn.cz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\/\/milchyn.cz\/pocitac-s-linuxem\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u2139\ufe0f Internet\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/milchyn.cz\/#website\",\"url\":\"https:\/\/milchyn.cz\/\",\"name\":\"milchyn.cz\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/milchyn.cz\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"cs\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u2139\ufe0f Internet - milchyn.cz","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/milchyn.cz\/i-internet","og_locale":"cs_CZ","og_type":"article","og_title":"\u2139\ufe0f Internet - milchyn.cz","og_description":"&nbsp; &nbsp;","og_url":"https:\/\/milchyn.cz\/i-internet","og_site_name":"milchyn.cz","article_modified_time":"2025-09-25T20:02:25+00:00","twitter_card":"summary_large_image","twitter_misc":{"Odhadovan\u00e1 doba \u010dten\u00ed":"7 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/milchyn.cz\/i-internet","url":"https:\/\/milchyn.cz\/i-internet","name":"\u2139\ufe0f Internet - milchyn.cz","isPartOf":{"@id":"https:\/\/milchyn.cz\/#website"},"datePublished":"2025-08-21T02:45:50+00:00","dateModified":"2025-09-25T20:02:25+00:00","breadcrumb":{"@id":"https:\/\/milchyn.cz\/i-internet#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/milchyn.cz\/i-internet"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/milchyn.cz\/i-internet#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Dom\u016f","item":"https:\/\/milchyn.cz\/"},{"@type":"ListItem","position":2,"name":"Linux","item":"https:\/\/milchyn.cz\/pocitac-s-linuxem"},{"@type":"ListItem","position":3,"name":"\u2139\ufe0f Internet"}]},{"@type":"WebSite","@id":"https:\/\/milchyn.cz\/#website","url":"https:\/\/milchyn.cz\/","name":"milchyn.cz","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/milchyn.cz\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"cs"}]}},"_links":{"self":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages\/9769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/milchyn.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9769"}],"version-history":[{"count":0,"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages\/9769\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages\/1144"}],"wp:attachment":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}