nexus迁移

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
posted @ 2020-07-02 11:09  哈喽哈喽111111  阅读(837)  评论(0编辑  收藏  举报