Search code examples
linuxcluster-computingredhatclouderayum

Install packages in a cluster


I'm trying to prepare a cluster to install cloudera hadoop distribution, and I have to install some packages using yum install command.

All nodes of my cluster are not connected to internet except the master.

Does there any way to make yum in each slave node, passes through the master to the internet, or to install from the master as repository ?

NB: I'm using Red Hat Enterprise Linux 7.3


Solution

  • Maybe it would be nice to run proxy (e.g. squid which is in the distribution repos) on host which is connected to the internet and then use proxy=http://ip_proyxserver:3128/ in /etc/yum.conf on the clients.