Gitea v1.21.1 中文文档Authentication 。 在数据库服务器证书中, Subject Alternative Name 或 Common Name 条目之一必须是数据库实例的完全限定域 名(FQDN)(例如 db.example.com )。在数据库客户端证书中,上述提到的条目之一必须包含 Gitea 将用 于连接的数据库用户名。 您需要将 Gitea 和数据库服务器的域名映射到它们各自的 IP 地址。可以为它们设置 postgresql/postgresql.key ~/.postgresql/root.crt 8. 测试与数据库的连接: 1. psql "postgres://gitea@example.db/giteadb?sslmode=verify-full" 您将被提示输入数据库用户的密码,然后连接到数据库。 虽然 Gitea 使用的MySQL驱动程序也支持双向 TLS,但目前 Gitea 仅支持单向 服务器的系统证书存储中。请参考系统文档 中有关将 CA 证书添加到证书存储的说明。 7. 在运行Gitea的服务器上,测试与数据库的连接: 1. mysql -u gitea -h example.db -p --ssl 至此应该成功连接到数据库了。 数据库准备 - 18 - 本文档使用 书栈网 · BookStack.CN 构建 所有打包的二进制程序均包含 SQLite,MySQL 和 PostgreSQL0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Additionally, if you’re using Fedora/RHEL/RHEL-derivatives, you need to do this: $ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi due to binary name differences. When you have all the necessary diff on it: $ git merge-base contrib master 36c7dba2c95e6bbb78dfa822519ecfec6e1ca649 $ git diff 36c7db or, more concisely: $ git diff $(git merge-base contrib master) However, neither of those is particularly deflateBound(strm, size); + return deflateBound(&strm->z, size); } commit 225a6f1068f71723a910e8565db4e252b3ca21fa Author: Junio C HamanoDate: Fri Jun 10 11:18:17 2011 -0700 0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Additionally, if you’re using Fedora/RHEL/RHEL-derivatives, you need to do this: $ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi due to binary name differences. When you have all the necessary diff on it: $ git merge-base contrib master 36c7dba2c95e6bbb78dfa822519ecfec6e1ca649 $ git diff 36c7db or, more concisely: $ git diff $(git merge-base contrib master) However, neither of those is particularly deflateBound(strm, size); + return deflateBound(&strm->z, size); } commit 225a6f1068f71723a910e8565db4e252b3ca21fa Author: Junio C HamanoDate: Fri Jun 10 11:18:17 2011 -0700 0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Additionally, if you’re using Fedora/RHEL/RHEL-derivatives, you need to do this: $ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi due to binary name differences. When you have all the necessary diff on it: $ git merge-base contrib master 36c7dba2c95e6bbb78dfa822519ecfec6e1ca649 $ git diff 36c7db or, more concisely: $ git diff $(git merge-base contrib master) However, neither of those is particularly deflateBound(strm, size); + return deflateBound(&strm->z, size); } commit 225a6f1068f71723a910e8565db4e252b3ca21fa Author: Junio C HamanoDate: Fri Jun 10 11:18:17 2011 -0700 0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66的发行版中预装了): $ sudo dnf install getopt 此外,如果你使用 Fedora/RHEL/RHEL衍生版,那么你需要执行以下命令: $ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi 以此来解决二进制文件名的不同。 当你安装好所有的必要依赖,你可以继续从几个地方来取得最新发布版本的 tar 包。 你可以从 diff 命令: $ git merge-base contrib master 36c7dba2c95e6bbb78dfa822519ecfec6e1ca649 $ git diff 36c7db 或者,更简洁的形式: $ git diff $(git merge-base contrib master) 154 然而,这种做法比较麻烦,所以 Git 提供了一种比较便捷的方式:三点语法。 deflateBound(strm, size); + return deflateBound(&strm->z, size); } commit 225a6f1068f71723a910e8565db4e252b3ca21fa Author: Junio C HamanoDate: Fri Jun 10 11:18:17 2011 -0700 0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66的发行版中预装了): $ sudo dnf install getopt 此外,如果你使用 Fedora/RHEL/RHEL衍生版,那么你需要执行以下命令: $ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi 以此来解决二进制文件名的不同。 当你安装好所有的必要依赖,你可以继续从几个地方来取得最新发布版本的 tar 包 。 diff 命令: $ git merge-base contrib master 36c7dba2c95e6bbb78dfa822519ecfec6e1ca649 $ git diff 36c7db 或者,更简洁的形式: $ git diff $(git merge-base contrib master) 然而,这种做法比较麻烦,所以 Git 提供了一种比较便捷的方式:三点语法。 对于 deflateBound(strm, size); + return deflateBound(&strm->z, size); } commit 225a6f1068f71723a910e8565db4e252b3ca21fa Author: Junio C HamanoDate: Fri Jun 10 11:18:17 2011 -0700 0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













