centos7指定yum安装软件路径

回复 星标
更多

centos7指定yum安装软件路径

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


 

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

该命令简单解释如下:

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

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

此帖已被锁定,无法回复
新窗口打开 关闭