This process prepares the updated repository.
Check to see if you have a
conf.savedirectory for Ambari server and agents. If you do, move them to a back-up location:mv /etc/ambari-server/conf.save/ /etc/ambari-server/conf.save.bak
mv /etc/ambari-agent/conf.save/ /etc/ambari-agent/conf.save.bak
Get the new Ambari bits. Use
wgetto fetch the repository file and replace the old repo file with the new repo file on every host.![[Important]](../common/images/admon/important.png)
Important Check your current directory before you download the new repo file to make sure that there are no previous versions of the file. If you do not, and a previous version exists, the new download is saved with a numeric extension such as
ambari.repo.1. Make sure that the version you copy is the new version.For RHEL/CentOS/Oracle Linux 5
wget https://hdpweb.o.onslip.net/ambari/centos5/1.x/updates/1.4.1.61/ambari.repo cp ambari.repo /etc/yum.repos.d/ambari.repo
For RHEL/CentOS/Oracle Linux 6
wget https://hdpweb.o.onslip.net/ambari/centos6/1.x/updates/1.4.1.61/ambari.repo cp ambari.repo /etc/yum.repos.d/ambari.repo
For SLES 11
wget https://hdpweb.o.onslip.net/ambari/suse11/1.x/updates/1.4.1.61/ambari.repo cp ambari.repo /etc/zypp/repos.d/ambari.repo
![[Note]](../common/images/admon/note.png)
Note If your cluster does not have access to the Internet, you need to set up a local repository with this data before you continue. See Configure the Local Repositories for more information.

