Pages in category administration

在 Fedora 添加或移除软件源

本章节将讲述如何使用 DNF 添加、启用和禁用软件源。 Adding repositories This section describes how to add software repositories with the dnf config-manager command. To add a new repository, use one of the following methods. Define… Read more

给用户添加 sudo 权限

One of the most common operations that administrators want to accomplish when managing sudo permissions is to grant a new user general sudo access. This is helpful if you want… Read more

Checking Integrity With AIDE

Advanced Intrusion Detection Environment (AIDE) is a utility that creates a database of files on the system, and then uses that database to ensure file integrity and detect system intrusions.… Read more

自动更新

Fedora can automatically download and install updates using dnf-automatic. This page covers how to decide whether automatic updates are right for your system, how to set them up, and how… Read more

修改主机名

新安装好的 Fedora 系统默认会设置好主机名。为了方便在网络中识别您的主机,您可能要改一下这个名字。 Fedora 系统中的主机名分成了三种形式: static (静态)主机名默认在系统启动时使用。此名称通常都比较短,只包含字母、数字和连字符。 另一种形式叫 pretty(装饰)主机名,像它的意思一样,名字可以更长一点,更具描述性,比如“艾米丽的第二台开发用笔记本电脑”。 还有一种叫 transient(临时)主机名,由网络分配。它很有可能跟静态名称相同,除非局域网上存在多个静态名称相同的主机。例如,如果有两个主机的静态名称都叫“localhost”,其中一个的临时主机名可能会是“localhost-1”。 Displaying your current hostname For Fedora Workstation, using the default GNOME desktop, open the Settings application and choose About.… Read more

使用 nmcli 配置 IP 网络

了解如何通过 nmcli (NetworkManager 命令行工具) 对网络进行配置。 Getting started with nmcli The nmcli (NetworkManager Command Line Interface) command-line utility is used for controlling NetworkManager and reporting network status. It can be utilized… Read more

使用 xorg.conf 配置 X 窗口系统

About xorg.conf Traditionally, the xorg.conf file is used to configure an Xorg display server. In Fedora (where an Xorg display server is configured instead of the default Wayland) the X… Read more

Creating a Disk Partition in Linux

Creating and deleting partitions in Linux is a regular practice because storage devices (such as hard drives and USB drives) must be structured in some way before they can be… Read more

禁用 GNOME 自动锁屏

In the interest of safety and privacy, the GNOME automatic screen lock is enabled by default. When the screen locks after a period of inactivity, you must enter your password… Read more

DNF Package Manager Quick Reference

This sections lists the most useful commands provided by the dnf utility. For a complete list of commands, options, and their syntax, see the dnf(8) man page. dnf help command… Read more

Creating a DNF Repository Mirror

A local DNF repository mirror lets you serve Fedora package updates from your own infrastructure. This is useful for organisations managing multiple Fedora systems, restricted or metered network environments, or… Read more

DNF and its APT command equivalents on Fedora

APT is the package manager/dependency solver for the Debian ecosystem, i.e. it manages .deb packages installed by the DPKG program. Fedora software is based on .rpm packages, and therefore uses… Read more

使用 DNF 软件包管理器

DNF is a software package manager that installs, updates, and removes packages on Fedora and is the successor to YUM (Yellow-Dog Updater Modified). DNF makes it easy to maintain packages… Read more

如何启用触摸板点击功能

Scope Fedora tries to make various desktop environments available to its users. Since Fedora tries to stay as close to upstream as possible, we follow the various defaults selected by… Read more

Disk Encryption User Guide

What is block device encryption? Block device encryption encrypts/decrypts the data transparently as it is written/read from block devices, the underlying block device sees only encrypted data. To mount encrypted… Read more

Fedora Repositories

This page explains the various Fedora repositories that exist for different Fedora Releases, the relationship between them, and what packages they contain. The fedora repository The fedora repository exists for… Read more

Adding New Fonts in Fedora

Fedora pre-installs several basic fonts by default. This page explains how to add new fonts to a Fedora installation. Packaged fonts Fedora includes several supplementary fonts in its official repositories… Read more

Setting a key shortcut to run an application in GNOME

If you frequently use a certain application, you can set a keyboard shortcut to quickly launch that application on GNOME. This example shows how to set a key shortcut to… Read more

The GRUB2 Bootloader – Installation and Configuration

