3. Install the local CDH mirror site
Go to http://archive-primary.cloudera.com/cdh5/parcels/latest/ Download Cdh-5.3.0-1.cdh5.3.0.p0.30-el6.parcel and Manifest.json two files, to/home/cdh5/parcels/latest under:
[Email protected] latest]# pwd/home/cdh5/parcels/latest[[email protected] latest]# lltotal 1533544-rw-r--r--. 1 root root 1570299413 Jan 7 00:57 cdh-5.3.0-1.cdh5.3.0.p0.30-el6.parcel-rw-r--r--. 1 root root 42655 Jan 7 0 0:47 Manifest.json
Then create the connection under/var/www/html:
Ln-s/home/cdh5/var/www/html/cdh5
Go to http://archive-primary.cloudera.com/redhat/cdh/download Rpm-gpg-key-cloudera, to/HOME/REDHAT/CDH under:
[Email protected] cdh]# pwd/home/redhat/cdh[[email protected] cdh]# lltotal 4-rw-r--r--. 1 root root 1690 Jan 7 00:50 Rpm-gpg-key-cloudera
Then create the connection under/var/www/html:
Ln-s/home/redhat/var/www/html/redhat
Go to http://archive-primary.cloudera.com/cm5/repo-as-tarball/5.3.0/download cm5.3.0-centos6.tar.gz to/home/, and unzip:
TAR-ZXVF cm5.3.0-centos6.tar.gz
Generate a cm directory as follows:
[Email protected] cm]# pwd/home/cm[[email protected] cm]# lltotal 16lrwxrwxrwx. 1 1106 592 5 Jan 7 20:48 5 5.3.0drwxrwxr-x. 4 1106 592 4096 Oct 14:23 5.3.0-rw-rw-r--. 1 1106
592 325 Oct 14:23 cloudera-manager.repo-rw-rw-r--. 1 1106 592 1690 Oct 14:03 Rpm-gpg-key-cloudera
Then create the connection under/var/www/html:
[Email protected] html]# pwd/var/www/html [[ email protected] html]# mkdir-p cm5/redhat/6/x86_64 [email Protected] html]# ln-s/home/cm/var/www/html/cm5/redhat/6/x86_64
To start your httpd service:
Chkconfig httpd onservice httpd start
Open the browser, access to the HTTP://192.168.10.1/CDH5/;HTTP://192.168.10.1/REDHAT/;HTTP://192.168.10.1/CM5 three web directories, if it can open properly, everything OK. If not, please check that your httpd service is configured correctly.
At this point a CDH local mirror server was built.
CDH5.3 cluster Installation Notes-environment preparation (3)