Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install Nexus on Windows

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Environment:

Windows 10

Apache-maven-3.3.9

JDK 1.8

Download Nexus:

Https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.2.0-01-win64.zip

After decompression, you can find two folders, nexus-3.2.0-01 and sonatype-work:

Configure to the system environment Path:\ Path\ to\ nexus

Run:

Path\ to\ nexus\ nexus-3.2.0-01\ bin > nexus / runPreparing JRE... 2017-02-10 11 nexus 01nexus 30232En0800 WARN [pool-15-thread-1] * SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JInitialiser-Your logging framework class org.ops4j.pax.logging.slf4j.Slf4jLogger is not known-if it needs access to the standard println methods on the console you will need to register it by calling registerLoggingSystemPackage2017-02-10 11Fringe 01nexus 30234En0800 INFO [pool-15-thread-1] * SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J-Package org.ops4j.pax.logging.slf4j registered All classes within it or subpackages of it will be allowed to print to System.out and System.err2017-02-10 11 SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J-Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams. 30238-0800 INFO [pool-15-thread-1]. 2017-02-10 11 SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer-Started Sonatype Nexus OSS 3.2.0-01-- 20689 0800 INFO [jetty-main-1] -2017-02-10 11 INFO 06lav 265160800 INFO [qtp2005938307-99] * UNKNOWN org.apache.shiro.session.mgt.AbstractValidatingSessionManager-Enabling session validation scheduler...2017-02-1011Vera 06vir 265334th 0800 INFO [qtp2005938307-99] * UNKNOWN org.sonatype.nexus.internal.security.anonymous.AnonymousManagerImpl-Using default configuration: AnonymousConfiguration {enabled=true UserId='anonymous' RealmName='NexusAuthorizingRealm'} 2017-02-10 11 INFO 0615 UNKNOWN com.sonatype.nexus.analytics.internal.EventSubmitterImpl 0800 INFO [UNKNOWN com.sonatype.nexus.analytics.internal.EventSubmitterImpl-101l] * UNKNOWN com.sonatype.nexus.analytics.internal.EventSubmitterImpl-Service URL: https://analytics.sonatype.com2017-02-10 11V 08V 0800 INFO [qtp2005938307-244] admin org.sonatype.nexus.rapture.internal.security.SessionServlet-Created session for user: admin 2017-02-10 11 admin org.sonatype.nexus.rapture.internal.security.SessionServlet admin org.sonatype.nexus.rapture.internal.security.SessionServlet-Created session for user: admin

Check whether the installation is successful

Browser test: http://localhost:8081

Default username / password: admin/admin123

Configure Nexus:

Description of Repositories used by Maven:

Maven-central:maven central library, which pulls jar from https://repo1.maven.org/maven2/ by default

Maven-releases: private library distribution jar

Maven-snapshots: private library snapshot (debug version) jar

Maven-public: the above three repositories are grouped together to provide services, which are used in the local maven infrastructure configuration settings.xml.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report