摘要: 进入gitlab容器执行gitlab-rails console production,命令: docker exec -it gitlab-web-1 gitlab-rails console production root@DESKTOP-1T50PP8:/srv/gitlab/config# 阅读全文
posted @ 2023-02-21 12:15 水天需 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 下载和安装gitlab 去docker hub下载指定版本的itlab ce镜像 创建GITLAB_HOME的环境变量. sudo vim .bashrc export GITLAB_HOME=/srv/gitlab source .bashrc root@DESKTOP-1T50PP8:~# ca 阅读全文
posted @ 2023-02-21 12:08 水天需 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 在WSL用 sudo ls /mnt/* 列出系统所有的挂载盘,可以看到windows系统的所有盘都列出来了 找到你需要拷贝的文件位置,然后使用 cp命令就可以了。例如我要拷贝h盘下面的gitlab备份文件去wsl,用下面的命令即可。 cp /mnt/h/nana/1619799951_2021_0 阅读全文
posted @ 2023-02-21 10:20 水天需 阅读(6382) 评论(0) 推荐(1) 编辑