2017–2027Celebrating Our 10th Year

Transform Your Career.
Engineer Your Future.

Build the skills to become an AI-Enabled DevSecOps & Cloud Engineer with 15 weeks of live training, hands-on labs and personal mentorship.

Coach AK in his DevOps learning studio
Coach AK | Ananth KannanSenior DevOps & SRE Architect • Founder, CoachDevOps
3,500+Students Trained
25+ YearsIT Experience
15 WeeksLive Training
70+Hands-on Labs

Master In-Demand Technologies

AWSAzureDockerKubernetesTerraformJenkinsGitHub ActionsAnsibleGitLab

AI-Enabled DevSecOps & Cloud Engineering Bootcamp

Next weekend batch: December 5, 2026
Saturday 9:30–11:30 AM CST • Sunday 10:30 AM–12:30 PM CST

Live classes, practical projects, personal mentorship and career preparation.

View Program Details →

Real Students. Real Success.

Career milestones shared by our students.

✓ Placement in an AI role
“The concepts you taught have improved my technical understanding and confidence.”
ManimaranJuly 2026 Bootcamp
✓ DevSecOps Engineer offer
“I want to sincerely thank you for your mentorship, training, and support.”
Femi AshayeCoachDevOps Alumni
✓ DevOps Engineer offer
“I got an offer for Devops engineer Last week and happy to inform you. I really appreciate you.”
EbenezerCoachDevOps Alumni
View All Success Stories →

Individual student experiences; employment is not guaranteed.

Ready to Take the Next Step?

Explore the program or get answers to your questions before enrolling.

Sunday, October 8, 2023

Install JFrog Artifactory on Linux instance | Setup JFrog Artifactory on Ubuntu | Install JFrog Artifactory 7.X on Ubuntu 22.0.4

Artifactory is one of the popular binary repository managers. It is Java based open source tool, used for storing build artifacts and docker images.

Some of the key features of Artifactory:
  • Supports 27 different package types including helm charts, docker images regardless of tech stack.
  • A single source of truth for all your binaries
  • Integration with all CICD tools
  • role based authorization with teams to manage artifacts 
  • you can create local, remote and virtual repositories



Artifactory can be integrated with many Continuous integration and Continuous delivery tools. Artifactory is mainly used by Ant, Maven and Gradle build tools. Let us see how to install Artifactory on Ubuntu 22.0.4 using Deb packages.

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 https://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  https://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

Access Artifactory App
Go to browser and open public IP/DNS name along with port no:8081
http://your_public_dns_name:8081

You should see Artifactory welcome page, login with default username and password which is
admin/password



After Login, click on Get started. 

Now reset admin password. enter as Admin1234/Admin1234

Skip for base URL and skip proxy setup
Click Next, click on Finish


That's it! Artifactory is setup successfully.

How to Integrate Artifactory and Jenkins?
https://www.coachdevops.com/2020/04/integrate-artifactory-with-jenkins.html

You can watch the steps in details on our YouTube channel:
  

