Nexus 安装(Linux 环境)
2017-02-28 17:28
246 查看
一、环境准备
安装 JDK 1.7
二、下载 Nexus 压缩文件
下载地址:http://www.sonatype.org/nexus/archived/
三、上传压缩文件
四、解压缩文件
五、配置环境变量
1、临时配置
命令:export RUN_AS_USER=root
2、永久配置
命令:vi /etc/profile
六、配置文件生效
命令:source /etc/profile
七、启动 Nexus 服务
命令:cd /usr/local/nexus-2.5.1-01/bin
命令:./nexus start
八、修改 Nexus 配置
命令:cd /usr/local/nexus-2.5.1-01/conf/
命令:vim nexus.properties
九、监控 Nexus 日志
命令:cd /usr/local/nexus-2.5.1-01/logs/
命令:tail -f wrapper.log
十、开启端口(配置文件: application-port)
命令:firewall-cmd --zone=public --add-port=8081/tcp --permanent
十一、重启端口
命令:firewall-cmd --reload
十二、测试
访问地址:http://192.168.206.153:8081/nexus
安装 JDK 1.7
二、下载 Nexus 压缩文件
下载地址:http://www.sonatype.org/nexus/archived/
三、上传压缩文件
四、解压缩文件
五、配置环境变量
1、临时配置
命令:export RUN_AS_USER=root
2、永久配置
命令:vi /etc/profile
export RUN_AS_USER=root
六、配置文件生效
命令:source /etc/profile
七、启动 Nexus 服务
命令:cd /usr/local/nexus-2.5.1-01/bin
命令:./nexus start
八、修改 Nexus 配置
命令:cd /usr/local/nexus-2.5.1-01/conf/
命令:vim nexus.properties
#UI 访问端口号 application-port=8081 application-host=0.0.0.0 nexus-webapp=${bundleBasedir}/nexus nexus-webapp-context-path=/nexus # Nexus section nexus-work=${bundleBasedir}/../sonatype-work/nexus runtime=${bundleBasedir}/nexus/WEB-INF
九、监控 Nexus 日志
命令:cd /usr/local/nexus-2.5.1-01/logs/
命令:tail -f wrapper.log
十、开启端口(配置文件: application-port)
命令:firewall-cmd --zone=public --add-port=8081/tcp --permanent
十一、重启端口
命令:firewall-cmd --reload
十二、测试
访问地址:http://192.168.206.153:8081/nexus
相关文章推荐
- linux上maven私服环境NEXUS安装
- 【Maven实战】之Linux环境下Nexus3.6安装
- Linux环境安装Nexus
- 【Maven实战】之Linux环境下Nexus3.6安装
- linux环境下安装jdk、mysql、nexus(tar包安装)
- Linux下配置PHP运行环境 安装Oracle(粗略写了下)
- Linux下配置PHP运行环境 安装Oracle(粗略写了下)
- ZT:linux下安装JSP运行环境的搭建。
- Linux下C开发环境的构成和安装
- 在Unix和Linux下安装JDK及环境设置
- linux下JAVA开发环境的安装
- Linux下配置交叉编译环境,配置编译内核及uboot安装
- linux下JDK的安装和环境变量的配置
- linux安装java运行环境
- 在Linux环境下安装JSP
- 在win下打造linux环境: cygwin的安装和简单配置
- Linux环境下bind9.2.3域名服务器的安装
- Linux环境下Oracle的安装与配置
- Linux下C开发环境的构成和安装
- 在win下打造linux环境: cygwin的安装和简单配置