Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How to use SSH tunneling or port forwarding – Linux Hint

    Creating a secure connection between the local host and the remote host is called SSH tunneling or port forwarding. All connections made by SSH tunneling are encrypted. This feature of SSH is useful for many purposes, such as managing the database of the restricted server safely, implementing basic VPN (Virtual Private Network), using different services without opening port on the firewall, etc. SSH port forwarding can be done in three different ways. These are local port forwarding, remote port forwarding, and dynamic port forwarding. The ways to use SSH tunneling or port forwarding have been explained in this tutorial.

  • How to use SSH config file – Linux Hint

    Creating a secure connection between the local host and the remote host is called SSH tunneling or port forwarding. All connections made by SSH tunneling are encrypted. This feature of SSH is useful for many purposes, such as managing the database of the restricted server safely, implementing basic using different services without opening port on the firewall, etc. How to use SSH tunneling or port forwarding is explained in this article.

  • What is the Difference: useradd vs. adduser Linux with Examples – Linux Hint

    While managing users, Linux administrators need to manage different types of users based on the privileges he/she wants to set. User management includes access control and Group management of the user. It is often seen that when we create users in Linux, there are two types of commands available useradd and adduser. This post will have an overview of both commands and discuss some key differences between them.

  • Rename Linux Files with Rename – Linux Hint

    When working with files, renaming them is one of the most basic actions. In Linux, renaming a file or directory is mostly done using mv. However, when it comes to renaming multiple files or folders, using mv becomes complex. It requires constructing complex loops and piping to get the job done. The rename command is specifically designed for such situations.

    Rename is a powerful batch renaming tool that uses Perl expression to rename multiple files and directories in a single command. In this guide, check out how to rename files with rename.

  • Linux Two-factor Authentication – Linux Hint

    Two-factor authentication (2FA) is a login process consisting of a double authentication mechanism. Most known implementations include the classic SMS or email code confirmation for new/unknown browsers and devices.

    In this scenario, even if a hacker gets a PayPal or hosting password, he won’t be able to log in without the confirmation code sent to the victim’s phone or email.

    Implementing the two-factor authentication is one of the best practices to protect our email, social network accounts, hosting, and more. Unfortunately, our system is not the exception.

    This tutorial shows how to implement the two-factor authentication to protect your SSH access using Google Authenticator or Authy-ssh. Google Authenticator allows you to verify a login using the mobile app, while Authy-ssh can be implemented without an app using SMS verification.

  • Gunnar Wolf: Fighting spam on roundcube with modsecurity

    Every couple of months, one of my users falls prey to phishing attacks, and send their login/password data to an unknown somebody who poses as… Well, as me, their always-friendly and always-helpful systems administrator.

    What follows is, of course, me spending a week trying to get our systems out of all of the RBLs/DNSBLs. But, no matter how fast I act, there’s always distruption and lost mails (bounced or classified as spam) for my users.

    Most of my users use the Webmail I have configured on our institute’s servers, Roundcube, for which I have the highest appreciation. Only that… Of course, when a user yields their username and password to an attacker, it is very successful at… Sending huge amounts of unrequested mail, leading to my server losing its reputation

  • How to Analyze Fonts in a PDF File Using pdffonts

    Choosing the right font for your documents can be hard if you don't know much about typography and design. But if you have a document with a font that you like, you can easily extract the font name through the command line. All you need is a tool called pdffonts.

    In this article, you will learn about pdffonts and how to install it on your computer. You'll also find a detailed guide on how to identify fonts in a PDF document using it.

  • How to migrate VMware VMs to AWS with ease
  • Why You Should Not Use Telnet for Remote Connections

    If you need to connect to a remote computer using the command line, you might be tempted to use Telnet, one of the oldest protocols still in use on the internet. But you shouldn't, because it's not safe for your digital privacy.

    This article will discuss the reasons why you shouldn't use Telnet and what other secure protocols you can use to connect to servers remotely.

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.