1、停服
./nexus stop
2、进入OrientDB控制台:
cd /apply/nexus3/nexus-3.42.0-01/lib/support/
java -jar ./nexus-orient-console.jar
3、在控制台执行:
connect plocal:/apply/nexus3/sonatype-work/nexus3/db/security admin admin
4、重置密码为admin123
update user SET password="$shiro1$SHA-512$1024$NE+wqQq/TmjZMvfI7ENh/g==$V4yPw8T64UQ6GfJfxYq2hLsVrBY8D1v+bktfOxGdt4b/9BthpWPNUy/CBk6V9iA0nHpzYzJFWO8v/tZFtES8CA==" UPSERT WHERE id="admin"
5、启动nexus服务,然后输入admin/admin123账户登录即可
./nexus start