nexus迁移


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM