LoginSignup
1
2

More than 5 years have passed since last update.

CentOS6でArtifactoryを構築するshell

Posted at

iptablesはoff前提。
実行後、http://hogehoge:8081/ でアクセス。

#!/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

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2