Build Virtual Box & Vagrant & Centos7 & Artifactory

** Something like Hello Artifactory **

0. Prerequisites

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

Reference information

System Requirements For Artifactory 4.x

1. rsync install

#Switch to root
su -
#Check if rsync is installed
yum list installed | grep rsync

#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#After that, it is executed when it is not installed.
#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

#Search for rsync packages[Optional]
yum search rsync
#Check rsync information[Optional]
yum info rsync.x86_64
#Perform rsync install
yum install rsync.x86_64

2. install jdk 1.8

#Switch to root
su -
#Create and move any directory
mkdir -p dir; cd $_
# open jdk 1.Get 8 packages
wget https://download.java.net/openjdk/jdk8u41/ri/openjdk-8u41-b04-linux-x64-14_jan_2020.tar.gz
#Decompress the compressed file
tar xzvf openjdk-8u41-b04-linux-x64-14_jan_2020.tar.gz
# /Move under opt
mv java-se-8u41-ri/ /opt/
# 
alternatives --install /usr/bin/java java /opt/java-se-8u41-ri/bin/java 1
# /etc/In profile$JAVA_HOME $JRE_Add HOME
vi /etc/profile

Add the following contents at the bottom of / etc / profile

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

3. artifactory 4.6.0 install

#Switch to root
su -

#Create and move any directory
mkdir -p <dir name>; cd $_

# artifactory 4.6.Get 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

#Install using rpm
rpm -ivh artifactory-oss-4.6.0.rpm

#Check if artifactory is running
systemctl status artifactory

#Launch artifactory
systemctl start artifactory

#Confirm startup
less /var/opt/jfrog/artifactory/logs/artifactory.log

Installation is complete

Recommended Posts

Build Virtual Box & Vagrant & Centos7 & Artifactory
Build Virtual Box & Vagrant & Centos7 & GitLab
vagrant java build
Set up a CentOS virtual server with Vagrant
Build debug environment for Phalcon + Vagrant + centos + xdebug + phpstorm
Build a CentOS 8 virtual environment on your Mac with VirtualBox
Build softether VPN with Centos7.
[Introduction] Build a virtual environment of Vagrant + VirtualBox on Window10 [Environment construction]