Jfrog artifactory centos 6.9 安装

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





你可能感兴趣的:(Server维护)