952   Linux MongoDB RedHat

在RedHat虚拟机使用yum安装时,会自动下载依赖包,但是下载太慢
于是手动在本地电脑下载完了,再上传到虚拟机上,
一般yum的下载缓存包目录为

/var/cache/yum

然后找到对应的软件目录,我这里是mongodb

/var/cache/yum/mongodb/packages

把手动下载的对应的安装包丢到packages下面即可,然后重新运行yum安装

yum install -y mongodb-org



Trackbacks/Pingbacks

  1.  RedHat 安装 MongoDB | LuckyBird

Leave a Reply

Your email address will not be published. Required fields are marked *