预计阅读时间:1 分钟
- 根据你的系统版本选择合适的安装包
- 进入目录
nexus-3.86.2-01-win-x86_64\nexus-3.86.2-01\bin - 按
Win键,输入cmd,找到后右键,以管理员身份运行 - 然后cd到bin目录: (换成你自己的目录)
cd D:\nexus-3.86.2-01-win-x86_64\nexus-3.86.2-01\bin
- 运行
install.bat文件
install-nexus-service.bat
- 启动服务
nexus.exe start SonatypeNexusRepository
- 然后访问
http://localhost:8081/即可看到管理面板
用户名是admin。密码根据其提示去目标文件里找
常用操作: - 停止服务:nexus.exe stop SonatypeNexusRepository - 启动服务:nexus.exe start SonatypeNexusRepository - 卸载服务:sc delete SonatypeNexusRepository
本文由 changchang 原创,转载请注明出处。