下载安装
最新nexus下载地址:http://www.sonatype.org/nexus/go
解压后会在同级目录中,出现两个文件夹:nexus-oss-webapp-1.8.0和sonatype-work,前者包含了nexus的运行环境和应用程序,后者包含了你自己的配置和数据。
cd nexus-2.11.4-01/bin
1.export RUN_AS_USER=root
2. ./nexus start
Starting Nexus OSS...
Started Nexus OSS.
3. ./nexus console
Running Nexus OSS...
Nexus OSS is already running.