nexus迁移

2022-11-13,

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迁移的相关教程结束。

《nexus迁移.doc》

下载本文的Word格式文档,以方便收藏与打印。