Setup a Quay mirror for offline installations with mirror-registry

In order to setup disconnected registry for installation, follow this blog post by Daniel at Introducing Mirror Registry for Red Hat OpenShift. At the end of the process it will output something like: INFO[2022-08-19 07:10:22] Quay installed successfully, permanent data is stored in /etc/quay-install INFO[2022-08-19 07:10:22] Quay is available at https://${HOSTNAME}:8443 with credentials (init, ${PASSWORDSTRING}) Once the setup is done, remember several steps: Edit /etc/containers/registries.conf to add relevant entries for our registry as required: ...

August 19, 2022 · 2 min · Pablo Iranzo Gómez

RHCE and RHCSA tips and tricks

I did the RHCE exam some time ago, and still there are some tricks and advices I tell the people to bear in mind some of the things I used and that were also provided in the Red Hat Enterprise 8 Administration book: Don’t remember every step, it’s not effective, for example as I don’t recall syntax for BIND, I do remember package that has some files with examples and I use that one to check what I need to do Install mlocate and run updatedb as soon as you start, then you can use locate <file> to find out files in your system Use your preferred editor… it’s common to use vi or vim as it’s pretty standard, but if you’re used to another, make yourself comfortable in the system. As one instructor like to say: “Anyone with unlimited amount of time will be able to pass the exam”. RHCE is a performance-based exam, that means that you need to cover all the required goals within the exam duration, and in the end, the goals is to accomplish, not to do in the smarter way. For example, if you’re told to configure resolv.conf you can either use nmcli to modify the settings or you can pipe the results to it via echo nameserver 1.1.1.1 > /etc/resolv.conf, in the end, both will have the same effect, and of course, using nmcli will be smarter when you’re keeping multiple systems and using automation… but for the exam, the goal is to focus on the fastest path to master at it. You can find more tricks at Red Hat Enterprise 8 Administration Enjoy! (and if you do, you can Buy Me a Coffee ) ...

July 13, 2022 · 2 min · Pablo Iranzo Gómez

Logitech R400 remote presentation controller on Linux

Since long ago I had it in my mind getting one remote presenter, but most presenters just had two buttons, and the ones that looked to be valid for my use case, required four and seems that only Rii had similar devices, but I didn’t went for it as it was not a huge need, so I ended up with a mini keyboard I had for Raspberry Pi and some debugging in case I had that need. ...

April 1, 2022 · 3 min · Pablo Iranzo Gómez

imapfilter for Gmail

Until two weeks ago I was using an IMAP server (based on Zimbra) for my work email, but the date for migration to Gmail arrived with no choice to postpone… I was very tied to using my current setup, where: offlineimap was downloading all the email to a local maildir folder, imapfilter classified the email into folders based on local options mutt accessed the maildir folder for working with the emails a script to remove duplicate emails from disk imapdedup.py before next sync But, with the change and peculiarities for Gmail, it was no longer working… I was trying several times with different combinations of folder translations but each one took approximately one day to sync all emails, to find out the next issue with the folder translation. ...

July 7, 2021 · 5 min · Pablo Iranzo Gómez

Geo replication with syncthing

Some years ago I started using geo replication to keep a copy of all the pictures, docs, etc After being using BitTorrent sync and later resilio sync (even if I didn’t fully liked the idea of it being not open source), I gave up. My NAS with 16 GB of ram, even if a bit older (HP N54L), seemed not to have enough memory to run it, and was constantly swapping. ...

June 12, 2021 · 3 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Associate Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.