【问题标题】:How to change the nexus repository url using command line interface?如何使用命令行界面更改 nexus 存储库 url?
【发布时间】:2017-04-05 03:01:31
【问题描述】:

我已经使用命令行安装了 Nexus Repository OSS,我想将存储库 url 从 localhost 更改为我的公司名称。我怎样才能做到这一点?而且我必须在远程机器上执行此操作,所以我只需要使用命令行来执行此操作。

【问题讨论】:

    标签: nexus


    【解决方案1】:

    对于 Nexus Repository 3.x,您可以使用与此类似的方法,假设您可以运行 sed 或类似的东西(毕竟您可以使用文本编辑器进行更改)

    https://github.com/sonatype/docker-nexus3/blob/master/Dockerfile#L61

    您还需要重新启动 Nexus Repository 以获取更改。

    对于 Nexus Repository 2.x,请参阅此问题/答案:Nexus webapp, how to use / instead of /nexus for base URI

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-05-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-24
    • 2018-03-05
    相关资源
    最近更新 更多