3 comments:

  1. sudo tail -f /var/opt/jfrog/artifactory/log/artifactory-service.log
    at org.jfrog.storage.wrapper.JFrogConnectionWrapper.invoke(JFrogConnectionWrapper.java:106)
    ... 24 common frames omitted
    Caused by: java.sql.SQLException: Connection is closed
    at com.zaxxer.hikari.pool.ProxyConnection$ClosedConnection.lambda$getClosedConnection$0(ProxyConnection.java:503)
    at jdk.proxy3/jdk.proxy3.$Proxy7.createStatement(Unknown Source)
    at com.zaxxer.hikari.pool.ProxyConnection.createStatement(ProxyConnection.java:285)
    at com.zaxxer.hikari.pool.HikariProxyConnection.createStatement(HikariProxyConnection.java)
    ... 29 common frames omitted
    2024-10-21T16:32:26.480Z [jfrt ] [INFO ] [a37975826105526d] [actoryContextConfigListener:88] [Catalina-utility-1 ] - Artifactory context initialization started for context: null
    2024-10-21T16:32:26.480Z [jfrt ] [ERROR] [a37975826105526d] [actoryContextConfigListener:93] [Catalina-utility-1 ] - Failed initializing Artifactory context: Artifactory home not initialized.
    at org.jfrog.storage.wrapper.JFrogConnectionWrapper.invoke(JFrogConnectionWrapper.java:106)
    ... 24 common frames omitted
    Caused by: java.sql.SQLException: Connection is closed
    at com.zaxxer.hikari.pool.ProxyConnection$ClosedConnection.lambda$getClosedConnection$0(ProxyConnection.java:503)
    at jdk.proxy3/jdk.proxy3.$Proxy7.createStatement(Unknown Source)
    at com.zaxxer.hikari.pool.ProxyConnection.createStatement(ProxyConnection.java:285)
    at com.zaxxer.hikari.pool.HikariProxyConnection.createStatement(HikariProxyConnection.java)
    Caused by: java.sql.SQLException: Connection is closedCaused by: java.sql.SQLException: Connection is closed

    I keep getting this error each time i try to check the logs and ma unable to access the website.

    ReplyDelete
  2. ubuntu@ip-172-31-24-79:~$ sudo cat /var/opt/jfrog/artifactory/log/artifactory-service.log
    2025-01-16T18:50:07.128Z [jfrt ] [INFO ] [c89ba051f64cabd4] [o.a.c.h.ArtifactoryHome:252 ] [Catalina-utility-1 ] - Creating Artifactory home at 'null'
    2025-01-16T18:50:07.277Z [jfrt ] [INFO ] [c89ba051f64cabd4] [o.a.c.h.HaNodeProperties:65 ] [Catalina-utility-1 ] - Artifactory is running in non-clustered mode.
    2025-01-16T18:50:07.293Z [jfrt ] [INFO ] [c89ba051f64cabd4] [tifactoryHomeConfigListener:85] [Catalina-utility-1 ] - Resolved Home: '/opt/jfrog/artifactory
    2025-01-16T18:50:07.483Z [jfrt ] [INFO ] [c89ba051f64cabd4] [o.a.c.h.ArtifactoryHome:1022 ] [Catalina-utility-1 ] - Setting 'alpineNew,swiftNew,vcsNew,cocoapodsNew,condaNew,npmNew,permissions-cache-legacy' to system property 'spring.profiles.active'
    2025-01-16T18:50:08.062Z [jfrt ] [INFO ] [c89ba051f64cabd4] [o.a.c.h.ArtifactoryHome:1022 ] [Catalina-utility-1 ] - Setting 'alpineNew,swiftNew,vcsNew,cocoapodsNew,condaNew,npmNew,permissions-cache-legacy' to system property 'spring.profiles.active'
    2025-01-16T18:50:08.095Z [jfrt ] [INFO ] [ ] [o.j.c.w.FileWatcher:146 ] [file-watcher-poller ] - Starting watch of folder configurations
    2025-01-16T18:50:08.189Z [jfrt ] [WARN ] [c89ba051f64cabd4] [c.z.h.u.DriverDataSource:68 ] [Catalina-utility-1 ] - Registered driver with driverClassName=org.apache.derby.jdbc.EmbeddedDriver was not found, trying direct instantiation.
    2025-01-16T18:50:10.615Z [jfrt ] [INFO ] [c89ba051f64cabd4] [.BasicConfigurationManager:197] [Catalina-utility-1 ] - Artifactory (jfrt) service initialization started. Version: 7.98.13 Revision: 79813900 PID: 10076 Home: /opt/jfrog/artifactory
    2025-01-16T18:50:10.644Z [jfrt ] [INFO ] [c89ba051f64cabd4] [d.c.m.ConverterManagerImpl:214] [Catalina-utility-1 ] - Triggering PRE_INIT conversion, from 7.98.13 to 7.98.13
    2025-01-16T18:50:10.649Z [jfrt ] [INFO ] [c89ba051f64cabd4] [d.c.m.ConverterManagerImpl:217] [Catalina-utility-1 ] - Finished PRE_INIT conversion, current version is: 7.98.13
    2025-01-16T18:50:10.649Z [jfrt ] [INFO ] [c89ba051f64cabd4] [d.i.DbInitializationManager:48] [Catalina-utility-1 ] - Initializing DB Schema initialization manager
    2025-01-16T18:50:10.650Z [jfrt ] [INFO ] [c89ba051f64cabd4] [.i.DbInitializationManager:177] [Catalina-utility-1 ] - Database: Apache Derby 10.14.2.0 - (1828579). Driver: Apache Derby Embedded JDBC Driver 10.14.2.0 - (1828579) Pool: derby
    2025-01-16T18:50:10.791Z [jfrt ] [ERROR] [c89ba051f64cabd4] [d.i.DbInitializationManager:55] [Catalina-utility-1 ] - DB Schema initialization manager failed to init.
    java.lang.IllegalStateException: Cannot start the application with a database other than PostgreSQL. For more information, see JFrog documentation
    at org.ar

    ReplyDelete
  3. 2025-01-16T19:12:11.754Z [jfrt ] [INFO ] [a4e95e5c1be7a6f3] [actoryContextConfigListener:88] [Catalina-utility-1 ] - Artifactory context initialization started for context: null
    2025-01-16T19:12:11.755Z [jfrt ] [ERROR] [a4e95e5c1be7a6f3] [actoryContextConfigListener:93] [Catalina-utility-1 ] - Failed initializing Artifactory context: Artifactory home not initialized.

    ReplyDelete

CoachDevOps
LEARN. BUILD. TRANSFORM.
BLACK FRIDAY
CYBER MONDAY
SAVE $400
27% OFF REGULAR TUITION
BLACK FRIDAY & CYBER MONDAY

Your Future Starts Here.

AI-Enabled DevSecOps & Cloud Engineering Bootcamp

$1,490 $1,090

  • 15 weeks of live training
  • 70+ hands-on labs
  • Personal mentorship
  • Resume & interview coaching

Offer ends November 30, 2026 (Central Time).

Claim My $400 Savings →