Code Monkey home page Code Monkey logo

jenkins-installation-ubuntu's Introduction

Jenkins Installation Process inside ubuntu

Without Docker

From https://pkg.jenkins.io/debian/

  • sudo apt update (update your system)
  • curl -fsSL https://pkg.jenkins.io/debian/jenkins.io.key | sudo tee \ /usr/share/keyrings/jenkins-keyring.asc > /dev/null
  • echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ https://pkg.jenkins.io/debian binary/ | sudo tee \ /etc/apt/sources.list.d/jenkins.list > /dev/null
  • sudo apt-get update
  • sudo apt-get install fontconfig openjdk-11-jre (installing fontconfig and java sdk)
  • java -version (checking java version)
  • sudo apt-get install jenkins (installing jenkins)
  • sudo systemctl enable jenkins (enabling jenkins)
  • sudo systemctl start jenkins (starting jenkins)
  • sudo systemctl status jenkins (checking jenkins status)

With Docker

  • docker (check docker is installed or not)
  • sudo apt install docker.io (if not type this)
  • sudo docker pull jenkins/jenkins (pulling jenkins)
  • sudo docker run -d -p 8080:8080 docker.io/jenkins/jenkins:latest
  • sudo docker ps
  • sudo systemctl status jenkins (most probably you will see status is enable)
  • sudo chmod 666 /var/run/docker.sock
  • docker exec {{container_id}} cat var/jenkins_home/secrets/initialAdminPassword (get the password)

jenkins-installation-ubuntu's People

Contributors

lahin31 avatar

Watchers

 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.