sanduzxcvbnm

nexus-3.14.0升级到3.15.2

首先来看下原来的服务目录:

nexus-3.14.0-04  sonatype-work

注意:nexus-3.14.0-04是应用程序包,sonatype-work是数据目录

那么现在想要升级到3.15,先把包传过来,接着解压,然后直接启动即可。

# mkdir tmp
# tar xf nexus-3.15.2-01-unix.tar.gz -C tmp/
# ls tmp/
nexus-3.15.2-01  sonatype-work

然后把应用程序拷贝过来,再简单配置一下。

mv tmp/nexus-3.15.2-01/ ./
rm -rf tmp/
vim nexus-3.15.2-01/bin/nexus.rc  #去掉注释,user改成nexus
chown -R nexus.nexus nexus-3.15.2-01

因为其他的都是保持的默认,所以不需要更改,接下来直接启动即可。

cd nexus-3.15.2-01/bin/
nohup ./nexus run &

初次加载可能比较慢,等待一会儿,可以监听日志,看到如下信息:

------------------------------------------------- Started Sonatype Nexus OSS 3.15.2-01 ----------------------------------------------

说明启动正常,再看看端口也起来了,访问一下,发现原来的数据都还在,就能投入使用了。升级也就完成了。

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2021-05-16
  • 2021-04-22
猜你喜欢
  • 2021-10-14
  • 2022-01-08
  • 2022-02-08
  • 2021-12-04
  • 2021-07-21
  • 2022-02-15
  • 2022-03-11
相关资源
相似解决方案