Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Use lspci on Linux to see your hardware | Opensource.com

    When you're running Linux on a desktop or server, sometimes you need to identify the hardware in that system. One command used for this is lspci. It works by showing all devices attached to the PCI bus. It's provided by the pciutils package and is available for a wide range of Linux and BSD-based operating systems.

  • Martin-Éric Racine: sudo apt-get update && sudo apt-get dist-upgrade

    Debian 11 (codename Bullseye) was recently released. This was the smoothest upgrade I've experienced in some 20 years as a Debian user. In my haste, I completely forgot to first upgrade dpkg and apt, doing a straight dist-upgrade. Nonetheless, everything worked out of the box. No unresolved dependency cycles. Via my last-mile Gigabit connection, it took about 5 minutes to upgrade and reboot. Congratulations to everyone who made this possible!

    Since the upgrade, only a handful of bugs were found. I filed bug reports. Over these past few days, maintainers have started responding. In once particular case, my report exposed a CVE caused by copy-pasted code between two similar packages. The source package fixed their code to something more secure a few years ago, while the destination package missed it. The situation has been brought to Debian's security team's attention and should be fixed over the next few days.

  • Kubernetes clusters within AWS EKS
  • Introduction to managing Linux containers | FOSS Linux

    Linux Containers have been around for some time but became widely available when introduced in the Linux kernel in 2008. Containers are lightweight, executable application components that combine app source code with OS libraries and dependencies required to run the code in any environment. In addition, they offer application packaging and delivery technologies while taking advantage of application isolation with the flexibility of image-based deployment methods.

    Linux Containers use control groups for resource management, namespaces for system process isolation, SELinux Security to enable secure tenancy and reduce security threats or exploits. These technologies provide an environment to produce, run, manage and orchestrate containers.

    The article is an introductory guide to the main elements of Linux container architecture, how containers compare with KVM virtualization, image-based containers, docker containers, and containers orchestration tools.

  • A Candid explainer: Opt is special – Blog – Joachim Breitner's Homepage

    Initially, the upgrade rules of Candid were a straight-forward application of the canonical subtyping rules. This worked and was sound, but it forbid one very commonly requested use case: Extending records in argument position.

  • How to boot RHEL 8 system into Rescue mode

    This article describes how to bootup RHEL/CentOS 8 system into rescue mode using the systemd rescue target unit.

    You may need to boot your RHEL 7/8 and CentOS 7/8 system to fix some common problems when the system refuse to boot normally.

  • Q&A trip to Linux’s Black Hole - /dev/null | Linux Journal

    As per NASA, “A black hole is a place in space where gravity pulls so much that even light can not get out”. Something similar exists in the Linux universe as well - it discards anything written to it and when read, just returns an EOF (end-of-file). It’s a special file which is also referred to as null device - /dev/null

  • How To Install phpMyAdmin on Debian 11 - idroot

    In this tutorial, we will show you how to install phpMyAdmin on Debian 11. For those of you who didn’t know, phpMyAdmin is a free, open-source, and web-based application used for managing MySQL or MariaDB databases from the web interface. It is written in PHP and is one of the most popular database administration tools used by web hosting companies to enable novice system administrators to carry out database activities.

    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 through the step-by-step installation of phpMyAdmin on a Debian 11 (Bullseye).

  • How to increase the swap space in Linux | FOSS Linux

    Linux is an open-source Unix-like operating system based on the Linux kernel. The Linux operating system has recently evolved to run on a wide variety of hardware, from phones, tablets, and supercomputers. Every Linux-based OS is packaged with a Linux Kernel that manages hardware resources and software packages that make up the operating system.

    How do I increase swap space in Linux? Have you been looking for a way to increase the swap space on your Linux PC? If so, don’t worry since this article will cover all the aspects you need to know about increasing swap space in Linux.

    Generally, every processor in the machine requires a certain amount of data capacity to run and store loaded applications. Therefore, all PCs are designed to have both primary and secondary memories from where all the programs can be run and stored information is executed.

  • How to install AWS sdk on Ubuntu - Unixcop

    AWS CLI or Amazon Web Service Command Line Interface is a command-line tool for managing and administering your Amazon Web Services like s3, ec2, lambda, and more services. AWS CLI provides direct access to the public API of Amazon Web Services.

  • How to copy|sync data between s3 to s3 or local using AWS CLI - Unixcop

    Aws Cli is a very powerful tool for working with AWS services. If you have configured the Access key and secrete key on your working machine then you can easily play with AWS services from your local machine.

  • How to Install Pip 3 or 2 on Debian 11 Bullseye Linux - Linux Shout

    Pip stands for Pip Installs Python and is a tool for Python programming language to install various modules. It is an explicit replacement and indirect successor for the older one easy_install from the Python setup tools.

    In a direct comparison, the syntax of pip is based on that of other package administrators, such as APT. Furthermore, even with pip, dependencies on other modules are resolved directly, ie additionally required modules are installed directly. Using it we can install packages from Python Package Index (PyPI) and other repositories.

  • Linux 101: What are environment variables? - TechRepublic

    How many times have you installed something on Linux, only to find out that you need to set certain environment variables before the installation will work? For me, it happens all the time.

    But what are these environment variables, and how do you set them? Let's dive in and find out.

  • Understand Cyber Security and Cryptography - Unixcop

    To understand cyber security and cryptography we will continue further today. In the previous chapter, we discussed the basics elements.

    Also In 1960-70 computers started getting popular in industry and offices. Initially, security and encryption were a concern for govt offices only.

    In addition to In 1973 IBM developed the Fiestal cipher. in 1949 an American cryptographer Claude Shanon introduced the substitution and permutation method of cryptography.

    Another Method of Cryptography came into the picture as well. “Confusion and Diffusion” was that new cryptography method.

  • Microservices with Python3 - Unixcop

    They were interested in microservices. How can microservices use them for increased agility and scalability?

    Microservices are architectural style and pattern structures which application as a collection of services. Services are highly maintainable, testable, loosely coupled, independently deployable, and precisely focused.

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.