CentOS7.4 搭建 Artifactory 倉庫 jfrog 倉庫 maven 私有倉庫

安裝 Artifactory

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

附帶一份 nginx.conf 配置文件

server {
	listen       80;
	server_name  xxx.com;

	location / {
		proxy_pass http://127.0.0.1:8081;
	}
}
相關文章
相關標籤/搜索