Coder Social home page Coder Social logo

-nexus-installation's Introduction

nexus-installation

Pre-Requisites

- Create EC2-Instance with t2.xlarge
- Install Java

Install Java

yum install java-1.8.0-openjdk-devel -y
cd /opt

Download and Extract nexus tar file:

wget https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.0.2-02-unix.tar.gz
tar xvzf nexus-3.0.2-02-unix.tar.gz

Change name of Nexus file:

mv nexus-3.0.2-02/ nexus

Add nexus user:

useradd nexus

Change owner ship for nexus file:

chown -R nexus:nexus nexus

Open /opt/nexus/bin/nexus.rc file and update data like as below:

vi /opt/nexus/bin/nexus.rc
-------------------------------
run_as_user="nexus"
-------------------------------

Create softlink for nexus file

ln -s /opt/nexus/bin/nexus /etc/init.d/nexus

Login to nexus user:

su - nexus

Start nexus:

service nexus start

Check status of nexus:

service nexus status

Open 8081 port in security gropus of server and Open nexus UI using ip-address with port as shown in below

<ip-address>:8081

Login to nexus using below credentials

username: admin
password: admin123

image

-nexus-installation's People

Contributors

nayeem-tariq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.