today's howtos
-
How to set up WireGuard server on Debian | FOSS Linux
WireGuard is an open-source, free, ultra-modern, and quick VPN server with cutting-edge encryption. It is often quicker, easier to deploy, and has a lower footprint than other popular VPN options, including IPsec and OpenVPN. It was initially published for the Linux kernel.
However, WireGuard is gaining cross-platform support for FreeBSD and other major operating systems such as macOS, Android, and Windows. This guide details the installation and configuration of WireGuard VPN on a Debian 11 Bullseye Linux server.
WireGuard is a peer-to-peer VPN that does not operate on a client-server basis. Depending on the setup, a peer can function as a typical server or client. It operates by establishing a network interface on every peer device that serves as a tunnel. In the SSH paradigm, peers authorize each other by sharing and verifying public keys. The public keys are associated with a list of IP addresses permitted in the tunnel. UDP is used to encapsulate VPN communication.
This article guide tutorial will demonstrate how to configure your own WireGuard VPN server on Debian 11 Bullseye. WireGuard was designed exclusively for the Linux kernel. It operates within the Linux kernel and enables the creation of a quick, contemporary, and secure VPN connection.
-
How to install Go on Ubuntu 22.04 | FOSS Linux
Golang, alias Go is a cross-platform and open-source programming language that can be set up on several operating systems like Linux, Windows, and macOS. The language is well-built to be used by professionals for application development purposes. Go is simple to build and manage, making it an ideal programming language for creating efficient software. It is reliable, builds fast, and has efficient software that scales fast.
Go code syntax resembles C’s, but the language provides enhanced features, including memory safety, structural typing, garbage college, and much more. This open-source language was designed by Google’s engineers, Robert Griesemer, Ken Thompson, and Rob Pike. Go is statistically typed and produces compiled machine code binaries, making it well-known among developers because they don’t need source code compilation to create an executable file.
Another great thing about Go is the concurrency mechanisms that make writing programs that fully capitalize on multicore and networked PCs stress-free. At the same time, its novel-typed systems allow flexible and modular program constructions.
-
How to play Volcanoids on Linux
Volcanoids is a base-building open-world survival game developed and published by Volcanoid. It was released for Windows. However, it is possible to play on Linux with some tweaks. Here’s how you can play Volcanoids on your Linux PC.
-
How to Install Waterfox Browser on Linux Mint 21 LTS
Waterfox is a web browser that is designed for privacy and security. It is made for 64-bit processors but runs on ARM devices like smartphones or tablets. It can be found across multiple platforms, including classic desktop systems and recent ones such as Mac OS X/ Linux interfaces. Waterfox provides features that are not available in other browsers, such as private browsing, security settings, and ad blocking. It also has an interface similar to Firefox, making it easy to use. Waterfox is an excellent choice for those who want to maintain their privacy and security online.
In the following tutorial, you will learn how to install Waterfox Browser on Linux Mint 21 LTS series using the command line terminal with tips about maintaining and removing the browser versions.
-
Find Your MAC address in Ubuntu and Other Linux [CLI & GUI]
When you are learning networking or troubleshooting it, you would need to know the MAC address.
A computer can have more than one MAC address. It is because the MAC address is a core part of networking, and each networking peripheral device has its own MAC address.
So, your WiFi card has a MAC address, and so does the Ethernet (LAN) port. Even the Bluetooth has one.
The MAC address, also known as the physical address, is a 12-digit hexadecimal code (48-bits) and is represented as MM:MM:MM:SS:SS:SS
In this tutorial, I’ll share the steps for finding the MAC address of your desired networking interface in Linux. I’ll show both command line and GUI methods.
-
Two example Grafana Loki log queries to get things from ntpdate logs
Recently I wanted to estimate how much the clocks on our servers drift over time (to give me a quick comparison to how BMC clocks drift).
[...]
These days we have a Grafana Loki installation in addition to our long standing central syslog server, so rather than write some awk I decided to use Loki's LogQL query language to answer my question, and then mentioned it on the fediverse with the final query. Today I want to run down how this query is put together, along with a less obvious version that tells me how frequently our different NTP servers are used as a time source by ntpdate.
-
Ubuntu 22.04 with multiple disks and (U)EFI booting
One of the traditional and old problems with UEFI booting on servers is that it had a bad story if you wanted to be able to boot off multiple disks. Each disk needed its own EFI System Partition (ESP) and you either manually kept them in synchronization (perhaps via rsync in a cron job) or put them in a Linux software RAID mirror with the RAID superblock at the end and hope hard that nothing ever went wrong. To my surprise, the state of things seems to be rather better in Ubuntu 22.04, although there are still traps.
Modern Linuxes don't put much in the ESP, and in particular even Fedora no longer puts frequently changing things there. In Ubuntu 22.04, what's there in the EFI/ubuntu subdirectory is a few GRUB binaries and a stub grub.cfg that tells GRUB where to find your real /boot/grub/grub.cfg, which normally lives in your root filesystem. All of these are installed into /boot/efi by running 'grub-install', or into some other location by running 'grub-install --efi-directory=/some/where'.