5月 172016
 

错误信息

Login Error

Incorrect username, password or no permission to use the Nexus User Interface.
Try again. Please login before attempting further requests.

替代密码(admin123)

f865b53623b121fd34ee5426c792e5c33af8c227

停止nexus服务

[root@maven ~]# /usr/local/nexus-2.11.4-01/bin/nexus stop
****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
Stopping Nexus OSS...
Stopped Nexus OSS.
[root@maven ~]#

进入目录,修改配置文件

[root@maven ~]# cd /usr/local/sonatype-work/nexus/conf
[root@maven conf]# cp security.xml security.xml.backup
[root@maven conf]# vi security.xml

替换用户配置中<password></password>的密码

<user>
 <id>admin</id>
 <firstName>Administrator</firstName>
 <lastName>User</lastName>
 <password>f865b53623b121fd34ee5426c792e5c33af8c227</password>
 <status>active</status>
 <email>changeme@yourcompany.com</email>
</user>

重新启动nexus服务

[root@maven conf]# /usr/local/nexus-2.11.4-01/bin/nexus start

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据