参考资料

  1. Ruby 是一种动态、开源的编程语言
  2. Pony 是一个高性能的 Python 异步网络框架
  3. docker安装nginx详细说明以及案例
  4. MariaDB 是一个开源的关系型数据库管理系统
  5. Docker Desktop的安装步骤
  6. FileZilla Server是一款开源FTP服务器软件
  7. Silverpeas 是一个开源的企业协作平台
  8. emlog 是一款基于 PHP 和 MySQL 的开源博客系统

Fedora 是由 Fedora 项目社区开发

Fedora 简介

Fedora 是由 Fedora 项目社区开发、Red Hat 赞助的 Linux 发行版。它以创新性、前沿技术和开源精神著称,常作为新技术的试验平台。

特点

  1. 前沿技术:率先采用新技术(如 Wayland、PipeWire)。

  2. 社区驱动:由全球开发者共同维护。

  3. 自由开源:严格遵循开源协议。

  4. 定期更新:每6个月发布一个新版本,支持约13个月。

  5. 多个版本

    • Workstation(桌面版)

    • Server(服务器版)

    • IoT(物联网版)

    • CoreOS(容器优化版)

    • Silverblue(不可变桌面版)

最新更新内容及时间

  • Fedora 40(预计2024年4月发布)

    • GNOME 46 桌面环境

    • 更新至 GCC 14

    • 默认使用 DNF5 包管理器

    • 改进 Wayland 和 PipeWire 支持

镜像下载地址

官网地址

阅读文档地址

Docker 安装示例

# 安装 Docker
sudo dnf install docker-ce docker-ce-cli containerd.io

# 启动 Docker 服务
sudo systemctl enable --now docker

# 验证安装
sudo docker run hello-world

DNF/Yum 仓库设置 (.repo 文件)

  1. 创建 /etc/yum.repos.d/example.repo 文件:

    [example]
    name=Example Repository
    baseurl=https://example.com/repo
    enabled=1
    gpgcheck=1
    gpgkey=https://example.com/key.gpg
  2. 更新缓存:

    sudo dnf makecache

常用错误及解决方法

  1. 依赖问题

    sudo dnf autoremove
    sudo dnf distro-sync
  2. GPK 错误

    sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
  3. Boot 失败

    • 进入 rescue 模式修复 GRUB:

      sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  4. DNF 锁错误

    sudo rm /var/lib/dnf/history.sqlite*
    sudo dnf clean all
  5. Wayland 兼容问题

    • 登录时选择 "GNOME on Xorg" 会话。