转自:https://www.cnblogs.com/marility/p/7278374.html 背景 客户服务器为内网机器,centos7系统,且无法与外网连接.需要部署对应的LANMP环境及其它软件 解决思路 1.在阿里云服务器,利用阿里云的yum源仓库,下载对应软件及关联软件. 2.在客户机上面自建yum仓库,然后通过yum安装,解决依赖问题 下载软件 [root@compute1 tmp]# mkdir -pv /tmp/soft cd /tmp/soft [root@compute