Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Linux Essentials - Cron - Invidious

    As Linux server administrators, we need to be able to schedule tasks to run at some point in the future. Perhaps as a one-off command, or a job that's expected to repeat on some sort of schedule.

  • How To Install and Configure Nagios on CentOS 8

    Nagios is a popular and one of the most powerful open-source computer monitoring systems. It keeps track of your IT infrastructure and ensures that your networks, servers, applications, and processes are running smoothly. Using a monitoring system allows you to identify problems before they occur and deploy fixes quickly resulting in saving of cost and downtime.

    In this tutorial, you will learn how to install and configure Nagios on a CentOS 8 based server. We will also do some basic configuration and install Nagios Remote Plugin Executor(NPRE), which will allow us to monitor remote hosts.

  • How to Install Wikijs on Rocky Linux

    Wiki.js is an open-source wiki software written in JavaScript and running on the Node.js runtime, it's released under the APGL-v3 license. Wiki.js is a lightweight, and powerful wiki software with a beautiful and intuitive user interface, it's designed for the modern web. Wiki.js is very extensible wiki software and suitable for different types of documents and deployments, it can be used for both technical and non-technical people.

    Wiki.js is backed by various types of modules to extend its features and make it a powerful and extensible wiki software.

  • How to Install MongoDB on Rocky Linux 8

    MongoDB is an object-oriented, schema-less, NoSQL database server used in developing modern dynamic apps. This implies that data objects are stored as separate documents in a collection unlike in traditional relational databases where rows and columns are used. MongoDB allows for quick traversing of nested data objects without requiring joins which improves performance greatly.

    MongoDB is written in C++ for massive scalability and flexibility which offers easy querying and indexing for developers. It also provides an aggregation framework that makes it easier to query complex document-based data sets.

    MongoDB has a rich and vibrant community and offers rich and powerful in-built features which include MapReduce, auto sharding among others.

    MongoDB runs on all major operating system platforms such as Linux, Windows, Solaris and Mac OS X. It also supports many distributions like Red Hat Enterprise Linux (RHEL), CentOS, Ubuntu etc.

    This tutorial will cover how to install MongoDB NoSQL database on Rocky Linux 8.

  • Bash Scripting - Functions Explained With Examples - OSTechNix

    In Bash shell scripting, functions are ways to group the set of instructions together to get a specific outcome. You can think of functions as a mini script. Functions are also called procedures and methods in some programming languages. Functions are a great way to achieve modularity and reusability.

    In this article, I will explain how to use functions in bash scripts in Linux with examples. You will be pretty comfortable in using bash functions by the end of this article.

  • How to Install LAMP Stack in AlmaLinux 8.4

    LAMP is a popular hosting stack used for developing and testing web applications. It’s an acronym for Linux, Apache, MariaDB, & PHP.

    Apache is an open-source and widely used web server. MariaDB is an open-source relational database server that stores data in tables inside databases, and PHP is a server-side scripting language used for developing dynamic web pages.

    In this walkthrough, we will demonstrate the installation of the LAMP stack in AlmaLinux.

  • How to Setup SSH Passwordless Login in Linux [3 Easy Steps]

    SSH (Secure SHELL) is an open-source and most trusted network protocol that is used to log in to remote servers for the execution of commands and programs. It is also used to transfer files from one computer to another computer over the network using a secure copy (SCP) command and Rsync command.

  • 15 Basic 'ls' Command Examples for Linux Beginners

    ls command is one of the most frequently used commands in Linux. I believe the ls command is the first command you may use when you get into the command prompt of Linux Box.

    We use the ls command daily basis and frequently even though we may not aware and never use all the available ls command tricks.

  • How to install GhostBSD 21.09.06 - Invidious

    In this video, I am going to show how to install GhostBSD 21.09.06.

  • How to Install Redis on Debian 11 Linux – TecAdmin

    Redis is an open-source in-memory database for storing data structure, caching, and as a message broker. It supports data structures such as strings, lists, sets, hashes, sorted sets with range queries, bitmaps, HyperLogLogs, and geospatial indexes with radius queries. Redis has a built-in replication feature, which makes it work as high available clusters in your production environments.

    This tutorial will help you to install the Redis on Debian 11 (Bullseye) Linux system.

  • How to Install Kali Linux in VMware [Easily]

    Kali Linux is the de facto standard of Linux distributions used for learning and practicing hacking and penetration testing.

    And, if you’ve been tinkering around with Linux distros long enough, you might have tried it out just out of curiosity.

    However, no matter what you use it for, it is not a replacement for a regular full-fledged desktop Linux operating system. Hence, it is recommended (at least for beginners) to install Kali Linux using a virtual machine program like VMware.

    With a virtual machine, you can use Kali Linux as a regular application in your Windows or Linux system. It’s almost the same as running VLC or Skype in your system.

    There are a few free virtualization tools available for you. You can install Kali Linux on Oracle VirtualBox or use VMWare Workstation.

  • How to Install Java 17 (OpenJDK 17) on Debian 11 Bullseye - LinuxCapable

    Java is a general-purpose, class-based, object-oriented multipurpose programming language that is popular due to the design of having lesser implementation dependencies, meaning that the compiled Java code can be run on all platforms that support Java without the need for recompilation. Java is also fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.

    JDK 17 (OpenJDK 17) has brought forward new language enhancements, updates to the libraries, support for new Apple computers, removals and deprecations of legacy features, and work to ensure Java code written today will continue working without change in future JDK versions.

  • How To Install Microweber CMS on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Microweber CMS on Ubuntu 20.04 LTS. For those of you who didn’t know, Microweber is a free and open-source drag and drops CMS and website builder written in the PHP programming language and the Laravel Framework. Microweber’s drag-and-drop technology and real-time writing and text editing functionality provide a quick and easy way to create your content, helping turn your website into a rich environment for you to express your thoughts. It also comes with built-in storefront features, allowing you to create an e-commerce site from which you can sell your products on the Internet.

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

  • How OpenStack's Keystone handles authentication and authorization | Enable Sysadmin

    OpenStack's Identity service, Keystone, verifies the user's identity and provides information about which resources the user has access to.

    The Keystone project provides authentication, authorization, and other services such as delivering the service catalog, as this diagram shows...

