当前位置:首页 > 建站学院 > 服务器 >  debian下安装repo

debian下安装repo

服务器   发布日期:2026年03月03日   浏览次数:220

1、去google网站上下载repo脚本(用php语言写成的脚本)

    https://gerrit.googlesource.com/git-repo/+/stable/repo

    可以将脚本复制下来并保存即可

2、将其拷贝到/bin 目录下

     并加权限  sudo chmod 777 repo

3、修改配置文件 /root/.bashrc

     在最后一行添加如下文件:  alias repo='/bin/repo'

4、使配置文件生效

     source .bashrc

5、现在即可以使用repo了

 

以上就是debian下安装repo的详细内容,更多关于debian下安装repo的资料请关注九品源码其它相关文章!