zoukankan      html  css  js  c++  java
  • Centos7.3安装nexus12.1

    nexus.12.1-01的安装

                1、下载nexus

                2、上传到服务器/root/

                3.解压

                    tar -zxvf nexus-3.12.1-01-unix.tar.gz -C /usr/local/

                4.修改配置文件

                    vim /usr/local/nexus-3.12.1-01/etc/nexus-default.properties

                修改对应的端口

                    修改防火墙

                    vim /etc/sysconfig/iptables

                    -A INPUT -m state --state NEW -m tcp -p tcp --dport 8081 -j ACCEPT

                重启防火墙

                    service iptables restart

                增加nexus用户

                    并将目录所有权改为nexus

                        启动nexus服务

                        /usr/local/nexus-3.12.1-01/bin/nexus start

                        useradd nexus

                        chown -R nexus:nexus /usr/local/nexus-3.12.1-01/

                        chown -R nexus:nexus /usr/local/sonatype-work/

                        su nexus

                        /usr/local/nexus-3.12.1-01/bin/nexus start

                        Nexus data directory already in use: /usr/local/sonatype-work/nexus3

                        /usr/local/nexus-3.12.1-01/bin/nexus stop

                        /usr/local/nexus-3.12.1-01/bin/nexus run

                        /usr/local/nexus-3.12.1-01/bin/nexus status

                        查看监听是否打开

                        netstat -lntp

                5.浏览器打开并登陆

                    http://192.168.233.154:8081/

                    注意:打开使用google浏览器,这样才会打开,使用360浏览器,会卡到loading中

                    账号admin

                    密码 admin123

                    System Requirement: max file descriptors [4096] likely too low, increase to at least [65536].

                6.修改ulimit

                    vim /etc/security/limits.conf

                新增

                    * soft nofile 65535

                    * hard nofile 65535

            7.配置开机自启动

                    su - nexus -c '/usr/local/nexus-3.12.1-01/bin/nexus start'

  • 相关阅读:
    全方位深度剖析--性能测试之LoardRunner 介绍
    国外性能测试博客
    由我主讲的软件测试系列视频之性能测试系列视频讲座目录出炉了
    性能测试之系统监控工具nmon
    性能测试学习内容指南
    性能测试之操作系统计数器分析方法
    JAVA正则表达式:Pattern类与Matcher类详解
    (总结)密码破解之王:Ophcrack彩虹表(Rainbow Tables)原理详解(附:120G彩虹表下载)
    border-collapse实现表格细线边框
    安卓造成内存泄露的几个原因
  • 原文地址:https://www.cnblogs.com/programer-xinmu78/p/10022369.html
Copyright © 2011-2022 走看看