Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to run the Raspberry Pi Os in a virtual machine with Qemu and Kvm - LinuxConfig.org

    Although many operating system are available for the Raspberry Pi, the official one is the Raspberry Pi Os. The operating system is made to run for the arm architecture, and can be easily installed on the SD card which will be used as the main Raspberry Pi storage device. Sometimes we may want to perform some tests or try some applications without having a physical Raspberry Pi machine; in this tutorial we will see how we can create a virtual machine with the Raspberry Pi Os system using Qemu and Kvm (Kernel Virtual Machine).

  • How To Install CyberPanel on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install CyberPanel on Ubuntu 20.04 LTS. For those of you who didn’t know, CyberPanel is one of the first control panels on the market that is both open sources and uses OpenLiteSpeed web server which also packs Email, DNS, and FTP server.

    This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of the CyberPanel control panel on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How to Install Apache on Ubuntu 20.04 and Host Website

    Apache is an open source and free web server software developed by the Apache Software Foundation. It is officially called Apache HTTP Server. Apache is one of the oldest, cross-platform web servers and it is beginner-friendly.

    In this tutorial, we are going to install Apache version 2 (Apache2) on Ubuntu 20.04. Furthermore, we are going to configure virtual hosts so that more than one website can be hosted on a single server.

  • Source Command in Linux

    The source command is a built-in shell command used to read and execute commands from a file inside the current shell session. The source command is commonly used to retain/change the environment variable in the current shell. In short, sourcing a script will run execute commands in the current shell.

  • How to Install and Use Docker on Ubuntu 20.04 / 20.10

    Docker is a free and open source tool designed to build, deploy, and run applications inside containers. Host on which docker is installed is known docker engine. To work the docker engine smoothly, docker daemon service must always be running. For the applications where multiple containers are used then with the help of docker compose these containers are spin up as a service.

    In this guide, we will demonstrate docker installation on Ubuntu 20.04 /20.10 and will also learn about docker compose installation and its usage.

  • Build a home thermostat with a Raspberry Pi | Opensource.com

    My wife and I moved into a new home in October 2020. As soon as it started getting cold, we realized some shortcomings of the home's older heating system (including one heating zone that was always on). We had Nest thermostats in our previous home, and the current setup was not nearly as convenient. There are multiple thermostats in our house, and some had programmed heating schedules, others had different schedules, some had none at all.

    [...]

    The rest of the "temp" logic is relatively straightforward, but I do want to highlight a piece that I initially missed. My code was running for a few days, and I was working on the hardware, when I noticed that my relays were turning on and off every few seconds. This "short-cycling" isn't necessarily harmful, but it certainly isn't efficient. To avoid that, I added some thresholding to make sure the heat toggles only when it's +/- 0.5C°.

More in Tux Machines

Open Hardware/Modding: Arduino, Librem, Zenreader and More

  • Building a better battery analyzer with Arduino | Arduino Blog

    Your favorite device has just run out of juice, so you quickly take off the cover and reach into that old stash of alkaline batteries you have lying around. After trying countless combinations, you still cannot be sure they’re working properly, as each one has been slightly used. If only there were a way to know. In comes a maker named Moragor with his take on a battery analyzer. The one he built doesn’t just measure the voltage for a certain type of battery. Instead, users can select from three different types (alkaline, NiMh, or Li-on), along with the current from a sleek OLED display. Then, values get read, shown, and also logged to an SD card for more advanced analysis. The entire device is based on a custom PCB that acts as a shield for an Arduino Mega.

  • Librem 14 in Pictures

    We are excited that the Librem 14 is shipping, and we are so pleased with the production model that we wanted to share some brand new pictures of it inside and out...

  • Zenreader: A 4.7 inches E-Ink RSS Reader Powered by ESP32

    The ESP32 is a microcontroller that has very little RAM and isn't quite suited to deal with HTML and such. So I had to use a Raspberry Pi as a rendering proxy and transforms the RSS and the text on the page so that the ESP32 can digest. The idea is to transform XML RSS to JSON and transform any article URL to plaintext by a nodejs script via an HTTP API SaaS or whatever you call it. Even so, I think I'm stretching the ability of the little controller. Anyways, it works most of the time – or at least, I hope, not worse than the Kindle. At least now I can flip one page at a time.

  • It’s easier than ever to add two-way communication to Arduino devices

    There’s a brand new device-to-device communication feature available now in the Arduino IoT Cloud. It’s something we’ve been working on for a long time. So we’re excited to see how it’ll add a whole new connected dimension to your Arduino projects. [...] Combined with IoT Cloud’s dashboards this delivers a powerful new way to build incredible automations with minimal (if any) changes. Furthermore, it gives you smartphone control of your connected boards via the existing Arduino IoT Remote iOS and Android apps.

