1.5. 使用本地仓库
由于国外网络连接的限制,企业集群普遍使用本地仓库。本地仓库可以对包进行更多的管理和更好的安装性能。本地仓库被大量应用于包的分发和安装后的集群操作。
一下部分是安装和使用本地仓库的步骤:
• Obtain the repositories 获取仓库
• Set up a local repository having:建一个本地仓库
• No Internet Access 断开互联网
• Temporary Internet Access 临时上网
• Prepare the Ambari repository configuration file 1.5.5.
准备Ambari配置文件
1.5.1. 获取仓库
分为两部分:
• Ambari Repositories Ambari库
• HDP Stack Repositories HDP Stack 库
1.5.1.1. Ambari库
如果没有网络,就需要连接网络,下载包含了Ambari的压缩包
如果用临时的网络访问,使用适当连接,下载包含了Ambari的压缩包
Ambari2.2.2 库:
OS | Format | URL |
RedHat 6
CentOS 6
Oracle Linux 6 | Base URL | http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.2.0 |
Repo File | http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.2.0/ambari.repo | |
Tarball md5 |asc | http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.2.0/ ambari-2.2.2.0-centos6.tar.gz | |
RedHat 7
CentOS 7
Oracle Linux 7 | Base URL | http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.2.0 |
Repo File | http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.2.0/ambari.repo | |
Tarball md5 |asc | http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.2.0/ ambari-2.2.2.0-centos7.tar.gz | |
SLES 11 | Base URL | http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.2.2.0 |
Repo File | http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.2.2.0/ambari.repo | |
Tarball md5 |asc | http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.2.2.0/ ambari-2.2.2.0-suse11.tar.gz | |
Ubuntu 12 | Base URL | http://public-repo-1.hortonworks.com/ambari/ubuntu12/2.x/updates/2.2.2.0 |
Repo File | http://public-repo-1.hortonworks.com/ambari/ubuntu12/2.x/updates/2.2.2.0/ambari.list | |
Tarball md5 |asc | http://public-repo-1.hortonworks.com/ambari/ubuntu12/2.x/updates/2.2.2.0/ ambari-2.2.2.0-ubuntu12.tar.gz | |
Ubuntu 14 | Base URL | http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.2.0 |
Repo File | http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.2.0/ambari.list | |
Tarball md5 |asc | http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.2.0/ ambari-2.2.2.0-ubuntu14.tar.gz | |
Debian 7 | Base URL | http://public-repo-1.hortonworks.com/ambari/debian7/2.x/updates/2.2.2.0 |
Repo File | http://public-repo-1.hortonworks.com/ambari/debian7/2.x/updates/2.2.2.0/ambari.list | |
Tarball md5 |asc | http://public-repo-1.hortonworks.com/ambari/debian7/2.x/updates/2.2.2.0/ ambari-2.2.2.0-debian7.tar.gz |
1.5.1.2. HDP Stack库
如果没有网络,就需要连接网络,下载包含了HDP Stack的压缩包
如果用临时的网络访问,使用适当连接,下载包含了HDP Stack的压缩包
• HDP 2.4 Repositories HDP 2.4库
• HDP 2.3 Repositories HDP 2.3库
• HDP 2.2 Repositories HDP 2.2库
1.5.1.2.1 HDP 2.4库
OS | 版本号 | 仓库名 | Format | URl |
RedHat 6
CentOS 6
Oracle Linux 6 |
HDP-2.4.2.0 |
HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.4.2.0 |
Repo File | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.4.2.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.4.2.0/HDP-2.4.2.0-centos6-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos6 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar.gz | |||
RedHat 7
CentOS 7
Oracle Linux 7 |
HDP-2.4.2.0 |
HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.4.2.0 |
Repo File | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.4.2.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.4.2.0/HDP-2.4.2.0-centos7-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos7 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos7/HDP-UTILS-1.1.0.20-centos7.tar.gz
| |||
SLES 11 |
HDP-2.4.2.0 |
HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.4.2.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.4.2.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.4.2.0/HDP-2.4.2.0-suse11sp3-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/suse11sp3 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/suse11sp3/HDP-UTILS-1.1.0.20-suse11sp3.tar.gz | |||
Ubuntu 12 |
HDP-2.4.2.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.4.2.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.4.2.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.4.2.0/HDP-2.4.2.0-ubuntu12-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu12 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu12/HDP-UTILS-1.1.0.20-ubuntu12.tar.gz | |||
Ubuntu 14 |
HDP-2.4.2.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.4.2.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.4.2.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.4.2.0/HDP-2.4.2.0-ubuntu14-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu14 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu14/HDP-UTILS-1.1.0.20-ubuntu14.tar.gz | |||
Debian7 |
HDP-2.4.2.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.4.2.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.4.2.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.4.2.0/HDP-2.4.2.0-debian7-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/debian7 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/debian7/HDP-UTILS-1.1.0.20-debian7.tar.gz |
1.5.1.2.2 HDP 2.3 库
OS | 版本号 | 仓库名 | Format | URl |
RedHat 6
CentOS 6
Oracle Linux 6 |
HDP-2.3.4.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.3.4.0 |
Repo File | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.3.4.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.3.4.0/HDP-2.3.4.0-centos6-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos6 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar.gz | |||
RedHat 7
CentOS 7
Oracle Linux 7 |
HDP-2.3.4.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.3.4.0 |
Repo File | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.3.4.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.3.4.0/HDP-2.3.4.0-centos7-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos7 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos7/HDP-UTILS-1.1.0.20-centos7.tar.gz
| |||
SLES 11 |
HDP-2.3.4.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.3.4.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.3.4.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.3.4.0/HDP-2.3.4.0-suse11sp3-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/suse11sp3 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/suse11sp3/HDP-UTILS-1.1.0.20-suse11sp3.tar.gz | |||
Ubuntu 12 |
HDP-2.3.4.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.3.4.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.3.4.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.3.4.0/HDP-2.3.4.0-ubuntu12-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu12 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu12/HDP-UTILS-1.1.0.20-ubuntu12.tar.gz | |||
Ubuntu 14 |
HDP-2.3.4.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.3.4.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.3.4.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.3.4.0/HDP-2.3.4.0-ubuntu14-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu14 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu14/HDP-UTILS-1.1.0.20-ubuntu14.tar.gz | |||
Debian7 |
HDP-2.3.4.0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.3.4.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.3.4.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.3.4.0/HDP-2.3.4.0-debian7-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/debian7 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/debian7/HDP-UTILS-1.1.0.20-debian7.tar.gz |
1.5.1.2.3. HDP 2.2库
OS | 版本号 | 仓库名 | Format | URl |
RedHat 6
CentOS 6
Oracle Linux 6 |
HDP-2.2.9..0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.2.9.0 |
Repo File | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.2.9.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/centos6/2.x/ updates/2.2.9.0/HDP-2.2.9.0-centos6-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos6 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar.gz | |||
RedHat 7
CentOS 7
Oracle Linux 7 |
HDP-2.2.9..0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.2.9.0 |
Repo File | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.2.9.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/centos7/2.x/ updates/2.2.9.0/HDP-2.2.9.0-centos7-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos7 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/centos7/HDP-UTILS-1.1.0.20-centos7.tar.gz
| |||
SLES 11 |
HDP-2.2.9..0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.2.9.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.2.9.0/hdp.repo | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/ updates/2.2.9.0/HDP-2.2.9.0-suse11sp3-rpm.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/suse11sp3 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/suse11sp3/HDP-UTILS-1.1.0.20-suse11sp3.tar.gz | |||
Ubuntu 12 |
HDP-2.2.9..0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.2.9.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.2.9.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/ updates/2.2.9.0/HDP-2.2.9.0-ubuntu12-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu12 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu12/HDP-UTILS-1.1.0.20-ubuntu12.tar.gz | |||
Ubuntu 14 |
HDP-2.2.9..0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.2.9.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.2.9.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/ updates/2.2.9.0/HDP-2.2.9.0-ubuntu14-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu14 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/ubuntu14/HDP-UTILS-1.1.0.20-ubuntu14.tar.gz | |||
Debian7 |
HDP-2.2.9..0 | HDP | Base URL | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.2.9.0/ |
Repo File | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.2.9.0/hdp.list | |||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP/debian7/2.x/ updates/2.2.9.0/HDP-2.2.9.0-debian7-deb.tar.gz | |||
HDP-UTILS | Base URL | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/debian7 | ||
Tarball md5 | asc | http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/ repos/debian7/HDP-UTILS-1.1.0.20-debian7.tar.gz |