How to install Artifactory | Artifactory server setup on AWS | Install Artifactory on Linux Instance
2.3 هزار بار بازدید -
11 ماه پیش
-
www.coachdevops.com/2023/10/install-jfrog-artifact…
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.io/artifactory/artifactory-debs 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.io/artifactory/api/gpg/key/public|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
11 ماه پیش
در تاریخ 1402/07/20 منتشر شده
است.
2,351
بـار بازدید شده