首页 > 其他 > 详细

nexus迁移

时间:2020-07-02 12:10:16      阅读:48      评论:0      收藏:0      [点我收藏+]

1、找到nexus主目录和sonatype-work目录打包,一般在

    /usr/local/nexus 和 /usr/local/sonatype-work

     # tar -czvf nexus.tar.gz ./nexus

    # tar -czvf sonatyp-work.tar.gz ./sonatype-work

2、传送数据到新服务器

    # scp xxx.tar.gz root@10.0.0.222:/usr/local

3、解压 并切换所属用户

    # tar -xzvf xxx.tar.gz

    # chown nexus:nexus xxxx

4、启动nexus

    # cd nexus

    #  ./bin/nexus start

5、验证是否启动

http://10.0.200.112:8081/nexus

nexus迁移

原文:https://www.cnblogs.com/sanduzxcvbnm/p/13223605.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!