Gitea v1.21.1 中文文档书栈网 · BookStack.CN 构建 检查是否安装 Git。要求 Git 版本 >= 2.0。 1. git --version 创建用户(推荐使用名称 git ) 1. # On Ubuntu/Debian: 2. adduser \ 3. --system \ 4. --shell /bin/bash \ 5. --gecos 'Git Version Control' sudo systemctl enable supervisor 2. sudo systemctl start supervisor 在 Linux 中以 service 方式运行 在 Ubuntu 16.04 LTS 中以 service 方式运行 systemd 方式 使用 supervisor 在 Linux 中以 service 方式运行 - 31 - 本文档使用 书栈网 · - 本文档使用 书栈网 · BookStack.CN 构建 如果您想使用 Apache HTTPD 作为 Gitea 的反向代理服务,您可以为您的 Apache HTTPD 作如下配置(在 Ubuntu 中,配置文件通常在 /etc/apache2/httpd.conf 目录下): 1.2. ... 3. ProxyPreserveHost 0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413you can use dnf: $ sudo dnf install git-all If you’re on a Debian-based distribution, such as Ubuntu, try apt: $ sudo apt install git-all For more options, there are instructions for installing on repository to download the docbook2X package. If you’re using a Debian-based distribution (Debian/Ubuntu/Ubuntu- derivatives), you also need the install-info package: $ sudo apt-get install install-info for authenticating your users. We also assume you’re running a standard Linux distribution like Ubuntu. A good deal of what is described here can be automated by using the ssh-copy-id command,0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413you can use dnf: $ sudo dnf install git-all If you’re on a Debian-based distribution, such as Ubuntu, try apt: $ sudo apt install git-all For more options, there are instructions for installing on repository to download the docbook2X package. If you’re using a Debian-based distribution (Debian/Ubuntu/Ubuntu-derivatives), you also need the install-info package: $ sudo apt-get install install-info If for authenticating your users. We also assume you’re running a standard Linux distribution like Ubuntu. A good deal of what is described here can be automated by using the ssh-copy-id command, rather0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 you can use dnf: $ sudo dnf install git-all If you’re on a Debian-based distribution, such as Ubuntu, try apt: $ sudo apt install git-all For more options, there are instructions for installing on repository to download the docbook2X package. If you’re using a Debian-based distribution (Debian/Ubuntu/Ubuntu- derivatives), you also need the install-info package: $ sudo apt-get install install-info for authenticating your users. We also assume you’re running a standard Linux distribution like Ubuntu. A good deal of what is described here can be automated by using the ssh-copy-id command,0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66为例,如果你在使用它(或与之紧密相关的基于 RPM 的发行版,如 RHEL 或 CentOS),你 可以使用 dnf: $ sudo dnf install git-all 如果你在基于 Debian 的发行版上,如 Ubuntu,请使用 apt: $ sudo apt install git-all 要了解更多选择,Git 官方网站上有在各种 Unix 发行版的系统上安装步骤,网址为 https://git-scm 衍生版,如 CentOS 和 Scientific Linux 的用户需要 开启 EPEL 库 以便下 载 docbook2X 包。 如果你使用基于 Debian 的发行版(Debian/Ubuntu/Ubuntu-derivatives),你也需要 install-info 包: $ sudo apt-get install install-info 如果你使用基于 RPM 的发行版(Fedo 配置服务器 我们来看看如何配置服务器端的 SSH 访问。 本例中,我们将使用 authorized_keys 方法来对用户进行认证。 同时我们假设你使用的操作系统是标准的 Linux 发行版,比如 Ubuntu。 首先,创建一个操作系统用户 git,并 为其建立一个 .ssh 目录。 以下操作可通过 ssh-copy-id 命令自动完成,这样就不必手动复制并安装公钥了。 首先,创建一个操作系统用户0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66(或与之紧密相关的基于 RPM 的发行版,如 RHEL 或 CentOS),你可以使 用 dnf: $ sudo dnf install git-all 如果你在基于 Debian 的发行版上,如 Ubuntu,请使用 apt: $ sudo apt install git-all 要了解更多选择,Git 官方网站上有在各种 Unix 发行版的系统上安装步骤, 网址为 https://git-scm Scientific Linux 的用户需要 开启 EPEL 库 以 便下载 docbook2X 包。 如 果 你 使 用 基 于 Debian 的 发 行 版 ( Debian/Ubuntu/Ubuntu- derivatives),你也需要 install-info 包: $ sudo apt-get install install-info 如果你使用基于 RPM 的发行版(Fe 端 的 SSH 访 问 。 本 例 中 , 我 们 将 使 用 authorized_keys 方法来对用户进行认证。 同时我们假设你使用的操作系统是 标准的 Linux 发行版,比如 Ubuntu。 首先,创建一个操作系统用户 git, 并为其建立一个 .ssh 目录。 以下操作可通过 ssh-copy-id 命令自动完成,这样就不必手动复制并安装公钥了。 首先,创建一个操作系统用户0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













