跳转到主要内容

书籍

Forgejo 管理员指南(英文原版)

面向 Forgejo 站点管理员(英文):介绍用 Docker 或二进制安装、数据库准备、邮件与反向代理等关键设置、存储、身份认证、界面定制与内容审核、Actions Runner 的部署与安全、日志排错,以及升级和从 Gitea 迁移。

7 章32 页更新于 22 小时前

开始阅读
CC BY-SA 4.0

目录32

  1. 01 Forgejo Administrator Guide These documents are targeted to people who run Forgejo on their machines. Installation Introduction With Do... 14 小时前
  2. 第 1 章 Installation 4 页
    1. 1.1 Installation Forgejo publishes a stable release every three months and a long term support (LTS) release every year. Pat... 14 小时前
    2. 1.2 Installation with Docker Forgejo provides container images for use with Docker or other containerization tools. docker pull codeberg... 14 小时前
    3. 1.3 Installation from binary Install Forgejo and Git, create git user [!note] Note This guide uses git.example.com and x.y.z for illustr... 11 小时前
    4. 1.4 Database Preparation Forgejo uses a database to store relational data, however not every relational database can be used by Forg... 14 小时前
  3. 第 2 章 Important setup steps 5 页
    1. 2.1 Email setup Forgejo can be set to send emails such as a registration confirmation, either with Sendmail (or compatible ... 14 小时前
    2. 2.2 Reverse proxy Forgejo can live standalone, or behind a reverse proxy. You may want this for scenarios like: Subpath mappi... 22 小时前
    3. 2.3 Storage settings The storage for each subsystem is defined in app.ini. It can either be on disk ( local which is the defaul... 22 小时前
    4. 2.4 Recommended Settings and Tips The default settings are applicable to a broad range of Forgejo instances. Nevertheless, not every instance... 14 小时前
    5. 2.5 Authentication LDAP (Lightweight Directory Access Protocol) Both the LDAP via BindDN and the simple auth LDAP share the fo... 22 小时前
  4. 第 3 章 Advanced configuration 8 页
    1. 3.1 Adopt existing git directories If directories containing bare git repositories exist in the [repository].ROOT hierarchy, they can be impor... 14 小时前
    2. 3.2 Interface customization Forgejo currently has limited capabilities for customizing the user interface. Configurations and UI settin... 14 小时前
    3. 3.3 Moderation tools Moderation tools are meant to help the Forgejo users and admins handle spam bots and undesirable interactio... 14 小时前
    4. 3.4 Soft-Quota Forgejo has early support for a soft-quota that can protect your server from high disk usage due to abuse o... 14 小时前
    5. 3.5 Incoming Email Forgejo supports the execution of several actions through incoming mails. This page describes how to set th... 22 小时前
    6. 3.6 Search Engines Indexation Search engines indexation of your Forgejo installation By default, your Forgejo installation will be indexe... 22 小时前
    7. 3.7 OAuth2 provider Pre-registered applications The following OAuth2 applications are pre-registered because it is generally us... 11 小时前
    8. 3.8 Instance Commit Signing Forgejo has the ability to sign commits when Forgejo themselves generates those commits, such as: Repositor... 14 小时前
  5. 第 4 章 Troubleshooting and debugging 3 页
    1. 4.1 Seek Assistance Chatroom Issue tracker [!note] Note When asking for support, it may be a good idea to have the following av... 22 小时前
    2. 4.2 Logging Configuration The logging configuration of Forgejo mainly consists of 3 types of components: The [log] section for gener... 14 小时前
    3. 4.3 Profiling Forgejo is written in Go, which means Forgejo can leverage the extensive profiling tooling that is provided... 14 小时前
  6. 第 5 章 Forgejo Actions 8 页
    1. 5.1 Forgejo Actions administrator guide Forgejo Actions provides continuous integration driven from the files found in the .forgejo/workflows dire... 14 小时前
    2. 5.2 Securing Forgejo Actions Deployments Remote code execution (RCE) is typically considered one of the most critical security vulnerabilities that ... 14 小时前
    3. 5.3 Utilizing Docker within Actions Forgejo Runner uses a container environment to run actions, but additional configuration is required to all... 14 小时前
    4. 5.4 Forgejo Runner Configuration Choosing labels When Forgejo identifies a job that needs to be run, it inspects the jobs' runs-on field to... 14 小时前
    5. 5.5 Installation from binary System requirements Forgejo Runner requires that Git is installed, and has been tested with a minimum versi... 14 小时前
    6. 5.6 Installation with Docker OCI image The OCI images are built from the Dockerfile which is found in the source directory. It contains ... 22 小时前
    7. 5.7 Installation from packaging NixOS A forgejo-runner package is available for Nix. As NixOS service module services.gitea-actions-runne... 14 小时前
    8. 5.8 Forgejo Runner Registration Forgejo Runner requires a uuid and token to connect to Forgejo. These values act as a username and password... 14 小时前
  7. 第 6 章 Upgrade and migration 2 页
    1. 6.1 Upgrade guide This guide helps Forgejo admins perform upgrades safely and provides guidance to troubleshoot problems. It ... 14 小时前
    2. 6.2 Gitea migration This guide describes how to go from Gitea to Forgejo. Upgrades are supported up to Gitea v1.22 included, in... 14 小时前
  8. 第 7 章 Resources and reference 1 页
    1. 7.1 Configuration Cheat Sheet This is a cheat sheet for the Forgejo configuration file. It contains most of the settings that can be conf... 14 小时前