1.进入宝塔添加数据库阿里云搭建Gogs

=================================================================================
2.远程登录阿里云,并创建一个名为Git的账户
sudo adduser git
阿里云搭建Gogs

=================================================================================
3.下载 Gogs包并解压

sudo apt-get install unzip
阿里云搭建Gogs
su git
阿里云搭建Gogs
unzip linux_amd64.zip
阿里云搭建Gogs

=================================================================================
4.复制gogs配置文件
su root
sudo cp /home/gitgogs/scripts/init/debian/gogs /etc/init.h/

阿里云搭建Gogs

=================================================================================
5.启动gogs服务
cd /home/git/gogs/
./gogs web
阿里云搭建Gogs

=================================================================================
6.进入宝塔—>安全,放行3000端口
阿里云搭建Gogs

=================================================================================
7.登录git,首次登录需要配置相关信息
阿里云搭建Gogs

=================================================================================

8.配置完成后登录进行账号注册阿里云搭建Gogs

=================================================================================

9.创建完成,此时就可以将需要托管的代码上传啦阿里云搭建Gogs

相关文章:

  • 2021-12-08
  • 2021-11-14
  • 2021-09-10
  • 2021-07-21
  • 2021-08-03
  • 2021-07-18
  • 2021-08-21
  • 2021-07-26
猜你喜欢
  • 2021-11-24
  • 2021-11-05
  • 2022-12-23
  • 2021-11-23
  • 2021-11-27
  • 2021-11-27
  • 2022-02-08
相关资源
相似解决方案