Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Making two Unix permissions mistakes in one

    In the process of writing this entry I learned that POSIX umask supports symbolic modes, and that they work this way. You get and set umask modes like 'u=rwx,g=rx,o=rx' (aka '022', the traditional friendly Unix umask), and they're the same permissions as you would use with chmod. I believe that this symbolic mode is supported by any modern Bourne compatible shell (including zsh), but it isn't necessarily supported by non-Bourne shells such as tcsh or rc (which is my shell).

  • New Tool: dnsresolver.py

    By no way is it a full fledged DNS server: it implements particular features that I’ve needed for different experiments I conducted.

  • RBAC and ABAC with AWS IAM

    We talked about how AWS CIP, STS and IAM can serve as the foundation of application authorization in our last post, i.e., how the application gets the temporary credential representing a specific role (i.e. privileges) to access the resources of the applications — an architecture understanding how different building blocks work together under the hood.

    Now, we need to strategize how we actually build the authorization mechanism. When talking about application authorizations, we often encounter two concepts RBAC (role-based access control) and ABAC (attribute-based access control).

  • How To Create a File in Linux by Commands and GUI Guide 2021

    To create a file in Linux is easier than eating ice-cream. Yes, I am talking about creating a file in the windows operating system is quite simple and easy.

    But to create a file in Linux is easier than creating a file in the Windows operating system, and you have multiple options to complete this task If you are using Linux.

    If you think it is not true, then continue reading..

    In this article, I am going to cover multiple ways to create a file in the Linux operating system. All methods have an appropriate example, so you can understand better.

    I cover the following methods for creating a file in Linux step by step, you can jump on a particular section by clicking on the link.

  • How To Print QR Code Card For Connecting To Your WiFi - OSTechNix

    Are you entering your WiFi password manually on each device? Well, those days are over now! A web service named WiFi Card provides an ingenious way to print QR code card for connecting to your WiFi networks.

  • How to Add a WhatsApp Chatbox to Your WordPress Site - Make Tech Easier

    While email is often the perfect channel communicating with your site’s visitors, in some cases, it might be too slow, or inconvenience for your specific business. For these situations, you’ll want to add a WhatsApp chatbox to your site so the user can get in touch immediately.

    For this post, we’re going to look at how to add a WhatsApp chatbox to your WordPress site. Before this, let’s talk more about what a chatbot is.

  • How to Install and Use vnStat on Ubuntu

    vnStat is a console-based network traffic monitoring tool for Linux. It provides network statistics for various time periods.

    VnStat uses the network interface statistics provided by the kernel as the source of information - ie from the proc and sys filesystem. It keeps a log of hourly, daily, and monthly network traffic for the selected interface(s).

    In this tutorial, we learn how to install and use vnStat in Ubuntu.

  • How to Set Up Passwordless SSH login – TecAdmin

    Accessing computers remotely has become an important part of the IT world especially in today’s scenario where everyone is working from home due to covid19. There are mainly two ways of connecting machines remotely depending on your operating system like SSH for Linux and RDP for Windows. But every time we try to connect with our remote server, we have to enter a password. So how to set up a passwordless SSH login? In this tutorial, we will guide you on the same.

    SSH works by installing SSH server and SSH application respectively on destination(remote) and source(Client) machine.

    After installing the SSH application on the client-side, you can provide information related to the remote server. On the server-side, There will be an SSH daemon that continuously checks for specific TCP/IP ports for client connection requests. Once the client initiates the connection requests with the right credentials, the SSH daemon starts exchanging the identification data with the client to establish a secured remote connection.

  • How to install SELinux on Ubuntu Server 20.04 - TechRepublic

    Ubuntu Server has its own Mandatory Access Control system, called AppArmor, which is similar to SELinux, in that they both provide tools to isolate applications from one another, to protect the host system. But how each of these tools is used is quite different. In fact, just because you know one, doesn't mean you'll be able to immediately use the other. That's why you might want to consider installing SELinux on Ubuntu Server. You might be migrating from a Red Hat-based distribution and have invested considerable time learning how to use that particular system.

    Good thing you can install SELinux on Ubuntu.

    In fact, it's actually quite simple, and I'm going to show you how it's done. Once finished, you can start working with SELinux on Ubuntu Server in the same way you did when administering your Red Hat-based systems.

  • How to install themes and icon packs on elementary OS | FOSS Linux

    Before installing themes and icon packs on our elementary system, let us quickly overview this OS. Elementary OS is a Linux distro based on the Ubuntu LTS. The system is well-known for its fast, open-source nature and its top-notch privacy and security.

    Elementary OS started as a set of themes and applications designed for Ubuntu before becoming a standalone Linux distro. Being an Ubuntu-based OS, the system is compatible with its repo’s and packages. A point to note is that the system is based on Ubuntu’s Long Term support releases.

  • How to remove User in Linux by userdel command Guide for Beginners

    Why do you want to remove a user in Linux? It’s up to you, but you can use userdel command to delete a user in Linux with or without a home directory. userdel command belongs to RHEL, CentOS, Fedora, etc. but it is a low-level utility in Debian based operating systems such as Ubuntu, Debian, etc. You can use the deluser command there as well.

    Basically I want to explain that userdel command in the Linux system is used to remove a user account and related files.

    This command basically modifies the system account files, deleting all the entries which refer to the username LOGIN.

    As you know Linux is a multi-user system, which means more than one user can use the same Linux system at the same time.

    If you are working in an organization as a system administrator, then you have the responsibility to manage the system’s users and groups.

    I have described in another article how to create a user in the Linux system and how to list users in Linux and how to add a user in the sudo group etc. This article only related how to delete a user in the Linux system with userdel command.

  • Fdisk command to create and delete partition in Linux Guide 2021

    fdisk command in Linux is used to create and delete partitions in Linux of Hardisk. Its know as format disk, You can use it for manipulating disk partition table as well.

    With the help of fdisk command you can view, create, resize, delete, change, copy and move patitions on a hard drive.

    You can create a maximum four primary partition and unlimited logical partition. Creating logical partition depends on the size of the hard disk.

    You will get a very simple and user freindly text based menu driven interface.

    You can use this tool for creating space for new partitions, organizing space for new drives, re-organizing an old drive and copying or moving data to new disks.

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.