0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Virtual Box & Vagrant & Centos7 & Artifactory 構築

Posted at

Hello Artifactory みたいなやつ

0. 前提条件

- Windows 10 Home
- Oracle VM Virtualbox 6.0.22
- vagrant 2.2.6
- Centos 7.8
- Box centos/7
- Artifactory 4.6.0

参考情報

System Requirements For Artifactory 4.x

1. rsync の install

# root へ切り替え
su -
# rsync が install されているのか確認
yum list installed | grep rsync

#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 以降は install されていない場合に実施
#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# rsync の package を検索 [省略可能]
yum search rsync
# rsync の情報を確認 [省略可能]
yum info rsync.x86_64
# rsync の  install を実施
yum install rsync.x86_64

2. jdk 1.8 の install

# root へ切り替え
su -
# 任意の directory を作成し移動
mkdir -p dir; cd $_
# open jdk 1.8 の package を取得
wget https://download.java.net/openjdk/jdk8u41/ri/openjdk-8u41-b04-linux-x64-14_jan_2020.tar.gz
# 圧縮ファイルを解凍
tar xzvf openjdk-8u41-b04-linux-x64-14_jan_2020.tar.gz
# /opt 配下に移動
mv java-se-8u41-ri/ /opt/
# 
alternatives --install /usr/bin/java java /opt/java-se-8u41-ri/bin/java 1
# /etc/profile に $JAVA_HOME $JRE_HOME を追加する
vi /etc/profile

/etc/profile の最下部に下記の内容を追記

export JRE_HOME=/opt/java-se-8u41-ri/jre
export JAVA_HOME=/usr/bin/java

3. artifactory 4.6.0 の install

# root へ切り替え
su -

# 任意の directory を作成し移動
mkdir -p <dir name>; cd $_

# artifactory 4.6.0 の rpm を取得
wget -O artifactory-oss-4.6.0.rpm https://bintray.com/jfrog/artifactory-rpms/download_file?file_path=jfrog-artifactory-oss-4.6.0.rpm

# rpm を利用して install 実施
rpm -ivh artifactory-oss-4.6.0.rpm

# artifactory が起動しているか確認
systemctl status artifactory

# artifactory を起動
systemctl start artifactory

# 起動確認する
less /var/opt/jfrog/artifactory/logs/artifactory.log

以上でインストール完了

0
0
1

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?