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, do the following as root. Define a… Read more

Adding a user to sudoers

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

Automatic Updates

You must decide whether to use automatic DNF updates on each of your machines. There are a number of arguments both for and against automatic updates to consider. However, there… 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 配置网络

了解如何通过 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

Configuring Xorg as the default GNOME session

Wayland is the default GNOME display server, and has been the default in Fedora since Fedora 25. However, users may still need to use the older Xorg display server for… 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

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 thus uses… Read more

Using the DNF software package manager

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

How to enable touchpad click

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 Did you know Fedora packages several freely-licensed fonts? There… 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

Installing plugins for playing movies and music

As a Fedora user and system administrator, you can use these steps to install additional multimedia plugins that enable you to play various video and audio types. Procedure Use the… 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). Prerequisite The Nvidia driver has been installed and… 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

软件包管理系统

软件包管理系统 Introduction Fedora is a distribution that uses a package management system. This system is based on rpm , the RPM Package Manager, with several higher level tools built on… Read more

PackageKit Items Not Found

Missing Package Unfortunately, the package you were searching for is not available in Fedora. There are a few common reasons why a package might not be in Fedora’s repositories: Fedora… Read more

Performing administration tasks using 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

How to Reset the root Password

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

Securing the system by keeping it up-to-date

This section explains: 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… Read more

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

Introduction The objective is to enable NVIDIA GPU of an Optimus-based laptop all the time and use it for every single activity. Please do not use this guide if you… 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

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-plugin-system-upgrade is a plugin for the DNF package manager and is used to upgrade your system to the current release of Fedora Linux. For Fedora Silverblue and Fedora CoreOS, which… 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

How to enable nested virtualization in 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

Installing Zoom on Fedora

Description Zoom Video Communications. Inc. is an American communications technology company headquartered in San Jose, California. It provides videotelephony and online chat services through a cloud-based peer-to-peer software platform and… Read more