Centos7安装nexus
来源:互联网 发布:淘宝 zara 原单 编辑:程序博客网 时间:2024/06/05 06:06
1、下载 http://www.sonatype.org/nexus/archived/
2、nexus 名称 nexus-2.12.0-01-bundle.tar.gz ,上传到 /usr/local/java/nexus中。
3、解压 tar zxvf nexus-2.12.0-01-bundle.tar.gz
4、进入 /usr/local/java/nexus/nexus-2.12.0-01/bin 中,启动nexus;
[root@localhost bin]# ./nexusUsage: ./nexus { console | start | stop | restart | status | dump }[root@localhost bin]# ./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.
出现警告,启动失败;
这是要求,配置环境变量;具体步骤如下:
4.1 编辑环境变量
vi /etc/profile
4.2 在最后添加
############################################################################nexus###############################export RUN_AS_USER=root
4.3 配置环境变量生效
source /etc/profile
4.4 重新运行
[root@localhost bin]# source /etc/profile [root@localhost bin]# ./nexus start****************************************WARNING - NOT RECOMMENDED TO RUN AS ROOT****************************************Starting Nexus OSS...Started Nexus OSS.
5、启动8081端口
firewall-cmd --add-port=8081/tcp
6、访问 http://192.168.1.250:8081/nexus/
7 首先登陆 nexus,默认的用户名及密码为 admin 和 admin123
阅读全文
0 0
- CentOS7安装配置Nexus
- Centos7安装nexus
- centos7.3 安装nexus-3.6
- Linux:CentOS7安装maven私服Nexus
- centos7下搭建nexus
- Centos7 配置 Nexus
- CentOS7下搭建nexus
- nexus安装
- Nexus 安装
- nexus安装
- nexus安装
- nexus安装
- nexus安装
- nexus 安装
- Nexus安装
- 安装nexus
- nexus安装
- 安装Nexus
- jetty-runner 如何配置 jstl
- 算法之康托展开式(正规)
- 避免滥用单例
- [docker]docker registry
- eclipse创建.userlibraries,导入.userlibraries
- Centos7安装nexus
- sourceInsight4 破解笔记(完美破解)
- uml建模分析思路
- 第十三天 :关于java中垃圾回收机制的总结
- netty基础入门(二)简单项目搭建
- tar解压失败:gzip: stdin: not in gzip format
- KMP算法--C/C++
- constructor与module
- storm安装配置(单机版)