Latest on Kubernetes

  • Annotating Kubernetes Services for Humans | Kubernetes

    Have you ever been asked to troubleshoot a failing Kubernetes service and struggled to find basic information about the service such as the source repository and owner? One of the problems as Kubernetes applications grow is the proliferation of services. As the number of services grows, developers start to specialize working with specific services. When it comes to troubleshooting, however, developers need to be able to find the source, understand the service and dependencies, and chat with the owning team for any service.

  • Defining Network Policy Conformance for Container Network Interface (CNI) providers | Kubernetes

    Special thanks to Tim Hockin and Bowie Du (Google), Dan Winship and Antonio Ojea (Red Hat), Casey Davenport and Shaun Crampton (Tigera), and Abhishek Raut and Antonin Bas (VMware) for being supportive of this work, and working with us to resolve issues in different Container Network Interfaces (CNIs) over time. A brief conversation around "node local" Network Policies in April of 2020 inspired the creation of a NetworkPolicy subproject from SIG Network. It became clear that as a community, we need a rock-solid story around how to do pod network security on Kubernetes, and this story needed a community around it, so as to grow the cultural adoption of enterprise security patterns in K8s.

  • Certified Kubernetes Administrator

    CKA certification is a problem-solving exam, meaning you don’t have any questions but instead have a number of scenarios to troubleshoot.

Debian: Ritesh Raj Sarraf on Retaining Data, ProtonMail Bridge on Sparky Linux, EasyOS Updates

     
  • Ritesh Raj Sarraf: Catching Up Your Sources

    I’ve mostly had the preference of controlling my data rather than depend on someone else. That’s one reason why I still believe email to be my most reliable medium for data storage, one that is not plagued/locked by a single entity. If I had the resources, I’d prefer all digital data to be broken down to its simplest form for storage, like email format, and empower the user with it i.e. their data. Yes, there are free services that are indirectly forced upon common users, and many of us get attracted to it. Many of us do not think that the information, which is shared for the free service in return, is of much importance. Which may be fair, depending on the individual, given that they get certain services without paying any direct dime. [...] So for my communication, I like to prefer emails over any other means. That doesn’t mean I don’t use the current trends. I do. But this blog is mostly about penning my desires. And desire be to have communication over email format. Such is the case that for information useful over the internet, I crave to have it formatted in email for archival. RSS feeds is my most common mode of keeping track of information I care about. Not all that I care for is available in RSS feeds but hey such is life. And adaptability is okay. But my preference is still RSS. So I use RSS feeds through a fine software called feed2imap. A software that fits my bill fairly well.

  • ProtonMail Bridge

    There is a new tool available for Sparkers: ProtonMail Bridge

  •  
  • SeaMonkey bumped to 2.53.7.1

    Just a short post. There has been a bugfix release of SeaMonkey. EasyOS has SM 2.53.7. I have compiled SM 2.53.7.1 and it will be in the next release of Easy, expected to be version 2.7.1.   

  • Support for Samsung printers

    OK, I got those two files 'rastertospl' and ' libscmssc.so' and created a PET, 'printer-driver-samsung-1.00.39-amd64.pet'. It is about 1Mb so will increase the size of 'easy.sfs' by that amount.  Have included it in the build, but there has to be a limit to this of course. There are so many other special files for various brands of printer and scanner.   

  • Brightness control in the tray

    I have compiled 'setcolortemperature' package in OE. This has the 'sct' executable. Added this to the package-list for Easy, as well as the 'brightness-control' PET that provides the tray operation (and uses sct).   

Graphics: Turnip and Vulkan

  • Samuel Iglesias: Low Resolution Z Buffer support on Turnip

    Last year I worked on implementing in Turnip the support for a HW feature present in Qualcomm Adreno GPUs: the low-resolution Z buffer (aka LRZ). This is a HW feature already supported in Freedreno, which is the open-source OpenGL driver for these GPUs. What is low-resolution Z buffer Low-resolution Z buffer is very similar to a depth prepass that helps the HW avoid executing the fragment shader on those fragments that will be subsequently discarded by the depth test afterwards (Hidden surface removal). This feature comes with some limitations though, such as the fragment shader not being allowed to have side effects (writing to SSBOs, atomic operations, etc) among others. The interesting part of this feature is that it allows the applications to submit the vertices in any order (saving CPU time that was otherwise used on ordering them) and the HW will process them in the binning pass as explained below, detecting which ones are occluded and giving an increase in performance in some specific use cases due to this.

  • Google Deprecating RenderScript In Favor Of Vulkan Compute - Phoronix

    Google announced today that with Android 12.0 they will be deprecating their RenderScript APIs. Moving forward Android developers should primarily target the Vulkan API for high performance compute needs. RenderScript has been an API around since Android 3.0 for heterogeneous CPU/GPU programming and for some time even had a 3D rendering API. RenderScript though has been of less relevance with GPU compute being available for some time via Vulkan and even OpenGL. Some current Android devices only support RenderScript for CPU-only execution and with Android 12.0 the APIs will be deprecated.

  • Vulkan 1.2.176 Released With VK_EXT_extended_dynamic_state2

    It's been just one week since the release of Vulkan 1.2.175 that introduced the Vulkan Video extensions while out this morning is now the Vulkan 1.2.176 revision.