• Centos7.3安装nexus-3.14.0-04


    nexus-3.14.0-04的安装

     

        nexus-3.14.0-04-unix.tar.gz

                1、下载nexus

                2、上传到服务器/root/

                3.解压

                    tar -zxvf nexus-3.14.0-04-unix.tar.gz -C /usr/local/

                4.修改配置文件

                    vim /usr/local/nexus-3.14.0-04/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.14.0-04/bin/nexus start

                        useradd nexus

                        chown -R nexus:nexus /usr/local/nexus-3.14.0-04/

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

                        su nexus

                        /usr/local/nexus-3.14.0-04/bin/nexus start

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

                        /usr/local/nexus-3.14.0-04/bin/nexus stop

                        /usr/local/nexus-3.14.0-04/bin/nexus run

                        /usr/local/nexus-3.14.0-04/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.14.0-04/bin/nexus start'

  • 相关阅读:
    mysql启动失败
    mini.open参数传递
    json的key动态赋值
    Python文件格式 .py .pyc .pyw .pyo .pyd的主要区别
    centos 7.2 安装mongodb 3.4.4免编译
    tomcat 8.0安装ssl证书,及centos7.2 的openssl升级到最新版本,及ERR_SSL_OBSOLETE_CIPHER错误解决
    云服务器 Centos7.0 部署
    笔记
    oracle 视图的创建,游标,left join
    在Extjs中对日期的处理,以及在后端数据在SQL语句的判断处理
  • 原文地址:https://www.cnblogs.com/programer-xinmu78/p/10022376.html
Copyright © 2020-2023  润新知