linux配置artifactory-2.1.2
一、从http://www.jfrog.org/download.php上下载最新版,
我在这里下载到的是artifactory-2.1.2.zip,
将artifactory-2.1.2.zip解压到/usr/local/artifactory-2.1.2
二、安装
1、进入artifactory-2.1.2 目录
cd /usr/local/artifactory-2.1.2/bin
2、./install.sh 即可完成Articfactory安装,简单吧。默认安装是采用jetty。
三、配置
1、编辑/usr/local/artifactory-2.1.2/etc/default文件
gedit /usr/local/artifactory-2.1.2/etc/default
2、增加JAVA_HOME环境变量 下面第四行.如果正确就不用改。
#Default values
#export ARTIFACTORY_HOME=/opt/artifactory/current
#export ARTIFACTORY_USER=artifactory
#export JAVA_HOME=/opt/java/1.6.0
#export ARTIFACTORY_CONSOLE=${ARTIFACTORY_HOME}/logs/consoleout.log
四、启动Artifactory
#/usr/local/artifactory-2.1.2/bin/artifactoryctl start
五、然后在浏览器中输入http://127.0.0.1:8081/articfactory,默认用户名和密码为admin、password,登录后。
我在这里下载到的是artifactory-2.1.2.zip,
将artifactory-2.1.2.zip解压到/usr/local/artifactory-2.1.2
二、安装
1、进入artifactory-2.1.2 目录
cd /usr/local/artifactory-2.1.2/bin
2、./install.sh 即可完成Articfactory安装,简单吧。默认安装是采用jetty。
三、配置
1、编辑/usr/local/artifactory-2.1.2/etc/default文件
gedit /usr/local/artifactory-2.1.2/etc/default
2、增加JAVA_HOME环境变量 下面第四行.如果正确就不用改。
#Default values
#export ARTIFACTORY_HOME=/opt/artifactory/current
#export ARTIFACTORY_USER=artifactory
#export JAVA_HOME=/opt/java/1.6.0
#export ARTIFACTORY_CONSOLE=${ARTIFACTORY_HOME}/logs/consoleout.log
四、启动Artifactory
#/usr/local/artifactory-2.1.2/bin/artifactoryctl start
五、然后在浏览器中输入http://127.0.0.1:8081/articfactory,默认用户名和密码为admin、password,登录后。
记住该记住的,忘记该忘记的,改变能改变的,接受不能改变的!