Create Local repo for HDP
2018-07-18 本文已影响0人
华阳_3bcf
Version 1.0 --- Roy on 2017 Oct 9
Restricted: verified on ubuntu 14.0
Prepare
Find a vm with 15 GB size disk for HDP source code, we will aslo setup web service on it.
Download Tarball files for HDP and HDP-UTILS
URL for source packages(5GB size)
- http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.5.3.0/HDP-2.5.3.0-ubuntu14-deb.tar.gz
- http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu14/HDP-UTILS-1.1.0.21-ubuntu14.tar.gz
Setup web service
e.g.
$ sudo apt install nginx -y
Verify default root for web service:
grep root /etc/nginx/sites-enabled/default
root /var/www/html
Decompress the Tarball to web root directory
cd /var/www/html
tar zxf /data/HDP/HDP-2.5.3.0-ubuntu14-deb.tar.gz
tar zxf /data/HDP/HDP-UTILS-1.1.0.21-ubuntu14.tar.gz
Two new directories was created. (HDP, HDP-UTILS-1.1.0.21)
Verify
Verify below two links:
HDP Base URL
http://<internal-IP>/HDP/ubuntu14/
HDP-UTILS Base URL
http://<internal-IP>/HDP-UTILS-1.1.0.21/repos/ubuntu14