artifactory maven仓库安装

相关站点

安装

将下载的artifactory-3.3.0.zip解包放至规划的工作目录中,然后进入artifactory/bin目录,执行installService.sh脚本来安装成一个系统服务,包括设置conf目录、基本配置文件、启动脚本等。

cd /maven/artifactory/bin
./installService.sh 
Installing artifactory as a Unix service that will run as user artifactory
Installing artifactory with home /maven/artifactory
Creating user artifactory...creating... DONE

Checking configuration link and files in /etc/opt/jfrog/artifactory...
Moving configuration dir /maven/artifactory/etc /maven/artifactory/etc.original...creating the link and updating dir... DONE
Creating environment file /etc/opt/jfrog/artifactory/default...creating... DONE
** INFO: Please edit the files in /etc/opt/jfrog/artifactory to set the correct environment
Especially /etc/opt/jfrog/artifactory/default that defines ARTIFACTORY_HOME, JAVA_HOME and JAVA_OPTIONS

Initializing artifactory service with chkconfig...artifactory           0:off   1:off   2:on    3:on    4:on    5:on    6:off
 DONE

Setting file permissions... DONE

************ SUCCESS ****************
Installation of Artifactory completed

Please check /etc/opt/jfrog/artifactory, /maven/artifactory/tomcat and /maven/artifactory folders
Please check /etc/init.d/artifactory startup script

you can now check installation by running:
> service artifactory check (or /etc/init.d/artifactory check)

Then activate artifactory with:
> service artifactory start (or /etc/init.d/artifactory start)

配置修改