Рет қаралды 2,575
www.coachdevop...
Pre-requisites:
VM needs to have at least 4GB RAM, for AWS choose at least medium instance type.
Default ports 8081 and 8082 needs to be opened. 8081 for Artifactory REST APIs. 8082 for everything else (UI, and all other product’s APIs).
Change Host Name to Artifactory
sudo hostnamectl set-hostname Artifactory
Update Ubuntu OS
sudo apt update
Add JFrog Artifactory APT repository
echo "deb releases.jfrog... xenial main" | sudo tee -a /etc/apt/sources.list.d/artifactory.list
Import repository GPG key by running the following commands
curl -fsSL releases.jfrog...|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/artifactory.gpg
Update the package
sudo apt update
Install Artifactory
sudo apt install jfrog-artifactory-oss -y
The above message should confirm Artifactory have been successfully installed.
Now let us start Artifactory service.
Start Artifactory
sudo systemctl start artifactory.service
Create symbolic link
sudo systemctl enable artifactory.service
Check whether Artifactory is running?
sudo systemctl status artifactory.service
Press q to quit
You can also check the logs
sudo tail -f /var/opt/jfrog/artifactory/log/artifactory-service.log
Check if service is running locally on 8081 port
curl localhost:8081