Virtual Box & Vagrant & Centos7 & Artifactory Konstruktion

** So etwas wie Hello Artifactory **

0. Voraussetzungen

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

Referenzinformationen

System Requirements For Artifactory 4.x

1. rsync installieren

#Wechseln Sie zu root
su -
#Überprüfen Sie, ob rsync installiert ist
yum list installed | grep rsync

#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#Danach wird es ausgeführt, wenn es nicht installiert ist.
#  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

#Suchen Sie nach dem rsync-Paket[Optional]
yum search rsync
#Überprüfen Sie die rsync-Informationen[Optional]
yum info rsync.x86_64
#Führen Sie eine rsync-Installation durch
yum install rsync.x86_64

2. Installieren Sie JDK 1.8

#Wechseln Sie zu root
su -
#Erstellen und verschieben Sie ein beliebiges Verzeichnis
mkdir -p dir; cd $_
# open jdk 1.Holen Sie sich 8 Pakete
wget https://download.java.net/openjdk/jdk8u41/ri/openjdk-8u41-b04-linux-x64-14_jan_2020.tar.gz
#Entpacken Sie die komprimierte Datei
tar xzvf openjdk-8u41-b04-linux-x64-14_jan_2020.tar.gz
# /Bewegen Sie sich unter opt
mv java-se-8u41-ri/ /opt/
# 
alternatives --install /usr/bin/java java /opt/java-se-8u41-ri/bin/java 1
# /etc/im Profil$JAVA_HOME $JRE_HOME hinzufügen
vi /etc/profile

Fügen Sie den folgenden Inhalt am Ende von / etc / profile hinzu

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

3. Artifactory 4.6.0 installieren

#Wechseln Sie zu root
su -

#Erstellen und verschieben Sie ein beliebiges Verzeichnis
mkdir -p <dir name>; cd $_

# artifactory 4.6.Holen Sie sich 0 U / min
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

#Mit U / min installieren
rpm -ivh artifactory-oss-4.6.0.rpm

#Überprüfen Sie, ob Artifactory ausgeführt wird
systemctl status artifactory

#Artifactory starten
systemctl start artifactory

#Start bestätigen
less /var/opt/jfrog/artifactory/logs/artifactory.log

Die Installation ist abgeschlossen

Recommended Posts

Virtual Box & Vagrant & Centos7 & Artifactory Konstruktion
Erstellen Sie Virtual Box & Vagrant & Centos7 & GitLab
Vagabund Java bauen
Richten Sie mit Vagrant einen virtuellen Cent OS-Server ein
Phalcon + Vagrant + centos + xdebug + phpstorm Debug-Umgebungskonstruktion
Erstellen Sie mit VirtualBox eine virtuelle CentOS 8-Umgebung auf Ihrem Mac
Erstellen Sie mit Centos7 ein Softether-VPN.
[Einführung] Erstellen Sie eine virtuelle Umgebung von Vagrant + VirtualBox unter Windows 10 [Umgebungskonstruktion]