tag:blogger.com,1999:blog-6301681709118927292024-03-05T23:01:38.557+01:00Petr's blog about LinuxMy personal blog about Linux, opensource applications and related technologies.Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-630168170911892729.post-11104589474918559212023-02-07T14:32:00.004+01:002023-10-30T21:42:25.442+01:00Blog migration to new URL<p>I decided to move away from the "blogger.com" platform to something more "code based". New web page is based on <a href="https://jekyllrb.com/">Jekyll</a> and <a href="https://chirpy.cotes.page/">Chirpy</a> theme.</p><p>I'm going to move to the new URL as well...</p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgLHM4BOncYdA1nidQ6qzwc9iiYwx3oL6YB_XKZLkv9I0hSjP6M7CbYwWfyS65_Rvd-WzFdeMgfpjfwYaZIPc-qsOPZgKl26a-u4_gdpjy0DiYPxdLEa655CenSWCeBxMCMYT5FdUwoUws1In0AfrgW7OYNDb6WeM4Lq9D1uxeUuGRtfyQh9BiDVo99" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="512" data-original-width="512" height="240" src="https://blogger.googleusercontent.com/img/a/AVvXsEgLHM4BOncYdA1nidQ6qzwc9iiYwx3oL6YB_XKZLkv9I0hSjP6M7CbYwWfyS65_Rvd-WzFdeMgfpjfwYaZIPc-qsOPZgKl26a-u4_gdpjy0DiYPxdLEa655CenSWCeBxMCMYT5FdUwoUws1In0AfrgW7OYNDb6WeM4Lq9D1uxeUuGRtfyQh9BiDVo99" width="240" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div style="text-align: center;"><a href="https://ruzickap.github.io"><span style="font-size: x-large;">https://ruzickap.github.io</span></a></div><p></p><p></p>Links:<br /><ul style="text-align: left;"><li><a href="https://blog.ruzicka.dev">blog.ruzicka.dev</a> -> <a href="https://ruzickap.github.io">ruzickap.github.io</a></li><li><a href="https://github.com/ruzickap/ruzickap.github.io">https://github.com/ruzickap/ruzickap.github.io</a></li></ul><p></p><p>Enjoy ;-)</p>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-16269079781177681782022-09-02T23:13:00.018+02:002022-10-15T14:15:01.443+02:00My Sony A7 IV settingsI wanted to summarize my notes about the Sony A7 IV settings. <div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://2.img-dpreview.com/files/p/E~TS590x0~articles/9494401150/Product-Images/Sony_a7IV_sensor.jpeg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="393" data-original-width="590" height="393" src="https://2.img-dpreview.com/files/p/E~TS590x0~articles/9494401150/Product-Images/Sony_a7IV_sensor.jpeg" width="590" /></a></div><h2 style="text-align: left;">Photo </h2><div><ul style="text-align: left;"><li>My Menu Setting -> Add Item -> Drive Mode -> Interval Shoot Func.</li><li>My Menu Setting -> Add Item -> Drive Mode -> Bracket Settings</li><li>My Menu Setting -> Add Item -> Finder / Monitor -> Monitor Brightness</li><li>My Menu Setting -> Add Item -> Zebra Display -> Zebra Display</li><li>My Menu Setting -> Add Item -> Zebra Display -> Bluetooth -> Bluetooth Function</li><li>My Menu Setting -> Add Item -> Finder Monitor -> Select Finder/Monitor</li><li>My Menu Setting -> Add Item -> Face/Eye AF -> Face/Eye Subject</li><li>Shooting -> Image Quality -> JPEG/HEIF Switch -> HEIF (4:2:0)</li><li>Shooting -> Image Quality -> Image Quality Settings -> Slot 1 -> File Format -> RAW</li><li>Shooting -> Image Quality -> Image Quality Settings -> Slot 1 -> RAW File Type -> Losseless Comp </li><li>Shooting -> Image Quality -> Lens Compensation -> Distortion Comp. -> Auto</li><li>Shooting -> Media -> Rec. Media Settings -> Auto Switch Media</li><li>Shooting -> File -> File/Folder Settings -> Set File Name -> A74</li><li>Shooting -> File -> Copyright Info -> Write Copyright Info -> On</li><li>Shooting -> File -> Copyright Info -> Set Photographer -> My Name</li><li>Shooting -> File -> Copyright Info -> Set Copyright -> CC BY-SA</li><li>Shooting -> File -> Write Serial Number -> On</li><li>Shooting -> Drive Mode -> Drive Mode -> Cont. Shooting: Mid</li><li>Shooting -> Drive Mode -> Drive Mode -> Self-timer(Single): 2 sec</li><li>Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting start time -> 2 sec</li><li>Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting interval -> 5 sec</li><li>Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting interval -> Number of shots -> 300</li><li>Shooting -> Drive Mode -> Interval Shoot Func. -> Shooting interval -> AE Tracking Sensitivity -> Low</li><li>Exposure/Color -> Exposure -> ISO Range Limit -> 50 - 12800</li><li>Exposure/Color -> Zebra Display -> Zebra Display -> On</li><li>Focus -> AF/MF -> Focus Mode -> Continuous AF</li><li>Focus -> AF/MF -> AF Illuminator -> Off</li><li>Focus -> Focus Area -> Tracking: Spot S</li><li>Focus -> Focus Area -> Focus Area Color -> Red</li><li>Focus -> Peaking Display -> On</li><li>Focus -> Peaking Display -> Peaking Color -> Red</li><li>Playback -> Magnification -> Enlarge Initial Position -> Focused Position</li><li>Playback -> Delete -> Delete pressing twice -> On</li><li>Playback -> Playback Option -> Focus Frame Display -> On</li><li>Network -> Smartphone Connect -> Smartphone Regist.</li><li>Network -> Smartphone Connect -> Remote Shoot Setting -> Still Img. Save Dest. -> Camera Only</li><li>Setup -> Operations Customize -> Custom Key/Dial Set. -> Rear1 -> 4 -> Shutter/Silent -> Switch Silent Mode</li><li>Setup -> Operations Customize -> Custom Key/Dial Set. -> Dial/Wheel -> 4 -> Exposure -> ISO</li><li>Setup -> Operations Customize -> Custom Key/Dial Set. -> Dial/Wheel -> Separate M mode and other modes</li><li>Setup -> Operations Customize -> Fn Menu Settings -> Face/Eye AF -> Face/Eye Subject</li><li>Setup -> Operations Customize -> Fn Menu Settings -> Zebra Display -> Zebra Display</li><li>Setup -> Operations Customize -> DISP (Screen Disp) Set -> Finder -> Display All Info.</li><li>Setup -> Touch Operation -> Touch Operation -> On</li><li>Setup -> Touch Operation -> Touch Panel/Pad -> Touch Pad Only</li><li>Setup -> Touch Operation -> Touch Func. in Shooting -> Touch Focus</li><li>Setup -> Touch Operation -> Touch Pad Settings -> Operation Area -> Left 1/2</li><li>Setup -> Display Option -> Auto Review -> 2s</li><li>Setup -> Power Setting Option -> Auto Power OFF Temp. -> High</li><li>Setup -> Sound Option -> Audio signals -> Off</li><li>Setup -> Setup Option -> Anti-dust Function -> Shutter When Pwr OFF -> On</li><li>Setup -> USB -> USB Connection Mode -> MassStorage(MSC)</li></ul></div><h2 style="text-align: left;">Video</h2><div><ul style="text-align: left;"><li>Shooting -> Image Quality -> File Format -> XAVC HS 4K</li><li>Shooting -> Image Quality -> Movie Settings -> Record Setting -> 140M 4:2:2 10bit<br /></li><li>Shooting -> Image Quality -> S&Q Settings -> Frame Rate -> 1fps</li><li>Shooting -> File -> File Name Format -> Date + Title</li><li>Shooting -> File -> File Name Format -> Title Name Settings -> A74_</li><li>Exposure / Color -> Color / Tone -> Picture Profile -> PP11</li><li>Setup -> Operation Customize -> Different Set for Still/Mv -> (Select all)</li><li>Setup -> Operations Customize -> REC w/ Shutter -> On</li></ul><div>Thanks to:</div></div><div><ul style="text-align: left;"><li><a href="https://youtu.be/-HhGqIgPh5w">https://youtu.be/-HhGqIgPh5w</a></li><li><a href="https://youtu.be/NtKcMXIPMK8">https://youtu.be/NtKcMXIPMK8</a></li><li><a href="https://youtu.be/lXQy1xWNyJM">https://youtu.be/lXQy1xWNyJM</a></li></ul></div></div>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-12798964211067836732022-01-06T17:19:00.005+01:002022-01-09T20:37:49.140+01:00Monitor your Raspberry Pi using Grafana CloudRecently my SD card in Raspberry Pi died, because I was storing there the Prometheus data used for monitoring. Frequent writes to the SD card probably destroyed it. <div>Anyway I was looking for the alternative how to monitor the RPi without running it (Grafana, Prometheus) myself. </div><div><br></div><div>The Grafana Labs offers <a href="https://grafana.com/products/cloud/" target="_blank">Grafana Cloud</a> in free version which is powerful enough to get the monitoring data form your RPi including logs. </div><div><br></div><div>Here are the steps how to configure your Raspberry Pi to use Grafana Cloud: </div><div><br></div><h3 style="text-align: left;">Grafana Cloud </h3><div><ul style="text-align: left;"><li>Go to <a href="https://grafana.com/products/cloud/" target="_blank">Grafana Cloud</a> and create new account.</li><li>Select your "Team URL" and region:</li></ul></div><div><div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNRReYLRmbkKDVeyWrobvEXHf-AiUHl-0j-SDRjvhflgLxkWsF3VZUnmBp74EFjukFl-qj1Y1yn0g-IsxTWM6ZM06WH7O1j1CNp6RpRLF3AZIXlqktR-oZ20Oz5gByYW1Z0HmM1VOb5Go/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="673" data-original-width="860" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNRReYLRmbkKDVeyWrobvEXHf-AiUHl-0j-SDRjvhflgLxkWsF3VZUnmBp74EFjukFl-qj1Y1yn0g-IsxTWM6ZM06WH7O1j1CNp6RpRLF3AZIXlqktR-oZ20Oz5gByYW1Z0HmM1VOb5Go/w400-h313/image.png" width="400"></a></div></div><ul style="text-align: left;"><li>Then select the "Linux Server" and click "Install integration"</li></ul><div><br></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuFSVlvcfMDy0dKbwKEAIhDy-PNC6SYbSzKERKOi7e0Al17BLWEjNwGXviuE3uZT6yg34pxRxClp6JDFtkNFXafvr5v9zIeCujoGS4FtjSkeCgHFRN1ihDA9NdCT2PfJm9UQmLKEYW4dU/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="596" data-original-width="983" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuFSVlvcfMDy0dKbwKEAIhDy-PNC6SYbSzKERKOi7e0Al17BLWEjNwGXviuE3uZT6yg34pxRxClp6JDFtkNFXafvr5v9zIeCujoGS4FtjSkeCgHFRN1ihDA9NdCT2PfJm9UQmLKEYW4dU/w400-h243/image.png" width="400"></a></div></div><div class="separator" style="clear: both; text-align: center;"><br></div><div class="separator" style="clear: both; text-align: center;"><ul><li style="text-align: left;">I left the "Debian - based" as a default and changed the "Architecture" to "Armv7"</li><li style="text-align: left;">Copy the content form the Grafana Agent field and paste it to your shell connected to RPi</li></ul><div style="text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7xfBNwj3JnXF6UqGtHaAzOOBFtL8sZsvB8oX7zTYm4fOd2vW8QVjrBKTuSyG9NVDZGL3U1WtRP52rBeO06lP7uwUIGxVwIy_HO4gr8_6CRlGiFIszdVq6u8nRdKIWE3Y0bdJIarbxfLQ/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="596" data-original-width="846" height="281" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7xfBNwj3JnXF6UqGtHaAzOOBFtL8sZsvB8oX7zTYm4fOd2vW8QVjrBKTuSyG9NVDZGL3U1WtRP52rBeO06lP7uwUIGxVwIy_HO4gr8_6CRlGiFIszdVq6u8nRdKIWE3Y0bdJIarbxfLQ/w400-h281/image.png" width="400"></a></div><br></div><div style="text-align: left;"><ul style="text-align: left;"><li>Then continue by "Test integration and finish installation":</li></ul><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyBS4986Gx_5h3adiUrl7nAGupMu-spyaExoM6os2D4MnPwmrDTOpwChypH5Y-WFgV9mMYlxqhuGFAgj51k1eFMC1N_D6sWdaTe_lSrmaSyTmRKFBaT4lXhJLLf1eWo5CwWpWb_ZnU3kI/" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img alt="" data-original-height="168" data-original-width="542" height="99" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyBS4986Gx_5h3adiUrl7nAGupMu-spyaExoM6os2D4MnPwmrDTOpwChypH5Y-WFgV9mMYlxqhuGFAgj51k1eFMC1N_D6sWdaTe_lSrmaSyTmRKFBaT4lXhJLLf1eWo5CwWpWb_ZnU3kI/" width="320"></a></div><br></div><div>After these steps the Grafana Agent should be configured and should start sending data to Grafana Cloud.</div><div><br></div><span></span></div></div></div><a href="https://linux.xvx.cz/2022/01/monitor-your-raspberry-pi-using-grafana.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-46674571517185202122020-02-02T11:16:00.000+01:002020-02-02T11:21:09.153+01:00Check availability of external links in your web pagesWhen you create your web pages in most case you are using the images, external links, videos which may not be static part of the web page itself, but it's stored externally.<br>
<br>
At the time you wrote your shiny page you probably check all these external dependencies to be sure it's working to make your readers happy, because nobody likes to see errors like this:<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6MbOhxVkzLbvwJIeC7QC9NkOqsP9FjsR5NRfU0wPbWNTBBlrQzNPzTzu4mTtYh3ulugQ1w_-y2qGTN2mj1yv_MzxEvH7jBvQThYZdfeQfIf_CI6pvLJm4dq76B-TZh6xcDcYEibme54Y/s1600/youtube_missing_video.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="523" data-original-width="722" height="463" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6MbOhxVkzLbvwJIeC7QC9NkOqsP9FjsR5NRfU0wPbWNTBBlrQzNPzTzu4mTtYh3ulugQ1w_-y2qGTN2mj1yv_MzxEvH7jBvQThYZdfeQfIf_CI6pvLJm4dq76B-TZh6xcDcYEibme54Y/s640/youtube_missing_video.png" width="640"></a></div><br>
Now the page is working fine with all external dependencies because I checked it properly - but what about in few months / years / ... ?<br>
<br>
Web pages / images / videos may disappear form the Internet especially when you can not control them and then it's handy form time to time to check your web pages if all the external links are still alive.<br>
<br>
There are many tools which you may install to your PC and check the "validity" of your web pages instead of manually clicking the links.<br>
<br>
I would like to share my way how I'm periodically checking my documents / pages using the <a href="https://github.com/features/actions">GitHub Actions</a>.<br>
<a href="https://linux.xvx.cz/2020/02/check-availability-of-external-links-in.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-55399014748442346552019-10-21T16:34:00.006+02:002021-11-30T21:36:53.157+01:00Other posts...It's been some time since I post something. Unfortunately I prefer to write some blogs posts in <a href="https://guides.github.com/features/mastering-markdown/" target="_blank">Markdown</a> instead of writing it here.<br />
<br />
Most of them are related to Kubernetes...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<div class="separator" style="clear: both;"><a href="https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Kubernetes_%28container_engine%29.png/1055px-Kubernetes_%28container_engine%29.png" style="display: block; padding: 1em 0; text-align: center; "><img alt="" border="0" width="320" data-original-height="776" data-original-width="800" src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Kubernetes_%28container_engine%29.png/1055px-Kubernetes_%28container_engine%29.png"/></a></div>
</div>
Anyway I put some of my notes / articles here:<br />
<br />
<ul>
<li><a href="https://ruzickap.gitbook.io/k8s-istio-demo/">Kubernetes with Istio demo</a> (<a href="https://slides.com/ruzickap/k8s-istio-demo/" target="_blank">Presentation</a>)</li>
<li><a href="https://ruzickap.github.io/k8s-istio-workshop/">Istio workshop</a></li>
<li><a href="https://ruzickap.github.io/k8s-istio-webinar/">Istio webinar</a> (<a href="https://slides.com/ruzickap/k8s-istio-webinar/" target="_blank">Presentation</a>)</li>
<li><a href="https://ruzickap.github.io/k8s-harbor/">Kubernetes + Harbor</a> (<a href="https://ruzickap.github.io/k8s-harbor-presentation/#/" target="_blank">Presentation</a>)</li>
<li><a href="https://ruzickap.github.io/k8s-postgresql/" target="_blank">Kubernetes + PostgreSQL</a></li>
<li><a href="https://ruzickap.github.io/k8s-flux-istio-gitlab-harbor/">Kubernetes + Flux + Istio + GitLab + Harbor</a></li>
<li><a href="https://ruzickap.github.io/k8s-flagger-istio-flux/">Kubernetes + Flagger + Flux + Istio</a></li>
<li><a href="https://ruzickap.github.io/k8s-sockshop/">Kubernetes + Flagger + Flux + Sockshop</a></li>
<li><a href="https://ruzickap.github.io/k8s-knative-gitlab-harbor/">Kubernetes + Knative + GitLab + Harbor</a></li>
<li><a href="https://ruzickap.github.io/k8s-jenkins-x/">Kubernetes + Jenkins X + Sock Shop</a></li>
<li><a href="https://ruzickap.github.io/k8s-eks-bottlerocket-fargate/">Amazon EKS Bottlerocket and Fargate</a></li>
<li><a href="https://ruzickap.github.io/k8s-eks-flux/">Amazon EKS and Flux</a></li>
</ul>
<div>
<br /></div>
<div>
I hope you will find it useful... ;-)</div>
Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-18576601820805913012018-04-20T11:23:00.000+02:002018-04-20T11:56:55.159+02:00Running Kubernetes on AppVeyor with minikubeWhen I was playing with Kubernetes I made a lot of <a href="http://multinode-kubernetes-cluster.readthedocs.io">notes</a> how to do things. Then I realized it may be handy to put those notes to Github and let them go through some CI to be sure they are correct.<br>
<br>
I was looking for some way how to run Kubernetes via <a href="https://github.com/kubernetes/minikube">minikube</a> in <a href="https://travis-ci.org/">Travis CI</a> and there are "some" ways: <a href="https://blog.travis-ci.com/2017-10-26-running-kubernetes-on-travis-ci-with-minikube">https://blog.travis-ci.com/2017-10-26-running-kubernetes-on-travis-ci-with-minikube</a><br>
<br>
Unfortunately I didn't have much luck with latest minikube (0.26) and latest Kubernetes (1.10) when I tried to make it working on Travis.<br>
It looks like there are some problems with running the latest stuff on Travis and people are using older Kubernetes/minikube versions (like here: <a href="https://github.com/LiliC/travis-minikube/blob/master/.travis.yml">https://github.com/LiliC/travis-minikube/blob/master/.travis.yml</a>).<br>
<br>
Instead of troubleshoot Travis CI - I decided to use <a href="https://www.appveyor.com/">AppVeyor</a>.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgioy7BwTNs00KSmcUkXG-N_W1fzFBlmvbIeydEhggTSpV6ExIsQs39WU4N0v4bgYSeJeyQKtaEp8XHGuMcKU72egzrO3cFjVYaJXmXeeFg0rwSRV9-0-0PJq6ksVk6zh_BqEzRogl2nCU/s1600/appveyor_kubernetes.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgioy7BwTNs00KSmcUkXG-N_W1fzFBlmvbIeydEhggTSpV6ExIsQs39WU4N0v4bgYSeJeyQKtaEp8XHGuMcKU72egzrO3cFjVYaJXmXeeFg0rwSRV9-0-0PJq6ksVk6zh_BqEzRogl2nCU/s1600/appveyor_kubernetes.png" data-original-width="491" data-original-height="211"></a></div><a href="https://linux.xvx.cz/2018/04/running-kubernetes-on-appveyor-with.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com1tag:blogger.com,1999:blog-630168170911892729.post-90835815916541869712018-04-19T11:50:00.003+02:002021-04-03T22:32:05.713+02:00CKA - Kubernetes Certified Administrator exam tipsI passed the Kubernetes Certified Administrator exam recently and I would like to share some tips.<br>
<br>
I was looking for some details about the exam before, but most of the articles I found are quite old:<br>
<br>
<ul><li><a href="https://medium.com/@walidshaari/kubernetes-certified-administrator-cka-43a25ca4c61c">https://medium.com/@walidshaari/kubernetes-certified-administrator-cka-43a25ca4c61c</a></li>
<li><a href="https://github.com/walidshaari/Kubernetes-Certified-Administrator">https://github.com/walidshaari/Kubernetes-Certified-Administrator</a></li>
<li><a href="http://madorn.com/certified-kubernetes-administrator-exam.html">http://madorn.com/certified-kubernetes-administrator-exam.html</a></li>
<li><a href="https://blog.heptio.com/how-heptio-engineers-ace-the-certified-kubernetes-administrator-exam-93d20af32557">https://blog.heptio.com/how-heptio-engineers-ace-the-certified-kubernetes-administrator-exam-93d20af32557</a></li>
</ul><br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://www.cncf.io/wp-content/uploads/2020/08/logo_cka_whitetext-2-500x500.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="800" height="400" src="https://www.cncf.io/wp-content/uploads/2020/08/logo_cka_whitetext-2-500x500.png" width="400"></a></div><br>
So I decided to write some more fresh stuff from the April 2018.<br>
<a href="https://linux.xvx.cz/2018/04/cka-kubernetes-certified-administrator.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com2tag:blogger.com,1999:blog-630168170911892729.post-26732756388087362792018-04-18T16:25:00.000+02:002018-04-19T08:05:52.323+02:00Create Kubernetes Multinode Cluster using multiple VMsIf you need to run single node Kubernetes cluster for testing then <a href="https://kubernetes.io/docs/getting-started-guides/minikube/">minikube</a> is your choice.<br>
<br>
But sometimes you need to run tests on a multinode cluster running on multiple VMs.<br>
<br>
There are many ways how to install Kubernetes Multinode Cluster but I choose these projects <a href="https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/">kubeadm</a> and <a href="http://kubespray.io/">kubespray</a>.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="776" data-original-width="800" height="194" src="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png" width="200"></a></div><br>
<ul><li>Kubespray is handy for enterprise installations where HA is a must, but it can be used for standard testing if you have <a href="https://www.ansible.com/">Ansible</a> installed.</li>
<li>Kubeadm is official tool for Kubernetes installation, but it needs more love when you want to use it in enterprise to configure HA.</li>
</ul><a href="https://linux.xvx.cz/2018/04/create-kubernetes-multinode-cluster.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-40356786977206790092018-02-20T09:37:00.001+01:002018-02-20T09:40:40.858+01:00Create lab infrastructure running Virtual machines with MAAS using VagrantSometimes it's handy to replicate the physical environment on a single server to do some testing.<br>
<br>
In my I case I replicated the environment containing 3 VMs where <a href="https://www.ubuntu.com/server/maas">MAAS</a> was installed on the first VM (kvm01) and other two VMs (kvm02, kvm03) were provisioned by the MAAS. I also defined few networks with IP ranges: deploy_network 192.168.25.0/24, control_network 192.168.26.0/24, tenant_network 192.168.27.0/24.<br>
<br>
Here is the network diagram of the lab:<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVqyO4FRuNZeKDQzLTUjE7MzP0AtuWzDoRWVrjFWIkBEdpc7mzBQBHWPlTtlZPW3pe0CywZkQXfycZbvWpQn20eFpZ-ADLk1EzdWw2l4r93VrcizBPOx_TAg1VTMg24c7i14lbPNtRKxk/s1600/network_diagram.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="677" data-original-width="1235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVqyO4FRuNZeKDQzLTUjE7MzP0AtuWzDoRWVrjFWIkBEdpc7mzBQBHWPlTtlZPW3pe0CywZkQXfycZbvWpQn20eFpZ-ADLk1EzdWw2l4r93VrcizBPOx_TAg1VTMg24c7i14lbPNtRKxk/s1600/network_diagram.png" height="480"></a></div><br>
You can see the commands I used and descriptive video...<br>
<a href="https://linux.xvx.cz/2018/02/create-lab-infrastructure-running.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com6tag:blogger.com,1999:blog-630168170911892729.post-49151787105528660902018-01-20T11:31:00.004+01:002022-02-05T20:25:38.804+01:00How I began with DarktableThere are many tools which help you with editing the raw photos, but not so many are free. Because I switched form form <a href="https://en.wikipedia.org/wiki/JPEG">JPEG</a> to <a href="https://en.wikipedia.org/wiki/Raw_image_format">RAW</a>, I was looking for free editor which can help me with this task.... and I found <a href="https://www.darktable.org/">Darktable</a>.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://www.darktable.org/about/screenshots/screenshot_darkroom1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="450" data-original-width="800" height="360" src="https://ia800104.us.archive.org/6/items/darktable-2.4.0-src/screenshot_darkroom1.jpg" width="640"></a></div><br>
Darktable is used by many professional photographers and starting with it is not very easy.<br>
<br>
Here are few steps how I started to use Darktable.<br>
<a href="https://linux.xvx.cz/2018/01/how-i-begin-with-darktable.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com1tag:blogger.com,1999:blog-630168170911892729.post-12131020441244942922017-11-02T11:29:00.002+01:002017-12-01T09:25:43.822+01:00Setup production ready Kubernetes cluster using Kubespray and Vagrant running on the libvirt KVMsIf you are creating some Docker containers - sooner or later you will work with Kubernetes to automate deploying, scaling, and operating application containers. If you need simply run Kuberenetes only there is is project called <a href="https://github.com/kubernetes/minikube">Minikube</a> which can help you to setup single VM with Kubernetes. This is probably the best way how you can start with it. <br>
<br>
Sometimes it's handy to have "production ready" Kubernetes cluster running on your laptop contains multiple VMs (like in real production environment) - that's where you need to look around and search for another solution.<br>
<br>
After trying few tools I decided to use <a href="https://github.com/kubernetes-incubator/kubespray">Kubespray</a>. It's a tool for deploying a production ready Kubernetes cluster on AWS, GCE, Azure, OpenStack or Baremetal.<br>
<br>
I'm fine to create few virtual machines (using <a href="https://www.vagrantup.com/">Vagrant</a>) on my laptop and install Kubernetes there.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png" width="200" height="194" data-original-width="800" data-original-height="776"></a></div><br>
I'll use 3 VMs, all 3 have etcd installed, all 3 are nodes (running pods), 2 of them run master components:<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://s32.postimg.org/8q7gns8ut/3nodes.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://s32.postimg.org/8q7gns8ut/3nodes.png" data-original-width="547" data-original-height="74"></a></div><br>
(you can use more VMs with more advanced setup: https://github.com/kubespray/kubespray-cli)<br>
<br>
Let's see how you can do it in Fedora 26 using Vagrant + libvirt + Kubespray + Kubespray-cli.<br>
<a href="https://linux.xvx.cz/2017/11/setup-production-ready-kubernetes.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-12756509836082797602017-10-24T14:26:00.002+02:002021-04-03T22:34:15.603+02:00Create Windows image using Packer and Ansible and then run it in Vagrant (libvirt)I saw many Packer templates which are used to build the Windows images on Github. Almost all of them are using PowerShell scripts or DOS-style batch files. Ansible can use WinRM to manage Windows for some time - therefore I decided to use it also with Packer when building the images. Because of the <a href="https://github.com/hashicorp/packer/issues/4773">bug</a> it was not possible to use Ansible 2.3 (or older) with Packer + WinRM. <br>
<br>
The latest Ansible 2.4 is working fine with Packer + Qemu + WinRM when you want to create the Windows images: <a href="https://www.packer.io/docs/provisioners/ansible.html#winrm-communicator">https://www.packer.io/docs/provisioners/ansible.html#winrm-communicator</a><br>
<br>
<div style="text-align: center;"><img src="https://www.packer.io/img/logo-hashicorp.svg" width="400"><br>
<img src="https://s3.amazonaws.com/media-p.slid.es/uploads/team-32/images/1859201/Ansible-Official-Logo-Black.svg" width="100"><br>
</div><a href="https://linux.xvx.cz/2017/10/create-windows-image-using-packer-and.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-41436537393615537592017-07-16T09:49:00.000+02:002017-07-16T09:52:47.141+02:00How-to build PXE Fedora 26 live imageSometimes it may be handy to PXE boot live image (running only in memory) over the network.<br>
<br>
On this page <a href="https://lukas.zapletalovi.com/2016/08/hidden-feature-of-fedora-24-live-pxe-boot.html">https://lukas.zapletalovi.com/2016/08/hidden-feature-of-fedora-24-live-pxe-boot.html</a> I found a easy way how to boot Fedora Live CD over the network.<br>
<br>
In my case I prefer to build my own image to reduce the size, because I do not need GUI and many other applications located on Fedora Live CD.<br>
<br>
Here are few steps how to do it using Lorax project.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZf6aLdWmTsc5PyYwu00DC7djE9uhm2VnvCuvVfbmvkM4hXfJY7yhDfuXae5fqRLUnKAgvgxqLVQkYPMR0CVYFZ3cFhD9rZylcCiXAnzwkG58IXQaN1GJ-pMN_oqBMMgTRNhiPJz8y1fM/s1600/Screenshot_20170716_081506.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZf6aLdWmTsc5PyYwu00DC7djE9uhm2VnvCuvVfbmvkM4hXfJY7yhDfuXae5fqRLUnKAgvgxqLVQkYPMR0CVYFZ3cFhD9rZylcCiXAnzwkG58IXQaN1GJ-pMN_oqBMMgTRNhiPJz8y1fM/s640/Screenshot_20170716_081506.png" width="640"></a></div><br>
<a href="https://linux.xvx.cz/2017/07/how-to-build-pxe-fedora-26-live-image.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-16514832713095754692017-02-16T13:45:00.001+01:002017-02-16T15:46:53.435+01:00Use Ansible to create and tag Instances in AWS (EC2)It may be handy to quickly create few instances for testing in AWS. <br>
<br>
For such case I'm using simple Ansible playbook which can deploy few CenOS 7 instances, configure disks, tags volumes and instances and install public ssh key to root for example.<br>
<br>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcvVpdKaL9fnM055ceCIe_fTgxlPgWXB-hvhglG8X7YMwA4dXLrFIifgfeHzY7LjMKOI_omQZ8F8btiCwCTbEOXJxXQ7_1tHqoXJ-ulVCS5DmyabEk2HpShmzbptYLSVfqB8qKh2XE5u4/s1600/Screenshot_20170216_154501.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcvVpdKaL9fnM055ceCIe_fTgxlPgWXB-hvhglG8X7YMwA4dXLrFIifgfeHzY7LjMKOI_omQZ8F8btiCwCTbEOXJxXQ7_1tHqoXJ-ulVCS5DmyabEk2HpShmzbptYLSVfqB8qKh2XE5u4/s640/Screenshot_20170216_154501.png" width="640"></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">AWS Console</td></tr>
</tbody></table>
<br>
<a href="https://linux.xvx.cz/2017/02/use-ansible-to-create-and-tag-instances.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-53785841268359041142017-02-13T22:00:00.000+01:002017-02-13T22:01:28.465+01:00Provision Windows Server 2016 in AWS using Ansible via CloudFormationFor some testing I had to provision the Windows Servers 2016 in AWS. I'm using ansible for "linux" server provisioning and managing the AWS I tried it for the Windows server as well.<br>
<br>
Because I'm not a windows user it was quite complicated for me so here is the way how I did it.<br>
I'm not sure if it's the right one, but maybe those snippets may help somebody...<br>
<br>
Here is the file/directory structure:<br>
<br>
<span style="font-family: monospace;"><span style="background-color: white; color: #0087ff;">.</span><span style="background-color: white;"> </span><br>
├── <span style="background-color: white; color: #0087ff;">group_vars</span><span style="background-color: white;"> </span><br>
│ └── all <br>
├── <span style="background-color: white; color: #0087ff;">tasks</span><span style="background-color: white;"> </span><br>
│ ├── create_cf_stack.yml <br>
│ └── win.yml <br>
├── <span style="background-color: white; color: #0087ff;">templates</span><span style="background-color: white;"> </span><br>
│ └── aws_cf_stack.yml.j2 <br>
├── <span style="background-color: white; color: #00d700;">run_aws.sh</span><span style="background-color: white;"> </span><br>
└── site_aws.yml<br>
</span><br>
<br>
<a href="https://linux.xvx.cz/2017/02/provision-windows-server-2016-in-aws.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com2tag:blogger.com,1999:blog-630168170911892729.post-14253602315404320722015-12-24T08:45:00.001+01:002020-05-10T04:59:52.831+02:00Atom editor (atom.io)<div dir="ltr" style="text-align: left;" trbidi="on">I tried to learn more about the Atom editor, because it has few nice features. It is also using some "common" shortcuts which will help you in the beginning.<br />
<br />
Anyway I tried to made a short screencast showing the most used shortcuts:<br />
<br />
<div style="text-align: center;"><iframe allowfullscreen="" frameborder="0" height="502" src="https://www.youtube.com/embed/PAsbMDDhRFU" width="850"></iframe><br />
</div><br />
<br />
Maybe you can also use this "Atom Cheatsheet" to help you learn the shortcuts:<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://github.com/ruzickap/cheatsheet-atom/releases/download/v1.0.1/atom_cheatsheet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="566" height="640" src="https://github.com/ruzickap/cheatsheet-atom/releases/download/v1.0.1/atom_cheatsheet.png" width="451" /></a></div><div class="separator" style="clear: both; text-align: center;"></div><br />
You can download the available formats from GitHub: <a href="https://github.com/ruzickap/cheatsheet-atom/releases">https://github.com/ruzickap/cheatsheet-atom/releases</a><br />
<br />
<ul style="text-align: left;"><li><a href="https://github.com/ruzickap/cheatsheet-atom/releases/download/v1.0.1/atom_cheatsheet.pdf">Atom Cheatsheet - PDF</a></li>
<li><a href="https://github.com/ruzickap/cheatsheet-atom/releases/download/v1.0.1/atom_cheatsheet.svg">Atom Cheatsheet - SVG</a></li>
<li><a href="https://github.com/ruzickap/cheatsheet-atom/releases/download/v1.0.1/atom_cheatsheet.jpg">Atom Cheatsheet - JPG</a></li>
</ul><br />
Enjoy :-)</div>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com1tag:blogger.com,1999:blog-630168170911892729.post-19623803428700289632015-07-21T13:54:00.001+02:002015-08-14T17:44:19.511+02:00IPA (CentOS7) integration with Active Directory (W2K8)<div dir="ltr" style="text-align: left;" trbidi="on">I have been working with IPA in past few months and I would like to share my notes about the IPA and AD integration.<br>
<br>
Network diagram:<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrRQpsMzaB0MskKfSAtntItpVTLdFrYPVlYWegjgFmrZpyHsxkUK3SeMfWIngvjdWOBfZVRen73_WA4o3-VwG1kKNJDEX-IqnK3QihMherqpQ0sb-dySIYJIV-6G53pc-IndTnusDg6eA/s1600/ipa+%25281%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrRQpsMzaB0MskKfSAtntItpVTLdFrYPVlYWegjgFmrZpyHsxkUK3SeMfWIngvjdWOBfZVRen73_WA4o3-VwG1kKNJDEX-IqnK3QihMherqpQ0sb-dySIYJIV-6G53pc-IndTnusDg6eA/s400/ipa+%25281%2529.png"></a></div><br>
I created the trust between the Active Directory and IPA server. There is one windows client connected to the AD and one CentOS7 client connected to the IPA. Both clients are "registered" into the AD/IPA.<br>
</div><a href="https://linux.xvx.cz/2015/07/ipa-centos7-integration-with-active.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-700890378772788072014-12-23T15:12:00.000+01:002015-07-21T13:55:40.264+02:00Installtion F5 BIGIP Virtual Edition to RHEL7<div dir="ltr" style="text-align: left;" trbidi="on">The physical hardware running the F5 BIG-IP Local Traffic Manager loadblancing software is powerfull, but also quite expensive. For a lab environment you do not need to buy a new hardware, but you can get the <a href="https://www.f5.com/trial/big-ip-ltm-virtual-edition.php">F5 BIG-IP Local Traffic Manager Virtual Edition</a> and install it as virtual machine. <br>
<br>
That is the way I would like to describe here. I had one spare <a href="http://www8.hp.com/us/en/products/proliant-servers/product-detail.html?oid=5177957">HP ProLiant DL380p Gen8</a> so <a href="https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#RHEL_7">RHEL7</a> virtualization (<a href="http://www.linux-kvm.org/">KVM</a>) was the first choice.<br>
<br>
In short I have to deal with bonding (two cables going to the 2 separate switches), trunk containing 3 vlans, bridges and finally with the F5 configuration itself.<br>
<br>
<div style="text-align: center;"><img src="https://rawgithub.com/ruzickap/linux.xvx.cz/gh-pages/pics/f5_kvm/f5_kvm.svg" width="800"></div></div><a href="https://linux.xvx.cz/2014/12/installtion-f5-bigip-virtual-edition-to.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com1tag:blogger.com,1999:blog-630168170911892729.post-60739999379110277052014-10-25T18:58:00.000+02:002014-10-25T18:58:03.174+02:00Loadbalancing of PostgreSQL databases using pgpool-II and repmgr<div dir="ltr" style="text-align: left;" trbidi="on"><br>
I have to solve the <a href="http://www.postgresql.org/">PostgreSQL</a> HA and Redundancy few weeks ago. It has been written a lot about this topic, but I was not able to find some guide describing pgpool-II and repmgr. After reading some documents I build the solution which I'm going to describe.<br>
<br>
In short it contains the Master/Slave DB <a href="https://wiki.postgresql.org/wiki/Streaming_Replication">Streaming replication</a> and <a href="http://www.pgpool.net/">pgpool</a> load distribution and HA. The replication "part" is managed by <a href="http://www.repmgr.org/">repmgr</a>.<br>
<br>
Here is the network diagram:<br>
<br>
<div style="text-align: center;"><img src="https://rawgithub.com/ruzickap/linux.xvx.cz/gh-pages/pics/postgresql_pgpool_repmgr/diagram.svg" width="780"><br>
</div></div><a href="https://linux.xvx.cz/2014/10/loadbalancing-of-postgresql-databases.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com19tag:blogger.com,1999:blog-630168170911892729.post-76447165111762166962014-09-27T16:03:00.000+02:002014-09-27T16:09:18.713+02:00VMware vCenter Server 5.x Appliance instalation and configuration using ssh command line<div dir="ltr" style="text-align: left;" trbidi="on">Here you can find some notes about installing VMware vCenter Appliance from command line directly form ESXi using <a href="https://www.vmware.com/support/developer/ovf/">OVF Tool</a>.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6NriLRFRljobZpIo3_jYdIn_rXRTKjJflK4TTFwK7sH3aHdQPrgCF6hhgOBqMFm-8fo_L8HRq9kZWdYXFnhRV3UjslgAtlGS4m-Lgx9giB_wFgA10vC-g9Cof3pTuRmaLdbgPMPWU90/s1600/vcenter.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6NriLRFRljobZpIo3_jYdIn_rXRTKjJflK4TTFwK7sH3aHdQPrgCF6hhgOBqMFm-8fo_L8HRq9kZWdYXFnhRV3UjslgAtlGS4m-Lgx9giB_wFgA10vC-g9Cof3pTuRmaLdbgPMPWU90/s640/vcenter.png"></a></div></div><a href="https://linux.xvx.cz/2014/09/vmware-vcenter-server-5x-appliance.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-78016511857299382862014-09-03T20:20:00.000+02:002014-09-19T10:22:53.129+02:00Cacti 0.8.8b non-interactive installation and configuration<div dir="ltr" style="text-align: left;" trbidi="on">It may happen, you need to install Cacti without any user interaction. Usually after you install Cacti you need to finish the installation using Web installation wizard where you need to specify some details.<br>
<br>
I would like to share the details how to install the Cacti 0.8.8b the automated way without user interaction.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCPI_pZ4Yq_Bq8FPzEZzImhBiYQvEeiUoiiUebt4YDVaUxV1UqIPNeyNTNz_6iDeu34UhCxi62pONgyk_kTtWo2KADPQN7HZ6y0B5zoZGtOXVPSFSGK2ZICkMJ8UNL4UwpEOHQXXiAWEE/s1600/cacti01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCPI_pZ4Yq_Bq8FPzEZzImhBiYQvEeiUoiiUebt4YDVaUxV1UqIPNeyNTNz_6iDeu34UhCxi62pONgyk_kTtWo2KADPQN7HZ6y0B5zoZGtOXVPSFSGK2ZICkMJ8UNL4UwpEOHQXXiAWEE/s640/cacti01.png"></a></div><br>
</div><a href="https://linux.xvx.cz/2014/09/cacti-088b-non-interactive-installation.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com2tag:blogger.com,1999:blog-630168170911892729.post-77688271641497252882014-06-16T08:11:00.000+02:002020-05-10T05:12:13.399+02:00Systemd Cheatsheet<div dir="ltr" style="text-align: left;" trbidi="on">Recently I started to use the new init system called <a href="http://www.freedesktop.org/wiki/Software/systemd/">systemd</a>. I decided to write a simple "pdf" cheatsheet which helps me to print it and learn it.<br />
<br />
See the example: <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://github.com/ruzickap/cheatsheet-systemd/releases/download/v1.0.0/systemd_cheatsheet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="566" height="640" src="https://github.com/ruzickap/cheatsheet-systemd/releases/download/v1.0.0/systemd_cheatsheet.png" width="452" /></a></div><br />
<div style="text-align: center;"></div><br />
Here is the PDF: <a href="https://github.com/ruzickap/cheatsheet-systemd/releases/download/v1.0.0/systemd_cheatsheet.pdf">systemd_cheatsheet.pdf</a><br />
Here is the SVG: <a href="https://github.com/ruzickap/cheatsheet-systemd/releases/download/v1.0.0/systemd_cheatsheet.svg">systemd_cheatsheet.svg</a><br />
Here is the TeX: <a href="https://raw.githubusercontent.com/ruzickap/cheatsheet-systemd/master/systemd_cheatsheet.tex">systemd_cheatsheet.tex</a><br />
<br />
All source files can be found here: <a href="https://github.com/ruzickap/cheatsheet-systemd">GitHub - cheatsheet-systemd</a><br />
<br />
I used the following sources: <a href="https://wiki.archlinux.org/index.php/systemd">Arch Linux Wiki - systemd</a>, <a href="https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet">SysVinit_to_Systemd_Cheatsheet</a>, <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/index.html">RHEL7 - System_Administrators_Guide</a>.<br />
<br />
Enjoy ;-)</div>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com0tag:blogger.com,1999:blog-630168170911892729.post-24669629264732694432014-05-08T08:16:00.000+02:002015-07-21T16:16:49.218+02:00Turris - OpenWRT and guest access<div dir="ltr" style="text-align: left;" trbidi="on">In my previous <a href="http://linux.xvx.cz/2014/04/turris-openwrt-configuration.html">blog post</a> I described the way how to configure the <a href="https://www.turris.cz/en/">Turris</a> router for my <a href="https://rawgithub.com/ruzickap/linux.xvx.cz/gh-pages/pics/openwrt/wifi_openwrt4.svg">home network</a>. I decided to extend the configuration and create the Guest WiFi for other people who want's to access the "Internet". In my solution I'm using the <a href="http://kokoro.ucsd.edu/nodogsplash/">nodogsplash</a> captive portal solution which offers simple way to provide restricted access to an Internet connection. Here is the extended network diagram:<br>
<br>
<div style="text-align: center;"><img src="https://rawgithub.com/ruzickap/linux.xvx.cz/gh-pages/pics/openwrt/wifi_openwrt4.svg" width="680"><br>
</div></div><a href="https://linux.xvx.cz/2014/05/turris-openwrt-and-guest-access.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com5tag:blogger.com,1999:blog-630168170911892729.post-26936180747943572432014-04-22T09:56:00.000+02:002014-10-25T14:08:18.087+02:00Turris - OpenWRT and thermometers<div dir="ltr" style="text-align: left;" trbidi="on"><br>
I would like to put here some notes about the thermometers in <a href="https://openwrt.org/">OpenWrt</a> and <a href="https://www.turris.cz/en/">Turris</a>. <br>
<br>
<h3>Turris internal thermometers</h3>Turris has it's own thermometers which are monitoring the temperature of CPU and board. The how-to expects the previous lighttpd configuration described in my <a href="http://linux.xvx.cz/2014/04/turris-openwrt-configuration.html">previous post</a>. Here is the way how you can create graps wrom the data using <a href="http://oss.oetiker.ch/rrdtool/">RRDtool</a>.<br>
<br>
</div><a href="https://linux.xvx.cz/2014/04/turris-openwrt-and-thermometers.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com1tag:blogger.com,1999:blog-630168170911892729.post-24920154410007311452014-04-16T13:32:00.000+02:002018-02-09T12:38:14.493+01:00Turris - OpenWrt configuration<div dir="ltr" style="text-align: left;" trbidi="on"><div dir="ltr" style="text-align: left;" trbidi="on">You can find out some details about Turris wifi router, lot of photos and some command outputs in my <a href="http://linux.xvx.cz/2014/04/turris-open-enterprise-wi-fi-router.html">previous blog post</a>. Now I would like to describe the way how I configured it according the network diagram:<br>
<br>
<div style="text-align: center;"><img src="https://rawgithub.com/ruzickap/linux.xvx.cz/gh-pages/pics/openwrt/wifi_openwrt3.svg" width="680"><br>
</div><br>
I will also need my own web pages, transmission torrent client, microsd card, Dynamic DNS and extend the luci interface to add some more stats + graphs. Here are the steps how I did it. There is no guarantee it will work for another Turris router.<br>
</div></div><a href="https://linux.xvx.cz/2014/04/turris-openwrt-configuration.html#more">Read more »</a>Petr Ruzickahttp://www.blogger.com/profile/04252289127588463200noreply@blogger.com2