1.下載
https://www.sonatype.com/download-oss-sonatype
本人雲盤:https://pan.baidu.com/s/1_Qmhzij0TlOmTGT-ebDCqA 密碼:wmxd
2. 安裝
打開windows管理員身份運行指令(注意)
進入nexus bin目錄下:運行指令 .\nexus.bat install 回車 (install 安裝、start啟動、restart重啟、stop關閉)
3. 到桌面 右鍵 此電腦 > 管理 > 服務與應用程序 > 找到 nexus.bat
4. 啟動
打開windows管理員身份運行指令(注意)
進入nexus bin目錄下:運行指令 .\nexus.bat start 回車 (install 安裝、start啟動、restart重啟、stop關閉)
提示如下圖:
5. 注意:
如果報錯:The nexus service was launched, but failed to start !
需要進入 nexus > bin > jsw > conf 找到wrapper.conf 文件
配置修改 wrapper.java.command=java 將java修改為 jdk 路徑 + java
6. 訪問登錄
內置賬戶:admin 密碼:admin123
訪問:http://localhost:8081/nexus
*******如果有疑問: 歡迎留言評論*******