社区
研发管理
帖子详情
gitosis管理问题求助
irisloveli
2014-03-11 03:59:35
ERROR:gitosis.serve.main:Repository read access denied
fatal: Could not read from remote repository.
google是 gitosis.conf写错 的问题
已经检测,没有错误
还有什么可能导致这样的错误?
...全文
1054
3
打赏
收藏
gitosis管理问题求助
ERROR:gitosis.serve.main:Repository read access denied fatal: Could not read from remote repository. google是 gitosis.conf写错 的问题 已经检测,没有错误 还有什么可能导致这样的错误?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
irisloveli
2014-03-12
打赏
举报
回复
应该是使用路径的问题 自己推测,如果你出现同样的问题,从路径角度考虑一下。
irisloveli
2014-03-12
打赏
举报
回复
已经测试,不用手动追加,gitosis-admin会手动管理。 但是还是报: Repository read access denied fatal: Could not read from remote repository. 请告诉指点
irisloveli
2014-03-11
打赏
举报
回复
放入gitosis-admin下key目录里面的key 还用自己手动追加 cat xx.pub >> authorized_keys 文件中吗?
git
osi
s
git
服务器架设软件
Git
是非常著名的分布式版本控制系统。
Git
osi
s则是方便通过
Git
与ssh架设中央服务器的软件。这篇文章的安装流程写得很明了,但使用中还是遇到了些许
问题
,本文算是该流程的补充。如果打算通过
Git
osi
s架设服务器通过本文或许可以少走不少弯路。 一、架设步骤 1. 下载并安装python setuptools sudo apt-get install python-setuptools 2. 下载并安装
git
osi
s cd ~/src
git
clone
git
://eagain.net/
git
osi
s.
git
cd
git
osi
s python setup.py install 3. 添加用户
git
sudo adduser \ --system \ --shell /bin/sh \ --gecos '
git
version control' \ --group \ --disabled-password \ --home /home/
git
\
git
4. 生成本机密钥 切换到个人机,如果已有~/.ssh/id_rsa.pub略过此步 ssh-keygen -t rsa 5. 上传密钥到服务器临时目录 scp ~/.ssh/id_rsa.pub 用户名@主机:/tmp 6. 初使化
git
osi
s 切回到服务器 sudo -H -u
git
git
osi
s-init < /tmp/id_rsa.pub 7. 修改post-update权限 sudo chmod 755 /home/
git
/rep
osi
tories/
git
osi
s-admin.
git
/hooks/post-update 8. clone
git
osi
s
管理
平台
git
clone
git
@主机名:
git
osi
s-admin.
git
cd
git
osi
s-admin 9. 安装完成 通过修改
git
osi
s-admin
管理
git
osi
s用户权限 添加公密到keydir,添加用户 修改完后commit,push到中服务器即可完成仓库权限的相关操作。 二、实例 目标:添加用户 john 和仓库 foo 到
git
osi
s,并和
管理
员miao合作
管理
1. 用户john添加并发送id_rsa.pub给miao john:~$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/john/.ssh/id_rsa): Created directory '/home/john/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/john/.ssh/id_rsa. Your public key has been saved in /home/john/.ssh/id_rsa.pub. john:~$ cp /home/john/.ssh/id_rsa.pub /tmp
git
osi
s install
git
osi
s 安装详情
git
osi
s install
git
osi
s-master_20170112
git
osi
s-master,有时
git
hub下载很慢,因此下载下来。更新到2017/01/12. Linux 下架设
git
服务器时使用。
git
clone https://
git
hub.com/res0nat0r/
git
osi
s.
git
git
osi
s 打包文件
git
osi
s的打包文件,适合于无法联网从
git
获取clone的主机使用。在sles 11上安装成功;前提需要安装setuptools
git
osi
s.tar.gz
git
服务器安装包 ,代码解压后用python setup.py install 安装,安装步骤可参考http://www.cnblogs.com/serv/p/6980085.html
研发管理
1,265
社区成员
28,324
社区内容
发帖
与我相关
我的任务
研发管理
软件工程/管理 管理版
复制链接
扫一扫
分享
社区描述
软件工程/管理 管理版
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章