More in Tux Machines

today's howtos

  • How To Install Cinnamon on Debian 11 - idroot

    In this tutorial, we will show you how to install Cinnamon on Debian 11. For those of you who didn’t know, Cinnamon is the default desktop environment of the Linux Mint distribution which offers advanced features and a traditional user experience. Cinnamon is also available as an optional desktop for other Linux distributions like Ubuntu, Fedora, Arch Linux, OpenSUSE, etc. 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 the Cinnamon desktop environment on a Debian 11 (Bullseye).

  • Run Nexus Repository Behind Nginx Reverse Proxy - kifarunix.com

    In this tutorial, you will learn how to run Nexus repository behind Nginx reverse proxy. Nginx can be configure to proxy HTTP requests. In this setup, Nginx receives requests and passes it onto specified proxied server, fetches the response, and sends it back to the client.

  • Linux Foundation to introduce new DevOps Bootcamp
  • SUSE documentation survey 2021 – some results
  • How to install Friday Night Funkin: Neo on a Chromebook

    Today we are looking at how to install Friday Night Funkin: Neo on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

  • How to use the Buttercup password manager on Linux

    Buttercup is an advanced, open-source password vault. It encrypts your passwords with AES 256bit cryptography to keep them safe. If you’re tired of proprietary password solutions on Linux and want something open-source, you’ll love this guide. In this tutorial, we’ll go over how to install Buttercup on Linux. We’ll also show you how to set up your password vault and generate a secure password. Note: Buttercup is also available for iOS and Android in their respective app stores.

  • How to use YouTube Music on the Linux desktop

    YouTube Music is an excellent service. But, sadly, there is no official client for Linux users to enjoy the service. Thankfully, the community has taken it upon itself to create an unofficial YouTube Music app. Here’s how to use it on your system.

  • How to use the AuthPass password manager on Linux

    AuthPass is an open-source password manager for Android, iOS, Linux, Mac OS, and Windows. It is secure and a great way to save your passwords and sensitive information. In this guide, we’ll show you how to set up AuthPass on Linux and how to use it too.

  • How to install Zoom on Elementary OS 6.0 - Invidious

    In this video, we are looking at how to install Zoom on Elementary OS 6.0.

  • How to Install and Configure RabbitMQ on Debian 11

    RabbitMQ is a free, open-source and one of the most popular message broker software. It supports multiple messaging protocols and uses plugins to communicate with popular messaging solutions like MQTT. A message broker is an application that stores messages for an application. Whenever an application wants to send data to another application, the app publishes the message onto the message broker. RabbitMQ can be deployed in distributed configurations to meet high-scale, high-availability requirements. In this post, we will show you how to install and configure RabbitMQ message broker software on Debian 11.

  • How to Create an Amazon Machine Image (AMI) and use it on AWS

    An Amazon Machine Image (AMI) provides the information required to launch an instance. An EC2 instance can not be launched without an AMI. We can create as many instances as we want from a single AMI when we need multiple instances with the same configuration. To create an instance we can use readily available AMI or we can create our own AMI. To create a custom AMI we need to first launch an instance using one of the available AMIs, make the required configuration on the instance and then use that instance to create an AMI. Instances launched from this new custom AMI include the customizations that we made when we created the AMI. We can create AMIs from either running or stopped instances. Once we create an AMI, we can either keep it private so that only we can use it, or we can share it with a specified list of AWS accounts. We can also make our custom AMI public so that the community can use it.

