[ 
https://issues.apache.org/jira/browse/HAWQ-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682272#comment-15682272
 ] 

Radar Lei commented on HAWQ-1158:
---------------------------------

HAWQ use EPEL to install some dependencies. If you can't access internet, then 
below ways might help:
1. You can compile and  install these dependencies manually from source code. 
2. Setup local yum repository to do yum install from local network.

You can refer to below link for hawq dependencies:
https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install

> epel repo installation is failing in servers which doesn't have internet 
> access.      
> ---------------------------------------------------------------------------------
>
>                 Key: HAWQ-1158
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1158
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Build
>            Reporter: Pratheesh Nair
>            Assignee: Lei Chang
>
> epel-release package has to be installed on all the nodes as part of hawq 
> installation.Installation is failing in servers which doesn't have internet 
> access.
>  
> {code}
> $ export HAWQNODES="hawq-master hawq-seg1 hawq-seg2 pxf1"
> $ for host in $HAWQNODES; do ssh $host "yum install -y epel-release;"; done
> {code}
> It is clear from the repo file that installation is looking packages from the 
> web.
>  {code}
> cat /etc/yum.repos.d/epel.repo
> [epel]
> name=Extra Packages for Enterprise Linux 6 - $basearch
> #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
> failovermethod=priority
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
> [epel-debuginfo]
> name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
> #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
> failovermethod=priority
> enabled=0
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
> gpgcheck=1
> [epel-source]
> name=Extra Packages for Enterprise Linux 6 - $basearch - Source
> #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
> failovermethod=priority
> enabled=0
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
> gpgcheck=1
> {code}
> How will we address this issue in servers which doesn't have internet access ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to