windows环境安装nexus

来源:互联网 发布:amd显卡驱动设置优化 编辑:程序博客网 时间:2024/05/16 15:09

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.



原创粉丝点击