- Posted on
- Featured Image
Administration
Linux system administration involves managing and maintaining Linux systems to ensure they run efficiently, securely, and reliably. It includes managing user accounts by creating, modifying, and deleting them, as well as setting permissions and group memberships using commands like adduser
, passwd
, and usermod
. Administrators manage the file system by monitoring disk usage, mounting/unmounting file systems, and setting file permissions with tools like chmod
, chown
, df
, and mount
.
Process management involves monitoring and controlling system processes using commands such as ps
, top
, kill
, and systemctl
for managing services. Package management ensures software is installed, updated, or removed as needed using package managers like apt
for Debian-based systems or yum/dnf
for Red Hat-based distributions. Network configuration involves setting up IP addresses, troubleshooting connectivity, and managing open ports using tools like ip
, ping
, and netstat
.
Security management focuses on configuring firewalls with tools like ufw
or iptables
, managing SSH access, and applying updates to secure the system. Backups are handled using tools like rsync
, tar
, and scheduled with cron
, ensuring data is safe and recoverable. Administrators monitor logs stored in directories like /var/log
using commands like cat
and journalctl
and use logrotate
to manage log file sizes.
Automation and scripting are integral, with repetitive tasks automated using Bash scripts and scheduled via cron
. Performance monitoring is conducted with tools like top
, htop
, and vmstat
to track resource usage and optimise performance. System and kernel updates are applied using package managers, followed by reboots if necessary.
Best practices include documenting changes, regularly applying updates, maintaining backups, minimizing root access through sudo
, and continuously monitoring systems with tools like Nagios or Prometheus. Mastering these tasks forms the foundation of effective Linux system administration.
-
Learn how to set up proxy configurations for APT, DNF, and Zypper on various Linux distributions. This guide provides detailed, step-by-step instructions for editing key configuration files like `/etc/apt/apt.conf.d/02proxy`, ensuring seamless software updates and installations in network-restricted areas. Essential reading for optimizing Linux package management behind a firewall.
-
- Posted on
- Featured Image
This article provides detailed guidance on resolving "no public key" errors when using package managers like DNF, APT, and Zypper in Linux. It explains the errors stem from missing or outdated GPG keys and offers step-by-step instructions to find, import, and verify these keys, alongside general troubleshooting advice to ensure system security and successful package management. -
- Posted on
- Featured Image
This blog post offers an in-depth guide on solving keyring problems in Linux package managers like APT, DNF, and Zypper. It details steps to update, reinstall, or manually install keyrings and trust new keys, ensuring smooth package updates and installations. It emphasizes careful key operations for maintaining system security. -
- Posted on
- Featured Image
Discover the techniques for managing package states across different Linux distributions with our detailed guide on `apt-mark` and its equivalents like `dnf` and `zypper`. Learn how to control package installations and maintain system stability using tools perfect for system administrators in Debian, Ubuntu, Fedora, and openSUSE environments. -
- Posted on
- Featured Image
Learn how to temporarily disable specific package repositories on Linux using command-line tools such as apt, dnf, and zypper. Whether troubleshooting, testing, or optimizing, this guide covers step-by-step methods for managing repositories directly from the command line. Useful for system administrators and Linux users needing to enhance system performance and control. -
- Posted on
- Featured Image
Learn to master AppStream on RHEL-based systems for flexible software management. This guide details how to use the `dnf` package manager to search, install, switch, and remove modular packages, providing strategies for managing multiple software versions across various platforms, including Debian/Ubuntu with `apt` and openSUSE with `zypper`. Essential for improving system stability and flexibility. -
- Posted on
- Featured Image
Discover the innovative management of modular content in Red Hat Enterprise Linux (RHEL) 8 and beyond for optimized software package management. This guide details RHEL 8's modularity feature, enabling management of multiple software versions without dependency conflicts using the `dnf` package manager. It compares package management across Linux distributions like Ubuntu and SUSE with their respective managers, `apt` and `zypper`. Learn essential commands and get expert tips for effective modular system control, crucial for modern system administrators. -
- Posted on
- Featured Image
Learn how to build RPM packages from source with this guide tailored for Linux users. Cover the entire process from setting up your `rpmbuild` environment to creating spec files. Perfect for those looking to distribute software efficiently across Fedora, CentOS, and openSUSE, this guide also offers resources for mastering RPM builds on various Linux systems. Gain skills in software management and distribution within the Linux ecosystem. -
- Posted on
- Featured Image
This guide details how to build DEB packages from source for Debian-based systems, covering necessary tool setups like `dpkg-dev` and `build-essential`. It provides a step-by-step process for downloading, modifying, and building DEB files, tips for installing and managing these packages across various Linux package managers, and includes resources for further mastery of DEB package creation and maintenance. -
- Posted on
- Featured Image
Learn how to install and compile software from source on Linux with this detailed guide. Covering Debian, Fedora, and openSUSE, the article explains preparing your system, downloading and extracting source code, and the detailed steps of configuring, making, and installing software. It emphasizes customization and performance benefits, also noting how to uninstall software and suggesting resources for further learning. -
- Posted on
- Featured Image
This article provides thorough guidance on installing specific package versions using DNF, APT, and Zypper, critical for system admins and developers. It covers searching for package versions, installation, and preventing updates, crucial for software compatibility and testing across various Linux distributions. -
- Posted on
- Featured Image
Learn the steps to install specific package versions using APT, DNF, and Zypper, addressing compatibility and testing needs in Linux systems. Master querying available versions and conducting targeted installations across Debian, Fedora, and openSUSE environments for effective software management and troubleshooting. -
- Posted on
- Featured Image
This article guides on reinstallation of corrupted or faulty packages in Linux across several distributions using three package managers: `apt` for Debian-based systems, `dnf` for Fedora, and `zypper` for openSUSE. It includes step-by-step instructions for each manager and emphasizes the importance of system backups before such operations. -
- Posted on
- Featured Image
Learn how to manually control package updates on Linux systems by disabling automatic upgrades. This guide provides instructions for managing updates using APT, DNF, and Zypper across popular Linux distributions like Debian, Fedora, and openSUSE, ensuring that package upgrades do not disturb system performance or operations. Further resources are provided to help manage and secure systems manually. -
- Posted on
- Featured Image
Learn how to blacklist packages in Linux package managers like apt, dnf, and zypper to ensure system stability and performance. This guide details using `exclude` in DNF/YUM, `hold` in APT, and locks in Zypper, crucial for maintaining specific software versions or compatibility in production environments. -
- Posted on
- Featured Image
This article provides detailed guidance on how to prevent specific packages from being updated across different Linux systems using APT, DNF, and Zypper package managers. It includes practical, step-by-step instructions for using commands like `apt-mark`, modifying the DNF configuration file, and managing package locks with Zypper. Useful for maintaining system stability by controlling package updates. -
- Posted on
- Featured Image
Learn to manage repository priorities in Zypper with this guide, crucial for system stability and software performance. The tutorial details listing repositories using `zypper lr -P` and adjusting their priorities via `zypper mr -p`, empowering users and administrators to control software package sources effectively. Perfect for enhancing your Linux system administration skills. -
- Posted on
- Featured Image
This guide offers a detailed walk-through on managing security updates for RHEL (Red Hat Enterprise Linux) systems and its derivatives like CentOS and Fedora. It teaches how to use package managers including YUM, DNF, apt, and Zypper for implementing security patches to protect servers from vulnerabilities. Essential for any system administrator, it includes instructions for listing and applying updates across various Linux distributions, with links to further reading on specific security update management. -
- Posted on
- Featured Image
This blog post provides a detailed guide on identifying and installing security updates for Ubuntu packages, utilizing package managers like APT, DNF, and Zypper. It outlines methods to check for upgradable packages and specifically filter for security updates. Best practices covered include regular updates, minimal installs, using official repositories, and employing tools for system auditing and monitoring, complemented by additional resources for in-depth understanding. -
- Posted on
- Featured Image
Explore the capabilities of Repoquery for Linux package management in DNF/YUM systems. This guide dives into querying package details like dependencies and versions, and compares Repoquery with APT and Zypper for Debian and SUSE systems. Learn essential commands and advanced tips for effective package space management, enhancing command-line skills across various Linux environments. -
- Posted on
- Featured Image
Learn the intricacies of `apt-cache` for advanced package searching on Debian-based systems, as well as useful insights into `dnf` and `zypper` for Fedora and openSUSE systems. This article guides you on using commands like `search`, `show`, `depends`, and `rdepends` to effectively manage software packages, enhancing your command-line proficiency. -
- Posted on
- Featured Image
This guide offers comprehensive strategies to manage package conflicts on Linux systems using apt, dnf, and zypper tools. It covers basics of package conflicts, system updates, dependency installation, and advanced resolution options for a smooth Linux experience. -
- Posted on
- Featured Image
Learn to create a comprehensive system health check Bash script to monitor CPU, memory, disk usage, and service statuses with this detailed guide. Ideal for IT professionals, the tutorial includes instructions on scripting, execution, customization with email alerts, and scheduling periodic checks. Enhance system performance through automated health checks. -
- Posted on
- Featured Image
Learn to automate database backups using Bash scripting for MySQL, PostgreSQL, and SQLite in this comprehensive guide. Discover installation of tools, script writing, scheduling, and encryption for secure backups, along with best practices for testing and cleanup. Ideal for system administrators and developers. -
- Posted on
- Featured Image
This detailed guide teaches you how to automate and schedule tasks using Cron and Bash in Linux systems. Learn the basics of cron jobs, their management, scheduling, and advanced features including output handling, environment settings, and the use of special strings. Ideal for sysadmins and developers looking to enhance automation in their workflows.