rhel-scl

Permanently enable RHEL scl

牧云@^-^@ 提交于 2019-12-03 11:15:03
问题 Is there a way to permanently enable custom Software Collections for RedHat? I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time. 回答1: Well, you could add something to your startup script to source the enable script. Eg add to your .bash_profile (note space between initial dot and / ) . /opt/rh/python27/enable 回答2: This option sounds dangerous to me for root. I would think something like the following would be safer and more

Permanently enable RHEL scl

别等时光非礼了梦想. 提交于 2019-12-03 02:42:47
Is there a way to permanently enable custom Software Collections for RedHat? I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time. Robert Cohen Well, you could add something to your startup script to source the enable script. Eg add to your .bash_profile (note space between initial dot and / ) . /opt/rh/python27/enable This option sounds dangerous to me for root. I would think something like the following would be safer and more appropriate: You can create a function that takes command line options. Think of this as an alias on