Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • How To Install Python 3.9 on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Python 3.9 on Ubuntu 20.04 LTS. For those of you who didn’t know, Pip is a tool for installing Python packages. With pip, you can search, download, and install packages from Python Package Index (PyPI) and other package indexes. With the help of pip, you can also install the package of a particular version. Most importantly pip has a feature to manage full lists of packages and corresponding version numbers, possible through a “requirements” file. It performs the same basic job as an easy install, but with some extra features.

    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 Python 3.9 on a Ubuntu 20.04 (Focal Fossa) server. You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian based distribution like Linux Mint.

  • How to Install and Configure OpenLDAP and phpLDAPadmin on Ubuntu 20.04

    LDAP is a Lightweight Directory Access Protocol used for accessing and maintaining distributed directory over an internet protocol. phpLDAPadmin is a web-based LDAP client used for managing and administering the LDAP server. Its powerful search functionality and hierarchical tree view make it easier to manage the LDAP server through the web browser. You can add and delete records, view and edit image attributes, manage user password hashes and many more using phpLDAPadmin.

  • How to turn off your Monitor using a Python Script in Ubuntu

    The Traditional way of turning your monitor off via hotkey has been broken for a few newer versions. A Python script can bring that functionality back in a reliable and efficient manner.

  • How to install Etherpad on Ubuntu 20.04

    Etherpad is a web-based real-time online editor that allows writers to simultaneously edit a text document and monitor all edits in realtime. It is open-source, customizable and ability to display each author's text in their own color. It also provides a HTTP API that you can integrate with your applications to manage users and groups. It offers several plugins that help you to integrate email notifications, file uploading, video calls in Etherpad. In this tutorial, we will show you how to install Etherpad web-based editor on Ubuntu 20.04 server.

  • How to Run C Program in Ubuntu Linux [Terminal & GUI Methods] [Ed: Why on Earth does "It's FOSS" promote Microsoft for coding in C, knowing it has surveillance in it and it's a "gateway drug" for proprietary software (MSVS)?]

    Running C program in Linux command line is not that difficult.

  • How to install the ManageEngine OpManager on your data center servers - TechRepublic

    OpManager is an outstanding tool for keeping tabs on your data center servers. Learn how to get it up and running.

  • How to Homelab Episode 1 - Tips on Getting Started - YouTube

    Welcome to a new series, How to Homelab! In this series, Homelab-related concepts are discussed. Learn how to run your own servers, what applications to run, how to set them up, etc.

  • CentOS 8 Disable Firewall – Linux Hint

    A firewall is considered as the “First Line of Defense” within any operating system. It prohibits any unauthorized access to your system hence preventing it from all potential harms. Therefore, it is highly recommended for every user to keep his Firewall enabled and running all the time. However, at times it happens that you are performing a critical task, and your Firewall causes hindrance in that task by even blocking your legitimate attempts to access your system. In such situations, you might feel the need of disabling your Firewall. Therefore, today we will learn the methods of disabling the Firewall in CentOS 8.

  • Build a Raspberry Pi Security Camera Network – Linux Hint

    The Raspberry Pi official camera module can be used as a security camera. You can share the camera video stream on the network and access it remotely from any device on your Local Area Network (LAN).

    You can use the VLC media player to share the video stream on a TCP port and access it from any device on your Local Area Network (LAN) using VLC media player.

    In this article, I will show you how to build a Raspberry Pi security camera and stream the camera video feed from the Raspberry Pi using the VLC media player.

  • Change Qt5 Apps Theme to Make Them Look Native in Ubuntu 20.04 | UbuntuHandbook

    Found that Qt5 based applications (e.g., VLC, qBittorrent, Virtualbox, Audacious, etc.) look ugly on Ubuntu Desktop? That’s because they don’t inherit the global GTK theme.

    You can apply a custom theme to Qt5 applications to make them look native on Ubuntu Gnome desktop. And Kvantum, an SVG-based theme engine, can do the job.

  • Distribute ROS 2 across machines with MicroK8s | Ubuntu

    Our simple ROS 2 talker and listener setup runs well on a single Kubernetes node, now let’s distribute it out across multiple computers. This article builds upon our simple ROS 2 talker / listener setup by running it on multiple K8s nodes.

    At the completion of this setup expect to have a ROS2 Kubernetes cluster running MicroK8s on three different machines. Applying a single configuration file distributes the ROS 2 workload across the machines.

  • Finding the real source IP: using the PROXY protocol with syslog-ng - Blog - syslog-ng Community - syslog-ng Community

    Until now collecting logs behind proxies or load balancers needed some compromises. You either trusted the host information included in the log messages or you could only see the proxy as the sender host. Starting with syslog-ng 3.30 there is a third option available: using the PROXY protocol. While not an official Internet standard, it is supported by a number of popular software, like HAProxy. Other software can be extended to use it, like F5 load balancers using iRules. This way crucial information about the original network connection is not lost, but it is forwarded to the server by the proxy.

    From this blog you can learn about the PROXY protocol, how to enable it in the syslog-ng configuration, and how to send test messages using loggen directly and through HAProxy.

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.