安装使用

https://juejin.cn/post/6844903984554049544#heading-20

使用sshpass及docker-compose实现容器远程热更新
https://blog.csdn.net/weixin_45692576/article/details/108648283

sshpass 安装
https://www.cnblogs.com/chillax1314/p/9104941.html

相关文章
https://juejin.cn/post/6847902219837292558#heading-26
https://segmentfault.com/q/1010000018382866

完整流程部署
https://zhuanlan.zhihu.com/p/184936276

https://zhuanlan.zhihu.com/p/109820989

https://juejin.cn/post/6844904103944912904#heading-12

https://funtl.com/zh/apache-dubbo-ci/%E5%9F%BA%E4%BA%8E-Docker-%E5%AE%89%E8%A3%85-GitLab-Runner.html

配置文件

GitLab CI流水线配置文件.gitlab-ci.yml详解
https://meigit.readthedocs.io/en/latest/gitlabci.gitlab-ci.yml_detail.html

centos7 安装 nvm
https://juejin.cn/post/6844903620438130701

  1. curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

https://segmentfault.com/a/1190000038227626

问题踩坑

npm 未找到命令

image.png

npm 未找到命令的问题
https://segmentfault.com/q/1010000018382866


解决下载翻墙问题

解决方法:通过修改hosts文件解决
1.查询一下 raw.githubusercontent.com对应的真实IP 地址
https://www.ipaddress.com/

2.修改hosts

  1. sudo vim /etc/hosts

添加如下内容

  1. 199.232.68.133 raw.githubusercontent.com

https://www.huoxiaoqiang.com/experience/linux/1847.html