Before you proceed with the installation, review the system requirements.
Artifactory system requirements depend mainly upon the expected amount of active clients.
Number of Active Clients | Processor | Memory | Disk Space |
---|---|---|---|
0-20 | 4 core CPU | 4 GB | Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. |
0-100 | 4 core CPU | 8GB | Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. |
100-200 | 8 core CPU | 12 GB | Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. Backup SAN is recommended. |
200+ | Contact JFrog Support | Contact JFrog Support | Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. Contact JFrog Support |
- Launch 1 Ec2-Instance
- RAM - 8GB
- Space - 30 GB
- Operating System - Amazon Linux
- Open Ports on EC2
- 8081 and 8082
Complete the following steps to install the product.
Create your Artifactory home directory and an empty system.yaml file. The user creating the folder should be the user running the docker run.
mkdir -p $JFROG_HOME/artifactory/var/etc/ cd $JFROG_HOME/artifactory/var/etc/ touch ./system.yaml chown -R 1030:1030 $JFROG_HOME/artifactory/var
Configure a connection to external database.
cd /$JFROG_HOME/artifactory/var/etc/
vi system.yaml
Configure the system.yaml file with the database configuration details:
shared: database: driver: org.postgresql.Driver type: postgresql url: jdbc:postgresql://<ec2-public-ip>:5432/artifactorydb username: artifactory password: password
docker run --name postgres -itd -e POSTGRES_USER=artifactory -e POSTGRES_PASSWORD=password -e POSTGRES_DB=artifactorydb -p 5432:5432 library/postgres
Start the Artifactory container using the process that is relevant for your system.
docker run --name artifactory -v $JFROG_HOME/artifactory/var/:/var/opt/jfrog/artifactory -d -p 8081:8081 -p 8082:8082 releases-docker.jfrog.io/jfrog/artifactory-pro:<version> For example: docker run --name artifactory -v $JFROG_HOME/artifactory/var/:/var/opt/jfrog/artifactory -d -p 8081:8081 -p 8082:8082 releases-docker.jfrog.io/jfrog/artifactory-pro:7.90.7
docker run --name artifactory -v $JFROG_HOME/artifactory/var/:/var/opt/jfrog/artifactory -d -p 8081:8081 -p 8082:8082 releases-docker.jfrog.io/jfrog/artifactory-oss
For installation of Artifactory Open Source, replace the Container Image with artifactory-oss
For installation of Artifactory Community Edition for C/C++, replace the Container Image with artifactory-cpp-ce
Manage Artifactory using native Docker commands.
docker ps
docker stop artifactory
docker start artifactory
Access Artifactory from your browser at: http://SERVER_HOSTNAME:8082/ui/
Check the Artifactory log.
docker logs -f artifactory
Artifactory Post-Installation Steps
Once the installation is complete, complete the following tasks.
Change the default admin password. The default user will have the following credentials predefined in the system:
User: admin, Password: password
Make sure you have applied your licenses
Continue to configure the system using the Artifactory Product Configuration
Configure a reverse proxy (optional for Docker Registry)
You can run Artifactory with one of the supported HTTP servers set up as a front end of each node.
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Good steps and it is working
ReplyDelete