Home >System Tutorial >LINUX >Nexus private server easily retrieves account

Nexus private server easily retrieves account

WBOY
WBOYforward
2024-04-05 09:04:19649browse

Nexus private server easily retrieves account

1 Stop nexus service
[root@node001 bin]# /usr/local/nexus/nexus-2.14.5-02/bin/nexus stop
****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
Stopping Nexus OSS...
Stopped Nexus OSS.
2 Enter the directory and modify the configuration file
[root@node001 ~]# cd /usr/local/nexus/sonatype-work/nexus/conf
[root@node001 conf]# cp security.xml security.xml.backup
[root@node001 conf]# vi security.xml

Replace the password in the user configuration and initialize it to the default password admin123

13 user

14 id:admin

15 firstname:Administrator

16 lastName:User

17 password:f865b53623b121fd34ee5426c792e5c33af8c227

18 status:active

19 email:changeme@yourcompany.com

20 user

3. Restart nexus service
[root@node001 bin]# /usr/local/nexus/nexus-2.14.5-02/bin/nexus start
****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
Starting Nexus OSS...
Started Nexus OSS.
4. Test whether the modification is successful

Input in the address bar: http://your private server ip address:8081/nexus/

Log in and enter username admin, password admin123, test modification successful

The above is the detailed content of Nexus private server easily retrieves account. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:linuxprobe.com. If there is any infringement, please contact admin@php.cn delete