码迷,mamicode.com
首页 > 其他好文 > 详细

[转]centos7指定yum安装软件路径

时间:2018-11-26 20:21:43      阅读:278      评论:0      收藏:0      [点我收藏+]

标签:cal   png   垃圾   tps   指定   yum安装软件   class   技术   eve   

本文转自:https://www.cnblogs.com/pyyu/p/9814062.html

网上的命令都是垃圾

技术分享图片

 

yum -c /etc/yum.conf --installroot=/opt/all_venv/ --releasever=/  install nginx

该命令简单解释如下:

-c /etc/yum.conf                  表示指定yum配置文件地址

--installroot=/usr/local        表示指定自定义的安装目录

[转]centos7指定yum安装软件路径

标签:cal   png   垃圾   tps   指定   yum安装软件   class   技术   eve   

原文地址:https://www.cnblogs.com/freeliver54/p/10021777.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!