This post demonstrates how to install Artifactory in Red Hat Enterprise Linux in an AWS EC2 instance.
- AWS Account
- Email address
- Provisioned AWS EC2 instance with
Download and run Artifactory Image
Use the following command to download and run Artifactory in a Docker container.
sudo docker run -d --name jfrog_container -p 8081:8081 \
-v /var/opt/jfrog/artifactory/data:/var/opt/jfrog/artifactory/data \
-v /var/opt/jfrog/artifactory/logs:/var/opt/jfrog/artifactory/logs \
-v /var/opt/jfrog/artifactory/etc:/var/opt/jfrog/artifactory/etc \
At this point, we downloaded and successfully ran Artifactory within Docker.
Open a browser and access http://184.108.40.206:8081. Note the IP address is our EC2 instance’s IPV4 Public IP.
Our Artifactory Page
Close the “Welcome to JFrog Artifactory” window.
Then, click the “Log In” button.
Type in admin/password for user name and password, respectively. Then, click “Log In”.
Finally, we successfully installed Artifactory in Red Hat Enterprise Linux in an AWS EC2 instance.
This post is part of the Docker For Developers tutorial.