nexus-3.13.0-01/etc/nexus-default.propertiesvim
# Jetty section application-port=8081 application-host=0.0.0.0 nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml nexus-context-path=/
启动在bin目录下执行nexus,启动方式有两种app
./nexus run (能够看到启动日志)tcp
./nexus start (看不到启动日志)ui
启动成功后输入:localhost:8081spa
输入默认登入帐号密码日志
admin admin123code
其余:xml
Linux启动的时候页面可能会显示警告⚠️System Requirement: max file descriptors [4096] likely too low, increase to at least [65536].blog
解决方案:修改ulimitip
vim /etc/security/limits.conf
新增
soft nofile 65535
hard nofile 65535
重启 reboot
Linux若是未关闭防火墙的状况下,须要更改配置
vim /etc/sysconfig/iptables
加上一行 -A INPUT -m state --state NEW -m tcp -p tcp --dport 8081 -j ACCEPT (8081若是本身改了配置端口须要同时也更改这个)