- 论坛徽章:
- 1
|
背景:系统centos6.2
在本地搭建puppet测试环境,在server端搭建了一个yum源仓库,其他的node01~node04的yum源都指向了这个server这台机
server的配置了一个puppet的yum源仓库
经过测试其他节点的可以通过这个源安装puppet的
现在要在这里面添加一个nginx的源怎么添加
nginx.repo
这个文件是我网上下载下来的,在没有这个文件之前我的机器没法使用yum install nginx的- yum install nginx
- Loaded plugins: fastestmirror, refresh-packagekit, security
- Loading mirror speeds from cached hostfile
- * base: mirrors.yun-idc.com
- * extras: mirrors.yun-idc.com
- * updates: mirrors.yun-idc.com
- Setting up Install Process
- No package nginx available.
- Error: Nothing to do
复制代码 所以我想在仓库中添加这个nginx的源,好让其他的节点通过服务端的这个文件安装nginx~
这要怎么做,我直接把这文件放到这里,不生效的。 |
|