首页 > 技术文章 > nexus迁移

mayongjie 2022-01-24 09:34 原文

nexus迁移

转载

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

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

推荐阅读