 Gitea v1.21.1 中文文档派、时间跟踪、到期时间、依赖关系等功能。 制品库: Gitea支持超过 20 种不同种类的公有或私有软件包管理,包括:Cargo, Chef, Composer, Conan, Conda, Container, Helm, Maven, npm, NuGet, Pub, PyPI, RubyGems, Vagrant等 开源社区支持: Gitea 是一个基于 MIT 许可证的开源项目,Gitea external: false 6. 7. services: 8. server: 9. image: gitea/gitea:1.21.1 10. container_name: gitea 11. environment: 12. - USER_UID=1000 13. - USER_GID=1000 14. external: false 6. 7. services: 8. server: 9. image: gitea/gitea:1.21.1 10. container_name: gitea 11. environment: 12. - USER_UID=1000 13. - USER_GID=1000 14.0 码力 | 303 页 | 3.88 MB | 1 年前3 Gitea v1.21.1 中文文档派、时间跟踪、到期时间、依赖关系等功能。 制品库: Gitea支持超过 20 种不同种类的公有或私有软件包管理,包括:Cargo, Chef, Composer, Conan, Conda, Container, Helm, Maven, npm, NuGet, Pub, PyPI, RubyGems, Vagrant等 开源社区支持: Gitea 是一个基于 MIT 许可证的开源项目,Gitea external: false 6. 7. services: 8. server: 9. image: gitea/gitea:1.21.1 10. container_name: gitea 11. environment: 12. - USER_UID=1000 13. - USER_GID=1000 14. external: false 6. 7. services: 8. server: 9. image: gitea/gitea:1.21.1 10. container_name: gitea 11. environment: 12. - USER_UID=1000 13. - USER_GID=1000 14.0 码力 | 303 页 | 3.88 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413com/gitproject.git In this particular case, we’re using the /var/www/htdocs path that is common for Apache setups, but you can use any static web server — just put the bare repository in its path. The Git We’ll set this up with Apache as the CGI server. If you don’t have Apache setup, you can do so on a Linux box with something like this: $ sudo apt-get install apache2 apache2-utils 117 $ a2enmod cgi repositories, because the Apache instance running the CGI script will (by default) be running as that user: $ chgrp -R www-data /srv/git Next we need to add some things to the Apache configuration to run0 码力 | 501 页 | 17.96 MB | 1 年前3 Pro Git 2nd Edition 2.1.413com/gitproject.git In this particular case, we’re using the /var/www/htdocs path that is common for Apache setups, but you can use any static web server — just put the bare repository in its path. The Git We’ll set this up with Apache as the CGI server. If you don’t have Apache setup, you can do so on a Linux box with something like this: $ sudo apt-get install apache2 apache2-utils 117 $ a2enmod cgi repositories, because the Apache instance running the CGI script will (by default) be running as that user: $ chgrp -R www-data /srv/git Next we need to add some things to the Apache configuration to run0 码力 | 501 页 | 17.96 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413com/gitproject.git In this particular case, we’re using the /var/www/htdocs path that is common for Apache setups, but you can use any static web server — just put the bare repository in its path. The Git We’ll set this up with Apache as the CGI server. If you don’t have Apache setup, you can do so on a Linux box with something like this: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias repositories, because the Apache instance running the CGI script will (by default) be running as that user: $ chgrp -R www-data /srv/git Next we need to add some things to the Apache configuration to run0 码力 | 731 页 | 21.49 MB | 1 年前3 Pro Git 2nd Edition 2.1.413com/gitproject.git In this particular case, we’re using the /var/www/htdocs path that is common for Apache setups, but you can use any static web server — just put the bare repository in its path. The Git We’ll set this up with Apache as the CGI server. If you don’t have Apache setup, you can do so on a Linux box with something like this: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias repositories, because the Apache instance running the CGI script will (by default) be running as that user: $ chgrp -R www-data /srv/git Next we need to add some things to the Apache configuration to run0 码力 | 731 页 | 21.49 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413 com/gitproject.git In this particular case, we’re using the /var/www/htdocs path that is common for Apache setups, but you can use any static web server — just put the bare repository in its path. The Git We’ll set this up with Apache as the CGI server. If you don’t have Apache setup, you can do so on a Linux box with something like this: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias repositories, because the Apache instance running the CGI script will (by default) be running as that user: $ chgrp -R www-data /srv/git Next we need to add some things to the Apache configuration to run0 码力 | 691 页 | 13.35 MB | 1 年前3 Pro Git 2nd Edition 2.1.413 com/gitproject.git In this particular case, we’re using the /var/www/htdocs path that is common for Apache setups, but you can use any static web server — just put the bare repository in its path. The Git We’ll set this up with Apache as the CGI server. If you don’t have Apache setup, you can do so on a Linux box with something like this: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias repositories, because the Apache instance running the CGI script will (by default) be running as that user: $ chgrp -R www-data /srv/git Next we need to add some things to the Apache configuration to run0 码力 | 691 页 | 13.35 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66这条命令会在你通过 SSH 向版本库推送之后被执行;然后别人就 可以通过类似下面的命令来克隆: $ git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使用任何静态 Web 服务器 —— 只 需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 在完成以上简单的安装步骤后, 我们将用 Apache 来作为 CGI 服务器。 如果你没有安装 Apache,你可以在 Linux 环境下执行如下或类似的命令来安装: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块都是使该功能正常工作所必须 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作为 Web 服务器对 /git 路径请 求的处理器。 SetEnv0 码力 | 501 页 | 19.30 MB | 1 年前3 Pro Git 中文版 第2版 2.1.66这条命令会在你通过 SSH 向版本库推送之后被执行;然后别人就 可以通过类似下面的命令来克隆: $ git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使用任何静态 Web 服务器 —— 只 需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 在完成以上简单的安装步骤后, 我们将用 Apache 来作为 CGI 服务器。 如果你没有安装 Apache,你可以在 Linux 环境下执行如下或类似的命令来安装: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块都是使该功能正常工作所必须 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作为 Web 服务器对 /git 路径请 求的处理器。 SetEnv0 码力 | 501 页 | 19.30 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66条命令会在你通过 SSH 向版本库推送之后被执行;然后别人就可以通过类似 下面的命令来克隆: $ git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使 用任何静态 Web 服务器 —— 只需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 在完成以上简单的安装步骤后, 我们将用 Apache 来作为 CGI 服务器。 如果 你没有安装 Apache,你可以在 Linux 环境下执行如下或类似的命令来安装: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache 实例默认会以该用户的权限运 行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作 为 Web 服务器对 /git 路径请求的处理器。 SetEnv0 码力 | 670 页 | 13.59 MB | 1 年前3 Pro Git 中文版 第2版 2.1.66条命令会在你通过 SSH 向版本库推送之后被执行;然后别人就可以通过类似 下面的命令来克隆: $ git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使 用任何静态 Web 服务器 —— 只需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 在完成以上简单的安装步骤后, 我们将用 Apache 来作为 CGI 服务器。 如果 你没有安装 Apache,你可以在 Linux 环境下执行如下或类似的命令来安装: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache 实例默认会以该用户的权限运 行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作 为 Web 服务器对 /git 路径请求的处理器。 SetEnv0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1














