下载 nexus oos(开源版)https://www.sonatype.com/download-oss-sonatype

2 将下载的压缩包上传到/opt/nexus/文件夹下面

3 解压文件

sudo tar -zxvf nexus-3.13.--unix.tar.gz

解压之后出现两个文件夹:

nexus-3.13.0-01/

sonatype-work/

nexus-3.13.0-01存储nexus核心文件以及启动文件夹

sonatype-work 可以存放maven下载jar包,和启动时候的log文件

4 启动nexus

nexus默认端口号8081,nexus3可以在nexus-3.13.0-01/etc下面的nexus-default.properties文件修改

默认情况下,不建议以root用户运行Nexus,如果跳过警告可以修改配置文件:nexus-3.13.0-01/bin下面的nexus文件

启动:切换到nexus-3.13.0-01/bin目录下,

./nexus start

检查是否启动:

查看进程:ps -ef |grep nexus

注:

sudo ./nexus start: 在后台启动Nexus服务

sudo ./nexus status:查看Nexus运行状态
sudo ./nexus stop: 停止后台的Nexus服务
sudo./nexus restart: 重新启动后台的Nexus服务

5 访问网页

http://ip地址:8081     (如果出现404,就访问http://IP地址:8081/nexus)

默认用户名和密码:admin/admin123

参考:

https://blog.csdn.net/xiaoxiangzi520/article/details/80520412
https://www.cnblogs.com/dingyingsi/p/3776560.html
https://www.cnblogs.com/muzi1994/p/6026144.html

https://blog.csdn.net/dengsilinming/article/details/17635191
https://blog.csdn.net/pucao_cug/article/details/64925157

https://blog.csdn.net/chenfei2341/article/details/80431700
http://shiyanjun.cn/archives/1768.html
https://www.jianshu.com/p/9740778b154f

https://www.cnblogs.com/sellsa/p/8108052.html

https://www.cnblogs.com/kevingrace/p/6201984.html

最新文章

  1. Android样式之selector
  2. Chrome plug-in 和Extension
  3. 指针属性直接赋值 最好先retain 否则内存释放导致crash
  4. 开发问题记录——AE开发提示80040111错误
  5. 基于requirejs和angular搭建spa应用
  6. Visual studio code快捷键
  7. 关于tomcat和jetty的乱码问题
  8. if-else语句
  9. [BZOJ3167]Sao
  10. 解决Table不继承父节点的属性的方法
  11. Windows Server 2016-Win Ser 2016新增功能
  12. 数据建模工具系列 之 让Oracle Data Modeler支持Vertica
  13. jmeter3.0下载及安装
  14. 【Static Program Analysis - Chapter 1】 Introduction
  15. hdu 6394 Tree (2018 Multi-University Training Contest 7 1009) (树分块+倍增)
  16. 【转载】Eclipse快捷键 10个最有用的快捷键
  17. android-基础编程-Dialog
  18. DiscuzX的目录权限设置1
  19. Angular4 自制华容道拼图(可以升级难度、关卡、更换图片)
  20. (一)Hadoop1.2.1安装——单节点方式和单机伪分布方式

热门文章

  1. Appium Desired Capabilities-Android Only
  2. new一个对象的过程
  3. json.loads 报错 json.decoder.JSONDecodeError
  4. 12 canvas 画布 - 基础
  5. STM32调试利器之ITM
  6. centos7编译安装PHP7已经把你逼到去安定医院看门诊的地步?请看此文
  7. Codeforces Round #509 (Div. 2) E. Tree Reconstruction(构造)
  8. 配置NFS共享
  9. 015_linuxC++之_覆写
  10. 'telnet' is not recognized as an internal or external command