网上的命令都是垃圾
yum -c /etc/yum.conf --installroot=/opt/all_venv/ --releasever=/ install nginx
该命令简单解释如下:
-c /etc/yum.conf 表示指定yum配置文件地址
--installroot=/usr/local 表示指定自定义的安装目录
网上的命令都是垃圾
yum -c /etc/yum.conf --installroot=/opt/all_venv/ --releasever=/ install nginx
该命令简单解释如下:
-c /etc/yum.conf 表示指定yum配置文件地址
--installroot=/usr/local 表示指定自定义的安装目录
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。