today's howtos
-
Fix top-level /.config and /.local at startup
In EasyOS 4.5.1 (and earlier), after bootup you will see top-level folders /.config and /.local, with folders and files inside them. This should not be happening; they should be created under /root
There is a misconfiguration somehow, HOME='/' when enter /etc/rc.d/rc.sysinit, whereas it should be HOME='/root'
-
Fix NTFS Partition Is In An Unsafe State Error In Linux - OSTechNix
The other day I booted a Windows 10 system with Ubuntu live cd. When I tried to mount a Windows partition from the Linux live cd environment, the windows partition refused to mount in read/write mode and displayed this error - NTFS partition is in an unsafe state.
-
How to Watch YouTube Videos in the Linux Terminal With ytfzf
You don't have to leave the comfort of your Linux terminal to watch YouTube videos. ytfzf makes it easier to search YouTube from the command line.
It's no secret that Linux keyboard warriors spend their lives in the terminal, only surfacing to load a browser and watch their favorite Taylor Swift music video on YouTube.
With ytfzf, you can search YouTube videos from your terminal and stream them using a lightweight media player. You'd never need to open a browser to watch YouTube on Linux again!
-
Introduction to Linux Log Management
In addition to failures, logs contain warnings, which can alert you about a system that, although it can appear to be working correctly, might have subtle issues or poor performance. (Remember, you want high-performance computing, not meh-performance computing.) Logs contain information about successful logins, failed logins, and any root access or use of sudo, which allows you to look for anything unexpected or abnormal.
Beyond errors and warnings, looking for abnormal behavior is a primary goal of examining logs. Although written in 1989, The Cuckoo's Egg by Clifford Stoll offers a glimpse of how abnormal behavior or “gaps” in logs can lead to the discovery of compromised systems. The book is not necessarily a warning for high-performance computing (HPC) administrators, but rather a reinforcement of good administrative behavior.
-
Getting started with Linkerd
If you’ve done anything in the Kubernetes space in recent years, you’ve most likely come across the words “Service Mesh”. It’s backed by a set of mature technologies that provides cross-cutting networking, security, infrastructure capabilities to be used by workloads running in Kubernetes in a manner that is transparent to the actual workload. This abstraction enables application developers to not worry about building in otherwise sophisticated capabilities for networking, routing, circuit-breaking and security, and simply rely on the services offered by the service mesh.
In this post, I’ll be covering Linkerd, which is an alternative to Istio. It has gone through a significant re-write when it transitioned from the JVM to a Go-based Control Plane and a Rust-based Data Plane a few years back and is now a part of the CNCF and is backed by Buoyant. It has proven itself widely for use in production workloads and has a healthy community and release cadence.
-
Secret command Google doesn’t want you to know — mina86.com
If you’ve travelled abroad you might have noticed Google tries to be helpful and uses language of the region you’re in on its websites. It doesn’t matter that your operating system is in, say, Spanish; Google Search will still use Portuguese if you happen to be in Brazil.