Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Steve Litt's No Bullshit Guide to LAN-Peer Qemu VMs

    To prevent confusion and ambiguity, this document repeatedly and redundantly describes each element as being either on the host or the VM guest. The host is the physical computer (metal computer) on which the VM guest is run. The VM guest is a Virtual Machine running on the host. The downfall of most online Qemu documentation is they rarely make this distinction, which can confuse the daylights out of someone not already knowing Virtual Machine technology extremely well.

    The examples in this document use a physical host that is running Void Linux. The VM guest runs Devuan Linux. This document's examples all use a LAN using the 192.168.0.0/24 network (subnet, actually), with a physical cable modem connection to the Internet at 192.168.0.1, the host at 192.168.0.2, a printer with HTML interface at 192.168.0.13, and a different Linux computer at 192.168.0.97. These four machines are all physical. On the LAN, the default route is the cable modem at 192.168.0.1, which also serves as a DHCP server, firewall, and router.

    A LAN-peer is a VM guest that can interact with all the computers and devices on the host's LAN. Also, all the computers and devices on that LAN can interact with the VM guest. A LAN-peer VM guest is, from a networking standpoint, exactly like a physical computer on the LAN.

    If parts of this document seem redundant and excessive, I've done this so that there's absolutely no confusion for anybody, regardless of their Virtual Machine or Qemu knowledge.

  • Using NetworkManager in Gentoo Linux | Fitzcarraldo's Blog

    My current two laptops running Gentoo Linux (both with OpenRC, elogind, eudev and wpa_supplicant) use NetworkManager rather than Netifrc. (Actually, my desktop machines also use NetworkManager even though they are always connected to the same network.) NetworkManager has worked with wired and wireless networking on these laptops without any issues for over five years now. This post summarises how it is installed and configured.

  • Debian Disable ipv6 on Interface – Linux Hint

    When you run Debian 10, the IPv6 network connections are enabled by default. But, in most situations, you need to disable the default setting of IPV6. However, we will give you a complete demo on how to disable the IPV6 interface on Debian 10 system.

    To execute all commands, you must have the privileges to run the system administrative commands.

  • How To Install and Use Git On Linux for Beginners – Linux Hint

    As developers, we are no strangers to managing and saving various copies of code before joining it to the main code.

    Let’s discuss a better and efficient way to manage various code versions and merge them with the main code after testing.

  • How To Mount And Use NFS Shares On Linux Sharing Files Easily Using NSF – Linux Hint

    Developed by Sun Microsystems in 1984, NFS or Network File Shares is a file system protocol used for accessing files over a network similar to a local storage device.

    NFS Shares are powerful and popular as they allow users to share files and directories over a local network and the internet. However, it is better to limit NFS shares to local and trusted networks as files don’t get encrypted on the machines. However, the problem was addressed and fixed on a recent version of the NFS protocol. You may need to set up complex authentication methods such as Kerberos.

  • How to Configure OpenVPN in Kali Linux – Linux Hint

    OpenVPN is a free and open-source VPN application that allows you to encrypt and send your network data via secure tunnels from one device to another not located on the same network. OpenVPN uses OpenSSL to encrypt network traffic to and from your devices.

    Once connected to an OpenVPN server, your network traffic gets routed through the server, keeping your data secure. In turn, this helps protect you from network attacks, especially when connected to public networks.

  • How to Enable Kali Linux Undercover Mode – Linux Hint

    Penetration testers and Black Hat hackers value discretion and anonymity above all else. A distribution such as Kali Linux, a tool preferred by is Security Researchers and Penetration testers, may not provide these all the time, especially in public locations where running code and having multiple terminals open can easily call unnecessary attention to yourself.

    Offensive Security took note of this and included a mode known called undercover mode in Kali Linux 2019.4.

  • How to Install Linux Headers on Kali Linux – Linux Hint

    Welcome to this concise article discussing how to install Linux headers on Kali Linux.

    Linux header files are used in interface definition between various components of the kernel. They are also used to define interfaces between the kernel and userspace. A typical case where Linux headers are required is running a Hypervisor because the tools require modules that interact with the kernel.

    By default, Kali Linux does not ship with Linux headers installed; you will have to do it manually.

  • How to Install and Configure OpenVAS on Kali Linux – Linux Hint

    OpenVAS or Open Vulnerability Assessment System is a Pen-testing framework whose collection of tools allow you to scan and test systems for known vulnerabilities. OpenVAS uses a database containing a collection of known exploits and vulnerabilities.

  • How to Install and Configure WireGuard on Kali Linux – Linux Hint

    WireGuard is a simple and fast open-source VPN tunneling service built with high-end cryptographic technologies. It is very easy to set up and use, and many consider it better than OpenVPN or IPSec. WireGuard is also cross-platform and supports embedded devices.

    WireGuard works by setting up virtual network interfaces such as wlan0 or eth0 that can be managed and controlled like normal network interfaces, helping configure and manage the WireGuard easily using net-tools and other network managing tools.

    This guide will show you how to set up a WireGuard client and server on a Kali Linux system.

    Let us start by installing WireGuard on the system.

  • How to Resize and Format Disk with PartedMagic – Linux Hint

    PartedMagic is a Linux distribution used for partitioning, data recovery, and other data-related forensics operations. It mainly comes packaged as an ISO tool you can burn to a CD/DVD or USB flash drive and booted live without installing it.
    Its primary use is on GNU Gparted and PartitionMagic packages, although PartedMagic is a commercial Software. It’s essential for data.

    This tutorial will walk you through PartedMagic operations like creating bootable media, booting up, partitioning, data recovery, etc.

  • How to Setup Virtualization on Synology NAS? – Linux Hint

    Synology has official support for virtualization on its NAS products. You can create and run Windows or Linux virtual machines on your Synology NAS really well and turn your Synology NAS into a software development environment.
    To run virtual machines on your Synology NAS, you need to have at least 8 GB or 16 GB (or more) memory installed, depending on your requirements. Then, you can install and use the official Virtual Machine Manager app to create and manage your virtual machines from the Synology Web GUI.

    In this article, I will show you how to set up virtualization on your Synology NAS and create a Windows 10 and an Ubuntu 20.04 LTS virtual machine on your Synology NAS. I will be using the Synology NAS model DS1821+ for the demonstrations. So, let’s get started!

  • How to install and add pCloud drive to startup on Manjaro | FOSS Linux

    PCloud is a cloud service offering 10BG free storage space for saving personal files on a secure cloud. It is available for Linux and other operating systems. pCloud also puts privacy first using its advanced encryption technology. Further, the pCloud storage drive is accessible via a desktop client in Linux or via your web browser.

    This guide will go through installing pCloud, opening your pCloud Drive, and adding pCloud Drive to startup on your Linux Manjaro distribution.

  • Introduction to Apache Solr. Part 2: Querying Solr – Linux Hint

    Apache Solr [1] is a search engine framework written in Java and based on the Lucene search library [6]. In the previous article, we set up Apache Solr on the soon-to-be-released Debian GNU/Linux 11, initiated a single data core, uploaded example data, and demonstrated how to do a basic search within the data set using a simple query.
    This is a follow-up article to the previous one. We will cover how to refine the query, formulate more complex search criteria with different parameters, and understand the Apache Solr query page’s different web forms. Also, we will discuss how to post-process the search result using different output formats such as XML, CSV, and JSON.

  • How to install Enlightenment Desktop in Fedora 30 Workstation – Linux Hint

    Enlightenment is a desktop environment like GNOME, KDE, MATE, Cinnamon, and others. The first release appeared in early 1997. It is a graphical desktop environment maintained by the Enlightenment project. It has a typical UNIX/X11-based desktop style.
    It has a rather elegant desktop interface and a different central philosophy of design.

    Enlightenment desktop can manage windows and files. It can do compositing. It can also start applications as well as handle UI and manipulate system settings. In fact, Enlightenment was the first Window Manager to bring themes into the X11 window system.

    Enlightenment is in existence before GNOME and is hardly younger than KDE. Its first release was version 0.1 in the first part of 1997. Initially, it was launched as a simple window manager. Despite the limited capability of computers to handle a user interface’s complex functionality, it proved to be very flexible in terms of behavior and visuals features.

    Enlightenment has too many features along with too much flexibility. One can configure it to be a simple GUI desktop or make it more dazzling with various activity options.

  • How to enable Blue Light Filter on Linux Mint? – Linux Hint

    The human eyes can filter the ultraviolet and many other harmful radiations of the sun. However, the eyes cannot filter the blue light. The excessiveness of blue light puts the strain on the eyes. Moreover, blue light passes the signal to the mind that it is daytime even if you are using blue light in the nighttime. Overall, blue light is harmful to humans because it interrupts the regular sleep-wake system, which ultimately damages our immune system.

    Filtering the blue light is a very important activity to perform on your system. Redshift is free and open-source software that automatically adjusts the color of the screen based on temperature, your current location, and daytime.

    In this article, we will learn to install Redshift on Linux Mint for enabling the blue light filter.

    We are using Linux Mint 20 for executing the commands and preparing this guide. Redshift can be installed on Linux Mint from the Software Manager and Linux Mint 20 standard repositories.

  • How to Setup a Kali Linux Mirror – Linux Hint

    Using the easy-to-follow steps provided in this guide, you can set up a Kali Linux mirror that can host Kali’s main repositories and images. A Kali Linux mirror is handy.
    Let us get started.

  • How to Build A Simple Blog With Hexo Static Site Generator – Linux Hint

    In the modern age, websites are the building blocks of information. From enterprise, eCommerce, social websites to simple blogs, websites allow people to share ideas and thoughts.
    This tutorial will show you how you can set up a simple blog using a static site generator that is very fast and easy to use.

  • How To Rebuild a Source Package In Kali Linux – Linux Hint

    Even though it’s customized explicitly for penetration testing, Kali Linux is a flexible and highly customizable Linux distro. It allows you to customize things like the Desktop environment, packages, and even the kernel as long as you know what you are doing,

    Let’s discuss how we can modify installed packages and rebuild them from the source.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.