09 2020 档案

摘要:架设私服本地玩下git 操作. 前提是先把SSH 设置好,能免密登录,Git 拉取代码也是用的同样的验证机制。 1.服务器上建立空的 repository,记得权限。 git --bare init --shared CuttingTool.git 2. git clone 到本地目录 git cl 阅读全文
posted @ 2020-09-13 23:12 LearningAlbum 阅读(344) 评论(0) 推荐(0) 编辑
摘要:安装了 18.04 的版本,按照网上的做法怎么都是密匙未在远程注册,看来搜索官方的介绍,尝试做成功了。 1. 开启免密登录 sudo vim /etc/ssh/sshd_config PubkeyAuthentication yesservice ssh restart //重启ssh 服务 2. 阅读全文
posted @ 2020-09-13 21:45 LearningAlbum 阅读(3404) 评论(0) 推荐(0) 编辑
摘要:安装gitlab 新建文件/etc/yum.repos.d/gitlab-ce.repo [gitlab-ce] name=Gitlab CE Repository baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$relea 阅读全文
posted @ 2020-09-12 21:49 LearningAlbum 编辑
摘要:可能你安装好ubuntu后想通过SSH连接,但是怎么会连接不上?在ssh_config 里面也配置了啊,其实这个文件是用来配置的客户端的(Server自己做客户端连接别的Server的时候),搜索到一篇外文介绍 ssh_config: configuration file for the ssh c 阅读全文
posted @ 2020-09-12 11:42 LearningAlbum 阅读(1380) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示