JFrog Artifactory is a cross-platform software that allows DevOps to manage multiple package repositories, hosted locally or in the cloud from a single platform. JFrog Artifactory can integrate with your current environment, providing high availability with active/active clustering and multi-site replication to automate your pipeline and enable faster releases. For more about JFrog Artifactory, please visit its homepage. If you’re a student or new user looking for a Linux system to learn on, the easiest place to start is Ubuntu Linux OS. It’s a great Linux operating system for beginners. To get started with installing JFrog Artifactory, follow the steps below:
Prepare Ubuntu
Before installing packages on Ubuntu, you must first update the server. To do that, run the commands below: Running the commands above will update the remove obsolete packages from your system. It’s also good to reboot the server after running the above commands.
Install OpenJDK 8
To properly use JFrog Artifactory, you will need Java installed. First, download the Java 8 Development Kit: either the official Oracle JDK or Open JDK For this tutorial, we’re going to install OpenJDK. To do that, run the commands below: After installing Java, you can verify it by running the commands below: It should output something similar as shown below: Now that you have updated and installed Java, continue below to install JFrog.
Download and Install JFrog Artifactory
The quickest and easiest way to get JFrog installed is via an APT repository. Installing JFrog from the repository will allow you to always get the latest updates as they’re released. To install, follow the steps below: First, install wget and other packages if you don’t already have them installed. Then run the commands below to add the repository key and file to Ubuntu. When you’re done, run the commands below to update Ubuntu and install JFrog Artifactory. After installing, the commands below can be used to stop, start and enable JFrog’s services. To check the service status, run the commands below: It should output similar lines as shown below: That should do it!
Access Artifactory Portal
When you’re done installing, open your web browser and browser to the server’s hostname or IP address as shown below: You should see the login portal similar to the one below: Login with Username: admin and Password: password You’ll be prompted to change the temporary password above. When you do, you’ll able to start setting up your environment. Enjoy! Conclusion: This post showed you how to install JFrog Artifactory on Ubuntu 18.04 | 16.04. If you find any error above, please use the form below to report it. Thanks, You may also like the post below: