共 8 篇文章 |
|
centos7搭建svn服务器并支持http方式访问。svn://ip.LoadModule dav_svn_module modules/mod_dav_svn.soLoadModule authz_svn_module modules/mod_authz_svn.so <Location /svn/test> DAV svn SVNListParentPath on SVNPath /home/svn/test AuthType Basic Satisfy Any AuthName "Subversion repos" AuthUserFile /home/svn/te... 阅217 转4 评0 公众公开 23-01-16 09:47 |
防止代码丢失远程同步代码团队合作利器代码还原记录代码版本安装GitGit的常用的操作命令。git init 初始化git仓库git status 查看状态git add 将文件添加到git仓库的暂存区git commit 将添加到暂存区的文件提交到git仓库git log 查看日志git branch 查看当前的分支git branch hi 创建一个叫做“hi”的分支git checkout hi 切换分支到“hi”分支... 阅29 转1 评0 公众公开 22-03-04 00:18 |
Gitlab备份到windows、在Linux恢复一 备份gitlab为完整压缩包。# 在目录/var/opt/gitlab/backups/ 创建备份文件gitlab-rake gitlab:backup:create/var/opt/gitlab/backups/1559614181_2019_06_04_10.7.7_gitlab_backup.tar.df -h /var/opt/gitlab/backups二 恢复gitlab.gitlab-rake gitlab:backup:restore BACKUP=备份文件编号gitlab-rake gitl... 阅157 转2 评0 公众公开 21-11-24 22:39 |
阅65 转0 评0 公众公开 21-11-24 11:30 |
下载rpm包并安装:wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.0.0-ce.0.el7.x86_64.rpmrpm -i gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm4.修改gitlab配置文件指定服务器ip和自定义端口vim /etc/gitlab/gitlab.rb退出并保存ps:注意这里设置的端口不能被占用,默认是8080端口,如果8080已经使用,请自定义其它端口,... 阅3 转0 评0 公众公开 21-11-24 11:25 |
GitLab备份与恢复一、 备份gitlab.gitlab的备份比较简单,我们直接使用gitlab本身提供的命令进行备份即可。1.1 通过gitlab-rake命令备份gitlab.gitlab提供的备份命令为gitlab-rake,备份命令使用如下:gitlab-rake gitlab:backup:create.0 4 * * * root /opt/gitlab/bin/gitlab-rake gitlab:backup:create CRON=1.要验证gitlab备份的有效性,我... 阅1294 转5 评0 公众公开 21-11-23 15:14 |