Artifactory 的官網 https://www.jfrog.com/open-source/java
# Artifactory 依賴jdk8環境運行,由於有Tomcat # 經過 java - version 檢查 java 環境 PS: java8安裝自行百度 $ java -version # 經過yum安裝artifactory # 先去Artifactory 的官網,下載rpm文件 # 安裝下載文件 jfrog-artifactory-oss-6.12.2.rpm $ rpm -ivh jfrog-artifactory-oss-6.12.2.rpm #經常使用服務 命令 $ systemctl start artifactory.service // 啓動 $ systemctl stop artifactory.service // 中止 # 默認安裝目錄 # /etc/opt/jfrog/artifactory # 默認帳號密碼爲 # username: admin # password: password # 文檔地址 # /opt/jfrog/doc # tomcat目錄 PS:能夠修改端口號8081 # /opt/jfrog/artifactory/tomcat
server { listen 80; server_name xxx.com; location / { proxy_pass http://127.0.0.1:8081; } }