Gitea v1.21.1 中文文档
用于 Gitea 实例(数据库客户 端)。两个证书都必须由受信任的 CA 签名。 数据库证书必须在 X509v3 Extended Key Usage 扩展属性中包含 TLS Web Server Authentication ,而客户端证 书则需要在相应的属性中包含 TLS Web Client Authentication 。 在数据库服务器证书中, Subject Alternative 提供的二进制文件中集成了 SQLite 支持。在这种情况下,通常可以选择从源代码安装,而不包括 SQLite 支持。 对于出现类似于 702 runWeb()] [E] Failed to start server: listen tcp 0.0.0.0:3000: bind: address already in use 的 错误,需要将 Gitea 启动在另一个空闲端口上。您可以使用 ./gitea docker-compose.yml 然后将以下内容粘贴到名为 docker-compose.yml 的文件中: 1. version: "2" 2. 3. services: 4. server: 5. image: gitea/gitea:1.21.1-rootless 6. restart: always 7. volumes: 8. -0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 2nd Edition 2.1.413
Summary Git on the Server The Protocols Local Protocol The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting the Bare Repository on a Server Small Setups Generating Generating Your SSH Public Key Setting Up the Server Git Daemon Smart HTTP GitWeb GitLab Installation Administration Basic Usage Working Together Third Party Hosted Options Summary Distributed Git and Whitespace Server Configuration Git Attributes Binary Files Keyword Expansion Exporting Your Repository Merge Strategies Git Hooks Installing a Hook Client-Side Hooks Server-Side Hooks An0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
Summary Git on the Server The Protocols Local Protocol The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting the Bare Repository on a Server Small Setups Generating Generating Your SSH Public Key Setting Up the Server Git Daemon Smart HTTP GitWeb GitLab Installation Administration Basic Usage Working Together Third Party Hosted Options Summary Distributed Git and Whitespace Server Configuration Git Attributes Binary Files Keyword Expansion Exporting Your Repository Merge Strategies Git Hooks Installing a Hook Client-Side Hooks Server-Side Hooks An0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 2nd Edition 2.1.413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Git on the Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Getting Git on a Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Setting Up the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
这会执行与上一条命令相同的操作,但目标目录名变为了 mylibgit。 Git 支持多种数据传输协议。 上面的例子使用的是 https:// 协议,不过你也可以使用 git:// 协议或者使用 SSH 传输协议,比如 user@server:path/to/repo.git 。 在服务器上搭建 Git 将会介绍所有这些协议在服 务器端如何配置使用,以及各种方式之间的利弊。 记录每次更新到仓库 现在我们的机器上有了一个 真实项目 只忽略当前目录下的 TODO 文件,而不忽略 subdir/TODO /TODO # 忽略任何目录下名为 build 的文件夹 build/ # 忽略 doc/notes.txt,但不忽略 doc/server/arch.txt doc/*.txt # 忽略 doc/ 目录及其所有子目录下的 .pdf 文件 doc/**/*.pdf GitHub 有一个十分详细的针对数十种项目及语言的 .gitignore the brackets master 1ae2a45 [origin/master] deploying index fix * serverfix f8674d9 [teamone/server-fix-good: ahead 3, behind 1] this should do it testing 5ea463a trying something new 这里可以看到 iss530 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
Git 支持多种数据传输协议。 上面的例子使用的是 https:// 协议,不过你也 可 以 使 用 git:// 协 议 或 者 使 用 SSH 传 输 协 议 , 比 如 user@server:path/to/repo.git 。 在服务器上搭建 Git 将会介绍所有这些协 议在服务器端如何配置使用,以及各种方式之间的利弊。 记录每次更新到仓库 现在我们的机器上有了一个 真实项目 只忽略当前目录下的 TODO 文件,而不忽略 subdir/TODO /TODO # 忽略任何目录下名为 build 的文件夹 build/ # 忽略 doc/notes.txt,但不忽略 doc/server/arch.txt doc/*.txt # 忽略 doc/ 目录及其所有子目录下的 .pdf 文件 doc/**/*.pdf GitHub 有一个十分详细的针对数十种项目及语言的 .gitignore the brackets master 1ae2a45 [origin/master] deploying index fix * serverfix f8674d9 [teamone/server-fix-good: ahead 3, behind 1] this should do it testing 5ea463a trying something new 这里可以看到 iss530 码力 | 670 页 | 13.59 MB | 1 年前3git 操作手册
install chrony -y # systemctl enable chronyd # systemctl start chronyd # vi /etc/chrony.conf server 10.99.1.1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1