1、下载软件
下载地址,本案例下载的是jfrog-artifactory-jcr-7.59.11-linux.tar.gz:
https://releases.jfrog.io/artifactory/bintray-artifactory/org/artifactory/jcr/jfrog-artifactory-jcr/
2、解压下载下来的压缩包
tar zxf jfrog-artifactory-jcr-7.59.11-linux.tar.gz
解压出来的是文件夹 artifactory-jcr-7.59.11
3、修改配置,连接 postgresql数据库
注意:数据库一定要用干净的新建的数据库,否则启动服务会报错!
从 /home/zengyanhui/jfrog/artifactory/artifactory-jcr-7.59.11/var/etc目录下将 system.basic-template.yaml 复制到新文件 system.yaml
cp system.basic-template.yaml system.yaml
修改 /home/zengyanhui/jfrog/artifactory/artifactory-jcr-7.59.11/var/etc/system.yaml文件,添加 以下内容:
## Database Configuration
database:
## To run Artifactory with any database other than PostgreSQL allowNonPostgresql set to true.
#allowNonPostgresql: false
## One of mysql, oracle, mssql, postgresql, mariadb
## Default Embedded derby
## Example