问题描述
HI,
我们最近已在MS Azure Cloud订阅的Linux服务器上安装了Microsoft R Open版本3.2.2.
We have recently installed Microsoft R Open version 3.2.2 on a Linux server in MS Azure Cloud subscription.
作为我们要求的一部分,我们不想升级到更高版本.但是,只要操作系统补丁更新,服务器就会自动升级到R-open更高版本.
As part of our reqreuiement we do not want to upgrade to the higher version. However the server automatically upgrades to the higher R-open version whenever the OS patches are updated.
有没有一种方法可以防止这种情况,以便我们的R开放版本不会在服务器上更新
Is there a way to prevent this so that our R-open version is not updated on the server
赞赏及时的反应
谢谢
高拉夫G
推荐答案
您可以分享您在Linux中使用的安装方法吗?
Can you share the installation method you used in Linux?
还共享您关注的文档的链接.
Also share the link for the document which you followed.
如果您是通过程序包管理器安装的,则可以在存储库中配置为在操作系统升级发生时不进行更新.
If you have installed through a package manager, You can configure in the repository to NOT to update when OS Upgrade happens.
通常,repo将位于CentOS和RHEL中的此文件(/etc/yum.repos.d/azure-cli.repo )中.
Generally repo will be located in this file (/etc/yum.repos.d/azure-cli.repo) in CentOS and RHEL
我们可以在该文件中将enabled = 1设置更改为enabled = 0.
We can change the enabled=1 setting to enabled=0 in that file.
我们还可以使用" yum-config-manager --disable repo_name
"禁用存储库.
We can also use "yum-config-manager --disable repo_name
" to disable the repo.
一旦禁用该存储库,系统将不会检查该存储库的更新.
Once the repo is disabled, System wont check that repo for updates.
当您确实要更新软件时,可以还原并更新.
When you really want to update your software you can revert that change and update.
这篇关于阻止自动更新"Microsoft R Open".在MS Azure服务器中的Linux服务器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!