Showing headlines posted by linuxer

( 1 2 3 4 5 6 ... 27 ) Next »

How to extract XZ compressed archive on Linux

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 18, 2024 4:06 PM EDT)
  • Story Type: Tutorial; Groups: Linux
XZ is a widely used compression format that provides high compression ratios. It is commonly used for compressing files in Linux environments due to its efficiency and compatibility. Extracting XZ compressed archives on Linux can be accomplished using various command-line tools. In this article, we will guide you through the detailed steps of extracting XZ compressed files on a Linux system.

How to use a command line random password generator PWGEN on Linux

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 17, 2024 7:04 AM EDT)
  • Story Type: Tutorial; Groups: Linux
The pwgen command in Linux is a powerful and flexible tool used for generating random passwords. It offers various options to customize the passwords according to different requirements, such as length, inclusion of symbols, avoidance of ambiguous characters, and more. This article will guide you through the usage of pwgen and demonstrate how to leverage its options to generate secure and tailored passwords for your needs.

How install and configure a restic REST server on Linux

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 17, 2024 5:00 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Restic is an efficient and modern deduplicating backup system which supports encryption; it is able to store backups locally and remotely, via an SFTP connection or on one of the many supported storage platforms, such as Amazon S3 buckets and Google Cloud storage. By using the restic REST backend API, it is also possible to push backups using the HTTP or HTTPS protocols to a remote server which implements the restic REST API.

Automating Security Audits with Lynis on Linux Systems

A paramount aspect of Linux administration is system security. Once we have a certain number of software packages, settings, and user accounts on our system, the task of securing every facet of the system can quickly become overwhelming. This is why it is important to employ a script such as Lynis, which will check tons of different areas of the system for security flaws or potential attack surfaces that malicious programs or users may be able to take advantage of.

How to check Raspberry Pi Java versions

Java can be an important component of a Raspberry Pi system for users that need to run programs that have been compiled with Java, or for developers that wish to code applications in Java. Since Java is constantly being developed, new versions are released and we may find that our Raspberry Pi needs to update to the latest version available, or download an older version for increased stability and legacy features. In this situation, we can install multiple versions of Java and then switch between them as needed.

Advanced Firewall Management with nftables: Transitioning from iptables

nftables is the successor to iptables on Linux systems, and has since become the default firewall. If you have not yet transitioned over to nftables, you are missing out on improved performance, easier command syntax, and an overall simpler way to manage firewall rules. In this tutorial, you will learn how to transition to nftables from iptables. To do so, we must become familiar with how nftables differs from iptables from a functional standpoint, as well as the new command syntax for configuring rules.

Using Logwatch for Basic Security Monitoring on Linux

Linux systems write a lot of information to log files. Typically, each system service you install will have its own log file or set of log files. This is in addition to all of the default logs that get generated, such as those from dmesg, boot log, the package manager log, etc. Inside of these files, it is common to see thousands of entries over a very small span of time.

How to Find the Fastest Debian Mirror for Your sources.list

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 11, 2024 12:56 PM EDT)
  • Story Type: Tutorial; Groups: Debian
Finding the fastest Debian mirror can significantly improve the speed of package installations and updates. This is where netselect-apt shines, a handy tool for Debian users that automates the process of selecting the quickest server based on network latency and bandwidth. By using this tool, you can ensure that your system updates and installs packages as efficiently as possible.

How to create a new subdirectory with a single command on Linux

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 10, 2024 1:28 AM EDT)
  • Story Type: Tutorial; Groups: Linux
This article explains how to create a new sub-directory in Linux using the mkdir command. Whether you are a beginner or an experienced user, understanding this basic file system operation is essential for managing directories and organizing files effectively.

Practical Examples: Understanding and Using the Sudo Command in Linux

This tutorial will guide you through the basics of the sudo command, which enables a permitted user to execute a command as the superuser or another user, as specified by the security policy in the sudoers file. We’ll explore not only the installation and basic usage of sudo but also dive into configuring detailed permissions through the sudoers file, ensuring both flexibility and security in administrative operations.

