Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Create and Manage KVM Virtual Machines via Command Line

    KVM (Kernel based Virtual Machine) is an opensource virtualization technology built for Linux machines. It comprises a kernel module – kvm.ko which provides the core virtualization platform and a processor-specific module ( kvm-intel.ko for Intel processors or kvm-amd.ko for AMD processors ).

    There are two ways of creating virtual machines using KVM. You can leverage the virt-manager tool which is an X11 server that provides a GUI interface for creating virtual machines. Additionally, you can use the command line to create a virtual machine by defining various parameters associated with the virtual machine you want to deploy.

  • How to Install Gitea using Docker on Ubuntu 20.04

    Gitea is a free and open-source software package for self-hosting a Git server. It also offers collaborative features like bug tracking, wikis, and code review. Gitea is a community-driven and lightweight code solution written in Go.

    Developers need to regularly merge their code changes into a central repository when working. It can happen that you need to have a private central repository for your team that you will host and manage by yourself. You can use Gitea for this purpose. It is similar to GitHub, Bitbucket, and so on.

    In this tutorial, we learn how to install Gitea using docker on Ubuntu 20.04.

  • How to Install Mono Framework on Linux Mint 20 - LinuxCapable [Ed: Better avoided. Microsoft trap.]

    Mono is a free, open-source development platform based on the .NET Framework. Mono’s .NET implementation is based on the ECMA/ISO standards for C# and the Common Language Infrastructure. The Mono project has been in development for over a decade and continues to feature in many applications.

    In the following tutorial, you will know how to install and configure Mono on your Linux Mint 20 system.

  • [Fixed] Permission Denied: Are You Root? Error in Ubuntu

    You follow some tutorial on the internet that tells you to install a certain program or run some command. Probably it is something to do with a server.

    But when you run the command, you encounter this error:

    E: Could not open lock file /var/lib/dpkg/lock-frontend – open (13: Permission denied)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

  • How to Install Python 3.10 on Linux Mint 20 - LinuxCapable

    Python is one of the most popular high-level languages, focusing on high-level and object-oriented applications from simple scrips to complex machine learning algorithms.

  • How to Install Rust Programming Language on Linux Mint 20 - LinuxCapable

    Rust is an open-source systems programming language that focuses on speed, memory safety, and parallelism. Developers use Rust to create a wide range of new software applications, such as game engines, operating systems, file systems, browser components, and simulation engines for virtual reality. Rust is syntactically similar to C++ but can guarantee memory safety by using a borrow checker for validating references.

    For users, especially developers wanting to try out Rust Programming language, you will know how to install Rust Programming Language on Linux Mint 20.

  • How to Install SVN on RHEL-Based Linux Distributions

    Written in C programming language, Apache Subversion, colloquially abbreviated as SVN, is a free and open-source versioning control system that keeps track of historical versions of files and directories.

    Simply put, SVN is simply a version tracker that allows users to send changes made to files to a repository that tracks who made the changes in each file. The repository is similar to a file server. The difference is that it tracks changes and allows you to recover older versions of code or probe the history of the file changes.

  • How to Sync Files in Two-Way Using Osync Script in Linux

    You might ask yourself, why do I need a two-way/bidirectional file synchronization solution?

    [...]

    This stateful synchronizer acts as a rsync wrapper. Osync is attributed as stateful because it is not obligated to monitor the targeted files for changes. This attribute also makes it agentless.

    Between two runs, osync will compare replica file lists. These runs can be local-to-local or local-to-remote. The local-to-local replication run takes approximately 2 seconds whereas the local-to-remote replication run takes approximately 7 seconds.

  • How to change the default Editor from Nano in Ubuntu/Debian

    In this guide we are going to explore how to change the default editor in Ubuntu/Debian from nano to any other editor of your choice

    Linux configuration are mostly text based. Most Linux utilities use a text editor to allow you to edit configuration options and files. An example of this is utilities like crontab and visudo which will use the default editor defined to allow you to change the configurations.

  • How to delete Git tags – TecAdmin

    Tags work as an additional identifier for a particular incident. And in the case of Git, Tags are used as the reference points in your development workflow and it denotes special events like a new version release or new commit. You can create a new tag to give a reference for your newly launched version.

    We use tags for future reference of our previous releases and commits. And we can create and delete as per our convenience.

  • How to install Java 17 On Rocky Linux 8/Centos 8 – Citizix

    In this guide we are going to explore how to install Java Runtime Environment (JRE) and the Java Developer Kit (JDK) in Rocky Linux 8. This guide also works for Centos 8/Rhel 8/Alma Linux 8

    Java and the JVM (Java’s virtual machine) are required for many kinds of software, including Tomcat, Jetty, Glassfish, Cassandra and Jenkins.

    Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java.

  • don’t do clever things in configure scripts – Ariadne's Space

    Recently, a new version of ncurses was released and pushed to Alpine. The maintainer of ncurses in Alpine successfully built it on his machine, so he pushed it to the builders, expecting it to build fine on them. Of course, it promptly failed to build from source on the builders, because make install did not install the pkg-config .pc files to the right location.

    You might think, what a weird regression, and you’d be right. After all, pkg-config files are usually just installed to $libdir/pkgconfig in any sort of autotools-based build system. Indeed, in the past, this is what ncurses did as well.

  • Build Kubernetes pods with Podman play kube | Enable Sysadmin

    Enhancements include building images and tearing down pods with play kube and support for Kubernetes-style init containers.

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.