Warning
The Mac installation can only be used for testing. It is not supported for production environments.
Before you proceed with the installation, review the system requirements.
Installation Steps
Mitigate Installation Error
You might run into a situation where the installation fails with the following error.
"java" cannot be opened because the developer cannot be verified.
Perform the following steps when you encounter the error during installation.
Open System Settings in your Mac.
Go to Privacy and Security and scroll down.
Verify that Anywhere is selected under Allow applications downloaded from.
Click Allow Anyway next to the message - "java" was blocked from use because it was not from an identified developer.
Run the installation again.
Complete the following steps to install the product.
Create a JFrog Home directory and move the downloaded installer archive into that directory, for example:
mkdir jfrog mv jfrog-artifactory-<pro|oss|cpp-ce>-<version>-darwin.tar.gz jfrog cd jfrog
Set the JFrog Home environment variable
export JFROG_HOME=<full path of the jfrog directory>
Extract the contents of the compressed archive and move it into artifactory directory.
tar -xvf jfrog-artifactory-<pro|oss|cpp-ce>-<version>-darwin.tar.gz mv artifactory-<pro|oss|cpp-ce>-<version> artifactory chmod -R 777 $JFROG_HOME/artifactory/var
Configure a connection to the database (mandatory).
Customize the product configuration (optional) including Java Opts, and filestore.
Run Artifactory as a foreground or a daemon process.
Access Artifactory from your browser at:
http://SERVER_HOSTNAME:8082/ui/
. For example, on your local machine:http://localhost:8082/ui/
.Check Artifactory Log.
tail -f $JFROG_HOME/artifactory/var/log/console.log
Configure log rotation of the console log
The
console.log
file can grow quickly since all services write to it. For more information, see configure the log rotation.
Run Artifactory as a process
You can run Artifactory as a foreground or as daemon process. When running as a foreground process, the console is locked and you can stop the process at any time.
To run as a foreground process $JFROG_HOME/artifactory/app/bin/artifactoryctl To run as a daemon process $JFROG_HOME/artifactory/app/bin/artifactoryctl start To manage the process $JFROG_HOME/artifactory/app/bin/artifactoryctl check|stop