New bash programming articles

  • How to use bash aliases

    Most of the users like to use shortcuts for running commands. There are many commands in Ubuntu that we need to execute regularly. It will be very helpful for us if we can run those common commands by typing shortcut commands. Using bash aliases, Ubuntu users can easily create shortcut commands of the large commands those are used frequently. Bash aliases not only make the task easier but also save the time of the users. The user can declare alias temporary or permanently. The temporary aliases can be used as long as the session of the user exists. If the user wants to use shortcut commands every time the session starts, then he or she has to create permanent alias by using ~/.bashrc and ~/.bash_profile files. This tutorial shows how you can create and use bash aliases in Ubuntu by using some examples.

  • Bash Arithmetic Operation

    Using bash aliases, Ubuntu users can easily create shortcut commands of the large commands those are used frequently. Bash aliases not only make the task easier but also save the time of the users. The user can declare alias temporary or permanently. How to use bash aliases is explained in this article.

  • How to use arrays in Bash

    When you want to use multiple data using a single variable in any programming language, you have to use array variables. The list of data can be assigned and used using an array variable. Bash is a weakly typed language that does not require defining any data type for declaring the variable. Array declaration in bash is a little bit different from other standard programming languages. Two types of the array can be declared in bash. Numeric array and associative array. If the index of an array is numeric, then it is called a numeric array, and if the index of an array is a string, it is called an associative array. How you can declare a numeric array, associative array, and iterate elements of the array using for loop are described with examples in this tutorial.

  • Bash Head and Tail Command

    Many types of commands are available in bash to show the content of a file. Most commonly used commands are ‘cat’, ‘more’, ‘less’, ‘head’ and ‘tail‘ commands. To read the entire file, ‘cat’, ‘more’, and ‘less‘ commands are used. But when the specific part of the file is required to read then ‘head‘ and ‘tail‘ commands are used to do that task. ‘head‘ command is used to read the file from the beginning and the ‘tail‘ command is used to read the file from the ending. How you can use ‘head‘ and ‘tail‘ commands with different options to read the particular portion of a file is shown in this tutorial. You can use any existing file or create any new file to test the functions of ‘head‘ and ‘tail‘ commands. Create two text files named products.txt and employee.txt with the following content to show the use of ‘head‘ and ‘tail‘ commands.

  • Bash Range

    You can iterate the sequence of numbers in bash in two ways. One is by using the seq command, and another is by specifying the range in for loop. In the seq command, the sequence starts from one, the number increments by one in each step, and print each number in each line up to the upper limit by default. If the number starts from the upper limit, then it decrements by one in each step. Normally, all numbers are interpreted as a floating-point, but if the sequence starts from an integer, the decimal integers will print. If the seq command can execute successfully, then it returns 0; otherwise, it returns any non-zero number. You can also iterate the sequence of numbers using for loop with range. Both seq command and for loop with range are shown in this tutorial by using examples.

  • Bash Script User Input

    In the seq command, the sequence starts from one, the number increments by one in each step, and print each number in each line up to the upper limit by default. If the seq command can execute successfully, then it returns 0; otherwise, it returns any non-zero number. Two ways to generate the sequence of numbers are shown with examples in this article.

  • BASH while loop examples

    Three types of loops are used in bash programming. While loop is one of them. Like other loops, a while loop is used to do repetitive tasks. This article shows how you can use a while loop in a bash script by using different examples.

Mark Text is a Minimal Open Source Markdown Editor

Markdown is developers’ favorite text writing language. It is so clean, simple and minimal and allows developers to focus only on the writing process itself, rather than the writing syntax or other trivial issues. That’s why, it is essential that you use a minimal, distraction-free and clean markdown editor to write or edit your markdown files, so that you can find comfort in your long writing sessions (E.g for documentation or similar). Luckily, many open source markdown editors exist for all types of users and their use cases. Today we’ll be seeing Mark Text; a minimal open source application for writing markdown documents. Read more

Debian's Antoine Beaupré: The Neo-Colonial Internet

Sergey Brin and Larry Page are the Lewis and Clark of our generation. Just like the latter were sent by Jefferson (the same) to declare sovereignty over the entire US west coast, Google declared sovereignty over all human knowledge, with its mission statement "to organize the world's information and make it universally accessible and useful". (It should be noted that Page somewhat questioned that mission but only because it was not ambitious enough, Google having "outgrown" it.) The Lewis and Clark expedition, just like Google, had a scientific pretext, because that is what you do to colonize a world, presumably. Yet both men were military and had to receive scientific training before they left. The Corps of Discovery was made up of a few dozen enlisted men and a dozen civilians, including York an African American slave owned by Clark and sold after the expedition, with his final fate lost in history. And just like Lewis and Clark, Google has a strong military component. For example, Google Earth was not originally built at Google but is the acquisition of a company called Keyhole which had ties with the CIA. Those ties were brought inside Google during the acquisition. Google's increasing investment inside the military-industrial complex eventually led Google to workers organizing a revolt although it is currently unclear to me how much Google is involved in the military apparatus. Other companies, obviously, do not have such reserve, with Microsoft, Amazon, and plenty of others happily bidding on military contracts all the time. [...] The Internet is, if not neo-colonial, plain colonial. The US colonies had cotton fields and slaves, we have disposable cell phones and Foxconn workers. Canada has its cultural genocide, Facebook has his own genocides in Ethiopia, Myanmar, and mob violence in India. Apple is at least implicitly accepting the Uyghur genocide. And just like the slaves of the colony, those atrocities are what makes the empire run. Read more