How to embed documentation in Bash scripts

Documenting how an application works, its purpose, and its intended usage is really important, even if it is just a simple shell script we are talking about. To ease code maintenance in the most basic cases, documentation can be embed directly inside scripts. In this tutorial we learn how to include Pearl’s Plain Old Documentation syntax (POD) in bash scripts, and how to convert it to various formats using pod2 utilities such as pod2man and pod2html.

How to start a docker container as daemon process

  • linuxconfig.org (Posted by linuxer on May 6, 2024 8:29 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Running Docker containers in the background is essential when deploying applications that should operate continuously without binding directly to the terminal session. This tutorial explores how to start and manage Docker containers in daemon mode, which allows them to run as background processes.

How to automate interactive cli commands with expect

Expect is a free and open source utility we can use to automatically answer to interactive prompts according to scripts which includes expects/sends commands. In this tutorial, we learn how to install expect on the most used Linux distributions, how to use it to automatically answer to interactive prompts, and how to generate expect scripts with autoexpect.

CGI Scripts on Linux: Apache CGI-bin Configuration Examples

The Common Gateway Interface (CGI) is an essential technology that serves as a link between web clients and servers, enabling the execution of scripts and programs on a web server. Although newer technologies have largely replaced CGI, it remains a useful tool for Linux system administrators for quick system monitoring and administrative tasks via web browsers.

How to Move /var to Another Directory on a Full Partition

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 4, 2024 1:21 AM EDT)
  • Story Type: Tutorial; Groups: Linux
When the var partition full problem occurs, it can disrupt system operations and applications due to lack of space for logging, caching, and other dynamic data handling tasks that occur in the /var directory. This article provides a comprehensive guide on how to relocate the /var directory to another partition to mitigate issues with space constraints. This procedure is crucial for maintaining the integrity and performance of your systems.

How to run Podman containers under Systemd with Quadlet

Quadlet is a free and open source tool written in C which let us create and run Podman containers under Systemd. The tool let us declare containers, volumes, networks, and their relationships, using dedicated Systemd units.In this tutorial we learn how to use Quadlet to create Podman containers, networks and volumes, and how to create multi-container stacks.

Linux File Types: Identification and Management

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 2, 2024 10:15 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Linux systems support various file types, each designated by a unique character in directory listings, crucial for system management. These characters, such as ‘-‘ for regular files and ‘d’ for directories, help users quickly discern the nature of each file at a glance. This tutorial will guide you through identifying and creating different types of files in Linux, providing practical skills for optimizing your workflow and enhancing your system’s organization. By mastering these concepts, you will gain a deeper understanding of how Linux structures its filesystem and how you can manipulate it to your advantage.

Using the Find Command to Search for Files by Size

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 2, 2024 6:38 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Understanding how to efficiently locate files by size on a Linux system is a critical task for both system administrators and casual users. In the following guide, we delve into the granular use of the Linux find command to search for files based on their size – a powerful skill for effective file management and disk space optimization.

Netplan network configuration tutorial for beginners

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on May 2, 2024 10:50 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Netplan is a utility developed by Canonical, the company behind Ubuntu. It provides a network configuration abstraction over the currently supported two “backend” system (“renderer” in Netplan terminology): networkd and NetworkManager. Using Netplan, both physical and virtual network interfaces are configured via yaml files which are translated to configurations compatible with the selected backend.

Managing BIND DNS Server Cache: Viewing and Clearing Cache

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on May 2, 2024 6:20 AM EDT)
  • Story Type: Tutorial; Groups: Linux
This article explores the process of managing the cache in a BIND DNS server, specifically focusing on how to view and clear the cache effectively. Managing cache is crucial for maintaining the performance and accuracy of DNS resolutions in your network. Efficient cache management ensures that your DNS server can handle requests rapidly while minimizing the likelihood of outdated or incorrect data affecting user queries. Furthermore, it assists in optimizing resource usage, which can significantly enhance the overall stability and reliability of network services.

( 1 2 3 4 5 6 ... 27 ) Next »