Gitea v1.21.1 中文文档adduser \ 3. --system \ 4. --shell /bin/bash \ 5. --gecos 'Git Version Control' \ 6. --group \ 7. --disabled-password \ 8. --home /home/git \ 9. git 10. 11. # On Fedora/RHEL/CentOS: /etc/gitea 2. chmod 640 /etc/gitea/app.ini 如果您不希望通过 Web 安装程序创建配置文件,可以将配置文件设置为仅供 Gitea 用户只读(owner/group root:git , mode 0640 )并手工创建配置文件: 设置 INSTALL_LOCK=true 关闭安装界面 准备环境 创建工作路径 使用二进制文件安装 - 20 --required-claim-value :必须设置的声明值,以允许用户使用此源登录。(可选) --group-claim-name :提供此源的组名的声明名称。(可选) --admin-group :管理员用户的组声明值。(可选) --restricted-group :受限用户的组声明值。(可选) --group-team-map :组与组织团队之间的 JSON 映射。(可选) Gitea 命令行0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413/srv/git/my_project.git directory, they will also automatically have push access. Git will automatically add group write permissions to a repository properly if you run the git init command with the --shared option SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target You might have noticed that Git daemon is started here with git as both group and user. Modify it to fit your needs modules, which are all needed for this to work properly. You’ll also need to set the Unix user group of the /srv/git directories to www-data so your web server can read- and write-access the repositories0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413/srv/git/my_project.git directory, they will also automatically have push access. Git will automatically add group write permissions to a repository properly if you run the git init command with the --shared option SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target You might have noticed that Git daemon is started here with git as both group and user. Modify it to fit your needs modules, which are all needed for this to work properly. You’ll also need to set the Unix user group of the /srv/git directories to www-data so your web server can read- and write-access the repositories0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 /srv/git/my_project.git directory, they will also automatically have push access. Git will automatically add group write permissions to a repository properly if you run the git init command with the --shared option SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target You might have noticed that Git daemon is started here with git as both group and user. Modify it to fit your needs modules, which are all needed for this to work properly. You’ll also need to set the Unix user group of the /srv/git directories to www-data so your web server can read- and write-access the repositories0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target 你可能会注意这里以 git 启动的 Git 驻留程序同时使用了 Group 和 User 权限。 按需修改它并确保提供的用户 在此系统上。此外,请确保 Git 二进制文件位于 /usr/bin/git,必要时可修改此路径。0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target 你可能会注意这里以 git 启动的 Git 驻留程序同时使用了 Group 和 User 权 限。 按需修改它并确保提供的用户在此系统上。此外,请确保 Git 二进制文件 位于 /us0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













