Giter VIP home page Giter VIP logo

nexus-sonar-jenkins-install's Introduction

Jenkins, Nexus, and SonarQube Installation Script

Introduction

This script automates the installation of Jenkins, Nexus, and SonarQube on a single EC2 instance. It is designed to save costs on AWS by consolidating multiple tools onto one server for practicing building CI/CD pipelines with Jenkins.

System Requirements

  • Instance Type: T2 or T3 Large
  • Storage: 30GB root volume
  • Operating System: Ubuntu

Screenshot 2024-04-03 at 15 49 42

Tools Installed

  • Jenkins
  • Docker
  • Nexus (Docker container)
  • SonarQube (Docker container)

Usage

  1. Clone this repository to your local machine:

    git clone https://github.com/Chriscloudaz/nexus-sonar-jenkins-install/

  2. Navigate to the directory containing the script:

    cd your-repo

  3. Execute the script:

    sudo bash install_tools.sh

  4. After installation, ensure that the default ports for the tools are allowed under the inbound rules of your EC2 instance:

    • Jenkins: Port 8080
    • Nexus: Port 8081
    • SonarQube: Port 9000
    • SSH: Port 22

Screenshot 2024-04-03 at 15 45 12

Important Note

Containers will stop whenever the instance is stopped. You can use the start_containers.sh script provided in this repository to start both containers again when you start your instance.

To access the shell of your container, please run the command docker exec -it "name of container" bash

You can get the name of your container by running docker ps

If you run into permission issues, do the following:

  • Run the command sudo usermod -aG docker ${USER}
  • Run sudo su ubuntu
  • Try again

Access URLs

After the installation is complete, you can access the following URLs to use the newly installed tools:

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

nexus-sonar-jenkins-install's People

Contributors

chriscloudaz 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.