[我通过在Mac Motion Lion上的brew来安装sonatype nexus服务器,作为打击:
➜〜brew install nexus==>正在下载http://download.sonatype.com/nexus/oss/nexus-2.6.3-01-bundle.tar
已经下载:/Library/Caches/Homebrew/nexus-2.6.3-01.tar.gz
==>注意事项
要在登录时启动启动联系:
ln -sfv /usr/local/opt/nexus/*.plist ~/Library/LaunchAgents
然后立即加载关系:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nexus.plist
或者,如果您不需要/不需要launchctl,则可以运行:
/usr/local/opt/nexus/libexec/bin/nexus start
==>摘要
🍺/usr/local/Cellar/nexus/2.6.3-01:285个文件,42M,在2秒内建立]
➜〜/ usr / local / opt / nexus / libexec / bin / nexus开始
正在启动Nexus OSS ...
已启动Nexus OSS。
但是我找不到nexus服务器启动正常,8081端口未启动,在哪里可以找到日志文件
不确定咖啡冲煮器在哪里。通常,在nexus文件夹中有一个名为sonatype-work的同级文件夹。
nexus.log文件位于sonatype-work / nexus / log中
最坏的情况是寻找nexus.log文件或使用以下方法手动启动Nexus
./ bin / nexus控制台
并查看日志。
➜libexec git:(master)pwd
/ usr / local / Cellar / nexus / 2.6.3-01 / libexec
➜libexec git:(master)ls
LICENSE.txt bin lib wrapper.log
NOTICE.txt conf nexus
[谢谢,我刚收到它,wrapper.log
聚会晚一点...对于Nexus 3.15 ...
因此,相对于您的安装文件夹,例如,如果您将tar.gz复制到/opt
并将其解压缩到其中,则完整路径将为:
/opt/sonatype-work/nexus3/log/