• Sl chevron_right

      Contact publication

      pubsub.blastersklan.com / slashdot · Monday, 12 February - 12:45 edit · 1 minute

    Back in 2006 Slashdot reported on a 50-megabyte "micro" distro called Damn Small Linux. (And in 2012 we wrote that it "rose from the dead" with a new release candidate.) Now Damn Small Linux has been reborn again, according to its developer's web site: Creating the original DSL, a versatile 50MB distribution, was a lot of fun and one of the things I am most proud of as a personal accomplishment. However, as a concept, it was in the right place at the right time, and the computer industry has changed a lot since then. While it would be possible to make a bootable Xwindows 50MB distribution today, it would be missing many drivers and have only a handful of very rudimentary applications. People would find such a distribution a fun toy or something to build upon, but it would not be usable for the average computer user out of the gate.... The new goal of DSL is to pack as much usable desktop distribution into an image small enough to fit on a single CD, or a hard limit of 700MB. This project is meant to service older computers and have them continue to be useful far into the future. Such a notion sits well with my values. I think of this project as my way of keeping otherwise usable hardware out of landfills. As with most things in the GNU/Linux community, this project continues to stand on the shoulders of giants. I am just one guy without a CS degree, so for now, this project is based on antiX 23 i386... a fantastic distribution that I think shares much of the same spirit as the original DSL project. AntiX shares pedigree with MEPIS and also leans heavily on the geniuses at Debian. The blog It's FOSS News describes it as "a unique experience in a sea of Debian-based and Fedora-based distros." It is offered with two window managers, Fluxbox and JWM, with apt being fully enabled by default for easy package installations... At the time of writing, only the Alpha ISOs were made available on the official downloads page. It is only a matter of time before we get a stable release.

    Read more of this story at Slashdot.

    'Damn Small Linux' is Back - But Bigger
    • chevron_right

      Critical vulnerability affecting most Linux distros allows for bootkits

      news.movim.eu / ArsTechnica · Wednesday, 7 February - 01:37 · 1 minute

    Critical vulnerability affecting most Linux distros allows for bootkits

    Enlarge

    Linux developers are in the process of patching a high-severity vulnerability that, in certain cases, allows the installation of malware that runs at the firmware level, giving infections access to the deepest parts of a device where they’re hard to detect or remove.

    The vulnerability resides in shim, which in the context of Linux is a small component that runs in the firmware early in the boot process before the operating system has started. More specifically, the shim accompanying virtually all Linux distributions plays a crucial role in secure boot, a protection built into most modern computing devices to ensure every link in the boot process comes from a verified, trusted supplier. Successful exploitation of the vulnerability allows attackers to neutralize this mechanism by executing malicious firmware at the earliest stages of the boot process before the Unified Extensible Firmware Interface firmware has loaded and handed off control to the operating system.

    The vulnerability, tracked as CVE-2023-40547, is what’s known as a buffer overflow, a coding bug that allows attackers to execute code of their choice. It resides in a part of the shim that processes booting up from a central server on a network using the same HTTP that the the web is based on. Attackers can exploit the code-execution vulnerability in various scenarios, virtually all following some form of successful compromise of either the targeted device or the server or network the device boots from.

    Read 12 remaining paragraphs | Comments

    • chevron_right

      Linux System Monitoring with Prometheus, Grafana, and collectd

      pubsub.slavino.sk / linuxyournal · Thursday, 1 February - 17:00 edit · 1 minute

    Linux System Monitoring with Prometheus, Grafana, and collectd

    In the realm of Linux system administration and development, the importance of efficient and comprehensive system monitoring cannot be overstated. Monitoring the health, performance, and reliability of Linux servers and applications is paramount for ensuring high availability, diagnosing problems, and optimizing resources. Among the plethora of tools available for this purpose, three stand out for their robustness, versatility, and the powerful insights they offer: Prometheus, Grafana, and collectd. This article delves into each of these tools, exploring their key features, benefits, and how they can be integrated to create a formidable monitoring setup.

    Harnessing the Power of Prometheus

    Introduction to Prometheus

    Prometheus is an open-source monitoring and alerting toolkit that has gained widespread popularity for its simplicity, efficiency, and powerful data handling capabilities. Developed by SoundCloud in 2012, it has become a project hosted by the Cloud Native Computing Foundation (CNCF). Prometheus is designed around a pull-based model for collecting metrics, querying data with its PromQL query language, and setting up alerts to notify administrators of potential issues.

    Key Features of Prometheus

    Prometheus’s architecture is built around its time-series database, which efficiently stores metrics in a format that supports precise and fast queries, even over large datasets. The core of its functionality is the ability to scrape metrics from configured endpoints at specified intervals, using HTTP requests. These endpoints can be anything from hardware sensors to web applications, as long as they expose metrics in the format Prometheus expects.

    One of the standout features of Prometheus is its query language, PromQL, which allows for the retrieval and manipulation of data, enabling administrators to pinpoint issues quickly. Furthermore, Prometheus supports automatic service discovery and dynamic configurations, making it adaptable to environments with changing infrastructures, such as cloud deployments.

    Benefits of Using Prometheus

    Prometheus shines in environments that require scalable and reliable monitoring solutions. Its active community ensures a wide range of exporters (plugins that expose metrics from third-party systems in a format Prometheus can scrape) are available, making it compatible with virtually any service or application. Additionally, its scalability, robust alerting mechanisms, and efficient storage make it an ideal choice for large and dynamic systems.


    Značky: #Linux

    • chevron_right

      Audio Transcribing

      pubsub.slavino.sk / warlord0blog · Tuesday, 30 January - 21:16 edit

    I found myself in a position of recording an audio conference and then wanting to get a transcription of the discussion. On my Android phone, there seems to be a plethora of apps in the store you can use, but my content was an hour and a half long. The best I could get was 5 minutes of transcript for free, or buy minutes.

    Značky: #Linux

    • chevron_right

      Linux Shell Scripting: A Pathway to Automated System Excellence

      pubsub.slavino.sk / linuxyournal · Tuesday, 30 January - 17:00 edit · 1 minute

    Linux Shell Scripting: A Pathway to Automated System Excellence
    Introduction

    Linux shell scripting is a powerful tool for automating repetitive tasks, customizing system operations, and managing complex workflows. This article aims to unravel the intricacies of shell scripting, illustrating its significance in automating system tasks across various Linux distributions. We will explore different shells, such as Bash and Zsh, each offering unique features for scripting.

    Basics of Linux Shell Scripting

    Understanding the Linux CLI

    The command-line interface (CLI) is the cornerstone of interacting with the Linux operating system. It allows users to enter commands directly, offering greater control and flexibility compared to graphical interfaces.

    Fundamental Syntax and Commands

    Linux shell scripting begins with the "shebang" ( #!/bin/bash ), which specifies the interpreter. Basic commands include echo for printing text, read for input, and control operators like ; , && , and || for command chaining and decision-making.

    Creating and Executing Scripts

    Scripts are essentially text files with executable permission. To create a script, use a text editor to write commands, then save the file with a .sh extension. Make the script executable using chmod +x script.sh and execute it with ./script.sh .

    Variables and Data Types

    Shell scripts use variables to store data. Unlike many programming languages, variables in shell scripts don't have explicit data types. They are treated as strings, but arithmetic operations are still possible.

    Control Structures

    Control structures like if-else statements and for , while , and until loops enable conditional execution and repetition of commands.


    Značky: #Linux

    • chevron_right

      Dusage – Mieux visualiser l’espace disque utilisé

      news.movim.eu / Korben · Saturday, 27 January - 08:00 · 1 minute

    Comment faites-vous pour savoir s’il reste de la place sur votre disque dur ?

    Les vrais vont me répondre qu’ils utilisent la commande « df » pour en savoir plus, mais faut se l’avouer, cette commande peut être un peu déroutante pour les noobs et pas très attrayante visuellement.

    C’est pourquoi aujourd’hui je vous présente l’outil Dusage ! Un outil en ligne de commande conçu pour vous offrir une représentation beaucoup plus claire de l’espace disque utilisé sur votre système.

    Pour l’installer, il vous suffit d’ouvrir un terminal et d’utiliser la commande suivante :

    cargo install dusage

    Ensuite, y’a plus qu’à lancer la commande dusage pour obtenir la liste des systèmes de fichiers avec leur taille totale, l’espace disque utilisé, l’espace disque disponible, le pourcentage d’occupation, le point de montage, ainsi qu’un graphique qui représente l’utilisation des disques et des inodes, avec des couleurs différentes en fonction des points de montage pour faciliter la lecture.

    Pour rappel, les inodes sont des structures de données qui contiennent des informations sur les fichiers et les répertoires d’un système de fichiers. L’utilisation des inodes peut être un indicateur utile pour déterminer s’il y a trop de petits fichiers sur votre disque, ce qui peut causer des problèmes de performance.

    Si vous l’utilisez sur le Raspberry Pi, vous verrez également que le système de fichiers « log2ram » est affiché en dernier pour faciliter le repérage.

    Bref, si vous détestez df, parce que vous n’y comprenez rien, dusage sera là pour vous faciliter la vie. D’ailleurs, si vous l’appréciez, il y a également un autre projet qui s’appelle musage , qui est à la commande « free », ce que dusage est à la commande df. Pour rappel, « free » permet de voir l’espace disponible en mémoire vive.

    Amusez-vous bien !

    • chevron_right

      Linux in the Edge Computing Ecosystem and IoT Gateway Technologies

      pubsub.slavino.sk / linuxyournal · Thursday, 25 January - 16:41 edit · 1 minute

    Linux in the Edge Computing Ecosystem and IoT Gateway Technologies
    Introduction

    The digital era is witnessing a transformative phase with the emergence of Edge Computing and the Internet of Things (IoT). These technologies are redefining how data is processed and managed across various industries. At the heart of this revolution lies the operating system that powers these technologies, with Linux emerging as a frontrunner. This article delves into the role of Linux in shaping the landscape of Edge Computing and IoT Gateways, exploring its advantages, challenges, and future prospects.

    Linux, since its inception in 1991, has evolved from a niche operating system to a cornerstone in modern computing. Its adaptability and robust architecture have made it a preferred choice in server environments, and now, in the realm of Edge Computing.

    Advantages of Using Linux for Edge Computing

    1. Open Source Nature : Linux’s open source model fosters innovation and collaboration, allowing developers to customize and optimize the OS for specific edge computing needs.
    2. Flexibility and Customizability : The modular nature of Linux enables it to run on a wide range of hardware, from high-end servers to low-power edge devices.
    3. Security Features : Linux offers strong security features, crucial in protecting data at the edge, which is often vulnerable to cyber-attacks.
    4. Community and Support : A vast community of developers and enterprise support ensures continuous improvement and troubleshooting support.

    Popular Linux Distributions for Edge Computing

    1. Ubuntu Core : Known for its security and reliable update mechanism, making it suitable for remote and disconnected edge environments.
    2. Fedora IoT : Offers cutting-edge features and a robust platform for IoT devices.
    3. Raspbian : Tailored for Raspberry Pi devices, it's popular in educational and prototyping environments.
    Linux in IoT Gateways

    IoT Gateways serve as critical bridges between devices and the cloud, managing data flow, security, and device connectivity.


    Značky: #Linux

    • chevron_right

      Harnessing the Power of Machine Learning with TensorFlow on Ubuntu

      pubsub.slavino.sk / linuxyournal · Tuesday, 23 January - 17:00 edit · 1 minute

    Harnessing the Power of Machine Learning with TensorFlow on Ubuntu
    Introduction

    Machine Learning (ML) stands as one of the most revolutionary technologies of our era, reshaping industries and creating new frontiers in data analysis and automation. At the heart of this transformation is TensorFlow, Google's open-source platform that has become synonymous with machine learning. This article explores TensorFlow's capabilities within the robust and flexible environment of Ubuntu, a popular operating system known for its stability and performance.

    Machine Learning, a subset of artificial intelligence, involves the use of algorithms that enable computers to learn from and make predictions or decisions based on data. This field has applications ranging from voice recognition and language translation to medical diagnosis and stock market analysis.

    Developed by the Google Brain team, TensorFlow is a powerful library for numerical computation and machine learning. Its ability to process large-scale data and perform complex calculations has made it a go-to choice for professionals and enthusiasts alike.

    Ubuntu, a Debian-based Linux operating system, offers a perfect platform for machine learning tasks. Known for its ease of use, robustness, and extensive community support, Ubuntu pairs seamlessly with TensorFlow, providing a reliable environment for ML projects.

    Getting Started with TensorFlow on Ubuntu

    System Requirements

    To run TensorFlow efficiently, your Ubuntu system should meet certain specifications. These include a compatible 64-bit processor, sufficient RAM (at least 4GB recommended), and enough storage space for datasets and applications.

    Installing TensorFlow on Ubuntu

    Using pip - TensorFlow can be installed via pip, Python's package installer. This method is straightforward and ideal for most users. Open your terminal and run:

    pip install tensorflow

    Using Docker - For those preferring containerization, TensorFlow can be installed using Docker. This method ensures TensorFlow runs in an isolated environment, avoiding conflicts with other packages.

    docker pull tensorflow/tensorflow

    Verifying the Installation

    After installation, verify TensorFlow by running a simple program that imports the TensorFlow library and prints a version statement.


    Značky: #Linux