[8.5.5.6 이상]

installUtility 명령에 대한 저장소와 프록시 설정 구성

로컬 디렉토리 기반 저장소, Liberty Asset Repository Service의 인스턴스 및 IBM® WebSphere® Liberty Repository를 액세스하도록 installUtility 명령을 구성할 수 있습니다.

이 태스크 정보

installUtility 명령을 사용하여 로컬 디렉토리 기반 저장소, 사내 구축 저장소 또는 IBM WebSphere Liberty Repository에 있는 자산을 찾고, 자산에 대한 정보를 얻고, 자산을 설치합니다.
installUtility 명령은 다음 저장소에 액세스할 수 있습니다.
  • 인터넷을 통해 액세스 가능한 IBM이 호스팅하는 공용 저장소인 IBM WebSphere Liberty Repository자세한 정보는 Liberty Repository의 내용을 참조하십시오.
  • 엔터프라이즈의 방화벽을 통과하여 원격으로 액세스 가능한 사내 구축 저장소를 작성하는 데 사용할 수 있는 개방형 소스 서비스인 Liberty Asset Repository Service. GitHub의 WASdev/tool.lars 저장소를 참조하십시오.
  • installUtility download 조치를 사용하여 작성되는 로컬 디렉토리 기반 저장소. 자세한 정보는 installUtility 명령을 사용하여 자산 다운로드의 내용을 참조하십시오.

installUtility 명령과 featureManager 명령은 둘 다 동일한 구성 특성 파일 repositories.properties를 사용합니다. 프록시 설정은 공유되지만, 저장소 설정은 installUtility 명령에서만 사용합니다. 자산을 관리하고 저장소 기반 설치, 찾기 또는 설치 제거 조작을 완료할 때는 featureManager 명령 대신 installUtility 명령을 사용하십시오.

제한된 인터넷 액세스로 또는 방화벽을 통해 IBM WebSphere Liberty Repository에 액세스하려면 다음 호스트와 포트에 대한 액세스 권한이 있는지 확인하십시오.
  • public.dhe.ibm.com - 포트 443의 경우
  • asset-websphere.ibm.com - 포트 443의 경우
참고: installUtility 명령은 HTTP/HTTPS 프로토콜을 사용하는 프록시 서버만 지원합니다.

프로시저

  1. ${wlp.install.dir}/etc/repositories.properties에서 특성 파일을 작성하십시오. 특성 파일은 모든 플랫폼에서 ASCII 형식이어야 합니다.
  2. 저장소를 정의하려면 특성을 repoName.url=url로 추가하십시오. 정의된 저장소는 repositories.properties 파일에 지정된 순서대로 액세스됩니다.
    dev-rep.url=http://dev.repo.ibm.com:9080/ma/v1
  3. 저장소의 사용자 이름과 비밀번호를 설정하십시오. 특성 repoName.user=userIdrepoName.userPassword=encodedPassword를 설정하십시오. 사용자 이름과 비밀번호를 설정하지 않으면 이를 제공하라는 프롬프트가 표시됩니다. securityUtility 인코드 조치는 encodedPassword도 생성할 수 있습니다. 자세한 정보는 Liberty 프로파일: securityUtility 명령을 참조하십시오.
    dev-rep.user=myname                            
    dev-rep.userPassword={aes}AH5NLyd7DfGb12pK17Pw+
  4. Liberty 저장소에 액세스할 수 없게 하려면 useDefaultRepository 특성을 false로 설정하십시오. 기본적으로 Liberty Repository는 항상 액세스되며 설치 시 또는 다운로드 시 액세스되는 저장소 중 마지막 저장소입니다.
    useDefaultRepository=false
  5. 프록시 특성을 설정하십시오. 시스템에서 프록시 서버를 통해 IBM WebSphere Liberty Repository에 액세스해야 하는 경우에는 proxyHost, proxyPort, proxyUserproxyPassword 프록시 특성을 설정하십시오. encodedPassword 변수는 proxyPassword 특성에 필요합니다. 사용자 이름과 비밀번호를 설정하지 않으면 이를 제공하라는 프롬프트가 표시됩니다. 예:
    proxyHost=my.proxy.server.ibm.com
    proxyPort=9080
    proxyUser=myname
    proxyPassword={aes}AH5NLyd7DfGb12pK17Pw+
  6. 저장소 설정을 검토하십시오. 저장소 설정 목록을 보려면 installUtility viewSettings 조치를 사용하십시오. 예를 들면, 다음과 같습니다.
    >installUtility viewSettings
    
    installUtility Settings
    ----------------------------------------------------------------------
    Properties File: c:\wlp\etc\repositories.properties
    Default Assets Repository: IBM WebSphere Liberty Repository
    Use Default Repository: True
    
    Configured Repositories
    ----------------------------------------------------------------------
    Name: dev-rep
    Location: http://dev.repo.ibm.com:9080/ma/v1
    User Name: myname
    Password: <Unspecified>
    
    Proxy Settings
    ----------------------------------------------------------------------
    Proxy Server: my.proxy.server.ibm.com
    Port: 9080
    User Name: myname
    Password: ********
  7. 저장소 연결을 테스트하십시오. 저장소를 테스트하려면 installUtility testConnection 조치를 사용하십시오. 사용자 이름과 비밀번호를 설정하지 않으면 이를 제공하라는 프롬프트가 표시됩니다. 다음 예제를 사용하여 저장소 연결을 테스트하십시오.
    >installUtility testConnection
    Testing the connection to all configured repositories...
    This process might take several minutes to complete.
    
    Configured Repositories
    ----------------------------------------------------------------------
    Name: dev-rep
    Location: http://dev.repo.ibm.com:9080/ma/v1
    Status: Successfully connected to the configured repository.
    repoName을 지정하지 않고 installUtility testConnection 명령을 실행하여 repositories.properties 파일에 구성된 모든 저장소를 한꺼번에 테스트할 수 있습니다. Liberty Repository의 저장소 이름은 default입니다. Liberty Repository에 대한 연결을 테스트하려면 다음 명령을 실행하십시오.
    >installUtility testConnection default

다음에 수행할 작업

installUtility 명령을 사용하여 저장소에서 자산을 검색하고 다운로드할 수 있습니다.

주제의 유형을 표시하는 아이콘 태스크 주제

Information Center 이용 약관 | 피드백


시간소인 아이콘 마지막 업데이트 날짜: Wednesday, 2 September 2015
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_config_installutility
파일 이름: twlp_config_installutility.html