Home > System Tutorial > LINUX > body text

Nexus private server easily retrieves account

WBOY
Release: 2024-04-05 09:04:19
forward
602 people have browsed it

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.
Copy after login
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
Copy after login

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

Copy after login
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.
Copy after login
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!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template