使用Artifactory 6。x ?
JFrog Artifactory 6.x User Guide
Have a question? Want to report an issue?Contact JFrog support![]()
Onboarding Wizard
The onboarding wizard makes sure you get Artifactory set up with the minimal information needed to get started.
|
|
|
|
Welcome:The beginning of the onboarding wizard. ClickNextto get started. |
许可证:Enter your license key and clickNextto continue. | Admin password:Set the admin password (recommended) and clickNextto continue, or clickSkipto stay with thedefault admin password. |
|
|
|
|
Proxy:Configure a proxy server and clickNextto continue, or clickSkip toconfigure one later. |
Create Repositories:Select the package formats for which Artifactory should create default repositories and clickCreateto continue. |
Summary:Displays the default repositories created according to your selection. ClickFinishto complete the wizard and get started with Artifactory. |
Artifactory Bootstrap YAML File
Setting up Artifactory using the YAML configuration file is a convenient alternative to going through the startup wizard. In addition, it gives you an easy way to save the basic configuration of one instance and then quickly and easily reproduce that configuration in other instances you set up.
当使用YAML配置文件时,你没有have to configure all the parameters described in theOverviewabove. You may configure only some of the parameters using the YAML file, and then configure the others through the start up wizard, or manually later on after Artifactory has started up.
Limitations
These limitations stem from the principle that the YAML configuration file is designated for configuration of new Artifactory instances that essentially, have not been used before. When bootstrapping a new instance of Artifactory, it will load the configuration specified in this file if all of the following conditions are met:
- No repositories have been created
- A proxy has not been set up, or a proxy has been set up and you did not configure proxy setup through the YAML configuration file
- The base URL has not been set up, or the base URL has been set up and you did not configure the base URL through the YAML configuration file
- Artifactory has not been activated with a license, or it has been activated with a license and you did not configure the license through the YAML configuration file
Location and Usage
The YAML configuration file template can be found under$ARTIFACTORY_HOME/misc/artifactory.config.template.yml. To specify your initial bootstrap configuration, uncomment the relevant sections in the file and provide the configuration details. Rename the file, save it asartifactory.config.import.ymland place it under Artifactory's etc folder. When done you should have the following configuration file:$ARTIFACTORY_HOME/etc/artifactory.config.import.yml
An example of the YAML configuration file template used for Artifactory 5.0 can be found below:
For example, to set your base URL to be "https://acme.artifactory.com", you should uncomment thebaseUrlsection and,while keeping the same indentation, set:
baseUrl : "https://acme.artifactory.com"
Indentation
Indentation is significant in YAML. Make sure to maintain the same indentation levels when editing the YAML configuration file.
Exporting a Configuration
When Artifactory is bootstrapped for the first time, it stores a copy of its initial configuration under$ARTIFACTORY_HOME/etc/artifactory.config.regardless of whether it was bootstrapped using theOnboarding Wizard, or using a YAML configuration file. To use this configuration to bootstrap additional Artifactory instances, copy the file into the new instance's$ARTIFACTORY_HOME/etcfolder and rename it toartifactory.config.import.yml.
