1. Download and install the libaio library, for example:
#For example, on Ubuntu: apt-get install libaio1 #For example, on Redhat: rpm install libaio OR yum install libaio
2. Download the Instant client lib
3. Copy both the Instant client (libaio.so) and the driver (ojdbc.jar) to the $JFROG_HOME/artifactory/bootstrap/artifactory/tomcat/lib/ folder
NOTE: Ensure to place the instant client is inside a directory owned by Artifactory and that it has the same permission as Artifactory, for instance:
4. Modify the $JFROG_HOME/artifactory/var/etc/system.yaml file with the correct database information and also set the LD_LIBRARY_PATH environment variable, in the Artifactory System YAML, to point to the extracted Oracle Instant Client directory. For example
shared: env: LD_LIBRARY_PATH: <path Oracle Instant Client directory, for ex: /opt/jfrog/artifactory/instantclient_21_7> database: type: oracle driver: oracle.jdbc.OracleDriver url: jdbc:oracle:thin:@<your db server url, for example: localhost:1521>/xe username: <username> password: <password>
5. Restart Artifactory
For more information about Oracle, refer to this page