您的位置:首页 > 博客中心 > 网络系统 >

linux 搭建 nexus 私服及配置

时间:2022-04-03 11:42

安装篇

1、tar -zxvf nexus-latest-bundle.tar.gz

2、cd nexus-2.13.0-01/bin

3、./nexus start

    这时可能提示

****************************************
WARNING – NOT RECOMMENDED TO RUN AS ROOT
****************************************
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.

提示是说:如果您坚持用root用户启动,那么设置环境变量 RUN_AS_USER=root

 

4、export RUN_AS_USER=root

5、再执行 ./nexus start。启动成功。日志文件位置: nexus-2.13.0-01/logs

 

热门排行

今日推荐

热门手游