GRUB2 is the latest version of GNU GRUB, the GRand Unified Bootloader. A bootloader is the first software program that runs when a computer starts. It is responsible for loading… Read more

How to troubleshoot sound problems

This page covers some basic troubleshooting techniques to help narrow down the root cause of an issue. It also explains information that should be included when filing bugs related to… Read more

Joining an Active Directory or FreeIPA domain

Fedora can join Active Directory and FreeIPA domains using the realm command. If you want your Fedora machine to be part of an Active directory or FreeIPA domain just follow… Read more

管理 GNOME 应用启动快捷键

Adding keyboard shortcuts for custom applications in GNOME This section describes how to add a keyboard shortcut for starting a custom application in GNOME. Procedure Open Settings and choose the… Read more

Machine Owner Key Enrollment

This page documents how to enroll a machine owner key that is created during the Nvidia driver installation (typically in GNOME Software, or as described in the RPM Fusion article… Read more

Network Manager Quick Reference

NetworkManager status Overall status of NetworkManager Display active connections Display all configured connections Connect/disconnect to an already configured connection Connect to a configured connection by name Disconnection by name Wi-Fi… Read more

软件包管理系统

Fedora uses a package management system based on RPM to install, update, and remove software. This page explains what a package management system is, its advantages, and the tools available.… Read more

使用 sudo 执行管理任务

How to perform tasks requiring root privileges without logging in as root. What is sudo? The sudo command allows users to gain administrative or root access. When trusted users precede… Read more

Persistent Identifiers for Storage Devices

The Linux kernel assigns each storage device a dynamic device name that is not stable across reboots. Persistent identifiers solve this: udev uses them to maintain stable symlinks under /dev/disk/by-id/,… Read more

如何重置 root 密码

A root password may be set up while installing Fedora Linux, although it is now suggested to leave the root account locked and use sudo. This article describes how to… Read more

Root Account Locked

Phenomenon Cannot open access to console, the root account is locked in emergency mode (dracut emergency shell) Reason This is a known problem. It happens Fedora releases 28 and newer,… Read more

How to create a Samba share

Samba allows for Windows and other clients to connect to file share directories on Linux hosts. It implements the server message block (SMB) protocol. This guide covers creating a shared… Read more

保持系统更新以加强其安全性

Why it is important to update your system regularly How to apply updates manually by using the GUI or CLI How to enable automatic updates Why it is important to… Read more

How to Set Nvidia as Primary GPU on Optimus-based Laptops

Introduction The goal is to have an active NVIDIA GPU on an Optimus-based laptop and use it for all activities on Desktops Environments with Xorg-X11. Avoid using this guide if… Read more

Understanding and administering systemd

Learn the basic principles of the systemd init system: how to configure it and use it to administer the system. Understanding systemd Systemd is a system and service manager for… Read more

Understanding Third-Party Software versus Fedora Release Software

This page explains the distinction between third-party software and software included in official Fedora releases, including their differences, how they are managed, and important considerations for each. What is Fedora… Read more

Upgrading Fedora Linux to a New Release

This article mainly describes the update procedures for the Fedora Desktop variants. Some of the descriptions also apply to the server versions. However, the latter may provide their own documentation… Read more

Upgrading Fedora Linux Using DNF System Plugin

dnf system-upgrade command (embedded into DNF5 and a dnf-plugin-system-upgrade plugin for the DNF4 package manager ) is used to upgrade your system to the current release of Fedora Linux. For… Read more

Upgrading Fedora Linux Online Using Package Manager

This page contains information explaining how to upgrade Fedora Linux online using dnf (without the DNF system upgrade plugin). Upgrading Fedora Linux using dnf directly Participate If you are upgrading… Read more

如何启用 KVM 的嵌套虚拟

Nested virtualization allows you to run a virtual machine (VM) inside another VM while still using hardware acceleration from the host. Checking if nested virtualization is supported For Intel processors,… Read more

Using Shared System Certificates

The Shared System Certificates storage enables NSS, GnuTLS, OpenSSL, and Java to share a default source for retrieving system certificate anchors and black list information. By default, the trust store… Read more

在 Fedora 查看日志

Log files contain messages about the system, including the kernel, services, and applications running on it. These contain information that helps troubleshoot issues, or simply monitor system functions. Fedora uses… Read more