Showing headlines posted by linuxer
« Previous ( 1 2 3 4 5 6 7 ... 36 ) Next »Self-Hosted Finance Management: Setting Up Firefly III with Docker
Self-hosted budgeting applications provide complete control over your financial data while offering powerful tools to manage your personal finances. Firefly III is one of the best open-source options available, featuring comprehensive expense tracking, budgeting capabilities, and insightful reporting. This tutorial will guide you through setting up Firefly III using Docker on Debian or Ubuntu systems.
How to backup your data with Kopia on Linux
When talking about backup solutions, on Linux we are spoiled for choice: in the previous tutorials, for example, we talked about creating encrypted and efficient backups with Borg and Restic. Kopia is another free and open source alternative to those applications: it is written in Go, and it is able to create secure backups, both to local filesystems and to cloud-based storage services like Amazon S3, Azure Blob Storage, Backblaze B2 and Google Cloud Storage. Unlike Borg and Restic, Kopia comes also with an officially supported GUI interface: KopiaUI.
How To Set Color in Bash Script
Setting colors in your Bash scripts can significantly enhance the visual output, making it easier for users to follow along. In this article, we will explore how to set different colors in your Bash scripts to highlight information, errors, or simply to beautify the console output.
What is Docker Pull Command?
The Docker pull command is one of the essential commands that allows users to download container images from a registry to their local machine. This command is often the first step in the container deployment workflow, enabling developers to retrieve pre-built images before running containers. As part of the core set of Docker basic commands, understanding how to effectively use the docker pull command is essential for anyone working with containerized applications.
Unlock Powerful System Monitoring: Your Guide to Prometheus and Grafana
Monitoring is a critical component of any infrastructure setup. Prometheus and Grafana are powerful open-source tools that work together to provide robust monitoring and visualization capabilities. This tutorial guides you through setting up Prometheus on one server and Grafana on another, creating a distributed monitoring system.
Dockerfile Build – Best Practices & Errors
Docker has revolutionized application deployment by enabling consistent environments across development and production. At the heart of Docker is the Dockerfile, a script containing instructions to build an image. However, creating efficient Dockerfiles requires understanding certain best practices and avoiding common pitfalls. This tutorial will guide you through Dockerfile optimization techniques and help you troubleshoot common errors.
Shell Upgrade: Supercharge Your Terminal with Zsh & Oh My Zsh
In the Linux world, your choice of shell can significantly enhance your command-line experience. While Bash is the default shell on most Linux distributions including Debian and Ubuntu, the Z shell (Zsh) with the Oh My Zsh framework offers a more visually appealing and feature-rich alternative that can boost your productivity and make terminal work more enjoyable.
Enhancing Privacy on Linux: Mounting Logs and Temporary Directories in RAM
To enhance user privacy and reduce the risk of activity tracking on Linux systems, you can mount temporary directories such as /tmp, /var/tmp, and /var/log in RAM using tmpfs. This ensures these directories are cleared at every reboot, leaving no logs or temp files behind. The tmpfs filesystem is a RAM-based filesystem that stores all data in volatile memory rather than on a persistent storage device, making it ideal for privacy-focused configurations.
Docker Run With Logs – Capturing and Debugging Output
Logs are an invaluable aspect of troubleshooting and debugging Docker containers. When running applications within Docker, capturing logs efficiently allows developers to diagnose issues quicker and remediate them effectively. In this article, we will explore various methods to capture and analyze logs from Docker containers to gain insights into their behavior and resolve any arising issues.
Docker Basic Commands on Linux
Docker is an essential tool for developers and system administrators working with containerized applications. This guide provides a comprehensive overview of Docker’s basic commands on Linux, covering everything from creating and managing containers to troubleshooting common issues.
Check If Docker Is Running – Linux Commands
Checking if Docker is running on your Linux system is crucial for managing containerized applications effectively. Understanding how to verify the status of Docker can help mitigate issues with your Docker environment, especially during development and deployment.
Bash Function to Sort Docker Ps Output
Sorting the output of docker ps can be helpful when you’re managing multiple containers and need a clearer view of what’s running. In this tutorial, we’ll walk through creating a Bash function that organizes this output in a more readable way using built-in shell tools like awk and sort. This builds upon Docker basic commands like docker ps, docker images, and docker inspect to create more powerful container.
How to Network Connect Two Containers With Docker-compose
Networking is one of the fundamental aspects of working with containers in Docker. Using Docker Compose, you can easily connect multiple containers and manage complex applications comprised of several services. In this article, we will explore how to connect two containers using Docker Compose effectively. By the end, you will have a clear understanding of how to define networks in your configuration and enable seamless communication between your services.
Bash Script to Traverse Directory Tree
Traversing a directory tree can be a daunting task, especially when dealing with extensive file systems. Fortunately, Bash scripting serves as an efficient way to automate this process. In this article, we will explore how to create a Bash script that can recursively traverse a directory tree and perform specified actions on each file or folder it encounters.
Syncing Files with Docker-Compose Watch
When using Docker to create portable and easy reproducible development environments, we need to found a way to make changes to our codebase, immediately effective inside containers, without the need to re-build them each time. A possible solution consists into mounting host directories directly inside containers; this, however, requires breaking containers isolation and portability, since they become dependant on the host directory structure. To solve this problem, we can use docker-compose watch.
Docker Container Vulnerability Scanning Tools
In today’s cloud-native and microservices-oriented world, Docker has become a cornerstone for developing, shipping, and running applications anywhere. However, with great flexibility comes great responsibility, especially regarding security. This article delves into various tools for scanning Docker container vulnerabilities, ensuring that your applications remain secure and compliant.
How to Hash a File on Linux
Hashing files is a critical process in the realm of data integrity and security. In this article, we will discuss how to hash a specific file, linuxconfig.txt, using various hashing algorithms available in Linux. Additionally, we will explore how to restore the file based on its hash, ensuring you can verify its integrity over time.
How to Install ZFS on Debian/Ubuntu
ZFS (Zettabyte File System) is a robust file system designed to manage large amounts of data while ensuring integrity, scalability, and advanced features like snapshots, compression, and data deduplication. This guide will take you through the steps required to install and enable ZFS on Debian or Ubuntu.
Bash Script to Suspend the System after User Inactivity
The modern workspace often demands hours of productivity from users, but what happens when you step away from your computer? To help manage power consumption and increase security, it’s useful to create a Bash script that automatically suspends the system after a period of user inactivity. This article will guide you through the prerequisites needed, the script itself, and how to implement it effectively.
Bash Script to Convert JSON to CSV
In today’s data-driven world, converting data between formats is a common task. One such conversion that many developers face is changing JSON data into the more spreadsheet-friendly CSV format. This article provides a straightforward Bash script to perform this conversion efficiently. We will also explore a sample JSON data structure for clarity.