概述
1. Download zip file into /opt folder
wget https://bintray.com/jfrog/artifactory/download_file?file_path=jfrog-artifactory-oss-5.1.3.zip
2. Unzip the zip file in /opt
[root@dev1 opt]# unzip jfrog-artifactory-oss-5.1.3.zip
3. cd [root@dev1 opt]# cd artifactory-oss-5.1.3/bin
4. vi artifactory.default and modify following three lines as your setting
export ARTIFACTORY_HOME=/opt/artifactory-oss-5.1.3
export ARTIFACTORY_USER=artifactory
export JAVA_HOME=/usr/local/java/jdk1.8.0_161
5. Run sh artifactory.sh to start the installation
The console is locked on the Artifactory process and you can stop it cleanly with Ctrl+C, when you see following content in console.
###########################################################
### Artifactory successfully started (19.802 seconds) ###
###########################################################
6. Run installService.sh
7. Open 8081 port from iptables
vi /etc/sysconfig/iptables
add one more line
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8081 -j ACCEPT
8. Execute service in root
service artifactory start
9. Set start automaticlly
chkconfig artifactory on
10. Access url http://localhost:8081/artifactory/, frog ui will be show up.
You can login with default user:admin, password:password to start the Jfrog journal.
end
最后
以上就是大力月亮为你收集整理的Jfrog artifactory centos 6.9 安装的全部内容,希望文章能够帮你解决Jfrog artifactory centos 6.9 安装所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复