windows环境安装nexus

nexus是干什么,这里就不做描述,既然想到安装,必然已经问过度娘。


nexus安装,首先下载安装包地址:点击下载nexus

本人下载的是 :Nexus Repository Manager OSS 3.x - Windows

下载完成后,解压,得到2个文件夹:1、nexus-3.6.0-02    2、sonatype-work。1为安装目录,2为工作目录

本人下载的是nexus的3.6版本,相比2版本安装更容易,具体安装过程如下:

1、进入nexus-3.6.0-02\bin目录下,按住shift键(键盘上的,按住别放),然后鼠标右键,在弹出的菜单栏中选择“在此处打开命令窗口”。在打开的cmd窗口中输入: nexus /run      敲回车,开始进行安装。

2、安装完成之后,cmd窗口提示

-------------------------------------------------

Started Sonatype Nexus OSS 3.6.0-02

-------------------------------------------------  看到此信息代表安装成功。如果出现

java.lang.NumberFormatException,可能是目录有问题,安装目录不能有空格,字符等,我第一目录中有“-”字符都安装失败。
3、根据官方解释:Once the repository manager is started, the application is listening on the configured IP address range and port. By default any IP address and port 8081 are used. To access the web application user interface, fire up a web browser and type in the URL http://serveripaddress:port e.g. http://localhost:8081/. If the repository manager started up successfully and network settings allow you to connect to the server, the user interface looks similar to Figure 2.1, “Initial User Interface”.
访问nexus,需要在浏览器访问http://localhost:8081/,默认监听8081端口
4、右上角sign in  ,用户名:admin,密码:admin123。此用户为官方解释: Its username is admin and the password is admin123. You can sign in with the button on the top right corner of the user interface.



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值