iptablesはoff前提。
実行後、http://hogehoge:8081/ でアクセス。
- 設定される環境変数は下記URL参照
https://www.jfrog.com/confluence/display/RTF/Installing+on+Linux+Solaris+or+Mac+OS#InstallingonLinuxSolarisorMacOS-RPMorDebianInstallation
# !/bin/bash -ex
ARTIFACTORY_VERSION=4.7.2
# PROXY_HOST=
# PROXY_PORT=
# NO_PROXY=
# export http_proxy="http://${PROXY_HOST}:${PROXY_PORT}"
# export https_proxy="http://${PROXY_HOST}:${PROXY_PORT}"
# export no_proxy="${NO_PROXY}"
yum -y install java-1.8.0-openjdk-devel
rpm -ivh https://dl.bintray.com/jfrog/artifactory-rpms/jfrog-artifactory-oss-${ARTIFACTORY_VERSION}.rpm
service artifactory start