代码私服nexus安装步骤

1.     上传到linux服务器服务home目录,解压缩  tar -zxvfnexus-2.7.2-03-bundle.tar.gz

2.     查看你的系统信息,是否nexus支持: uname –a

[root@localhost opt]# uname -a

Linux localhost 2.6.32-220.el6.x86_64 #1 SMPWed Nov 9 08:03:13 EST 2011 x86_64                                   x86_64 x86_64 GNU/Linux

 

[root@localhost opt]# cd /opt/nexus-2.7.2-03/bin/jsw

[root@localhost jsw]# ls

conf    linux-ppc-64 macosx-universal-32 solaris-sparc-64  windows-x86-64

lib     linux-x86-32 macosx-universal-64 solaris-x86-32

license  linux-x86-64  solaris-sparc-32     windows-x86-32

3.       进入 nexus 的bin目录,执行启动命令

    ./nexus start命令启动

 

出现

If you insist running asroot, then set the environment variable RUN_AS_USER=root before running thisscript.

 

打开vi /home/nexus-2.7.2-03/bin/nexus

修改:RUN_AS_USER=root或者export RUN_AS_USER=root

`也可以忽略不计

 

 

 

4.     访问地址:访问192.168.1.230:8081/nexus

 

 

出现成功界面!!

 

 

常用用法: ./nexus { console | start | stop | restart | status | dump }

 

主要:防止端口号占用:修改conf 下

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值