Coder Social home page Coder Social logo

k8s-python-fastapi-project's Introduction

k8s-python-fastapi-project

Java and Jenkins Installation:

  1. Update all software packages on Ubuntu server. sudo apt-get update sudo apt-get upgrade

  2. Install Java on Ubuntu server. sudo apt-get install default-jdk java -version

  3. Install Jenkins on Ubuntu server. wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ >
    /etc/apt/sources.list.d/jenkins.list' sudo apt-get update sudo apt-get install jenkins

  4. Verify:- (i) ps -ef | grep jenkins (ii) Jenkins will be launched as a daemon up on start - Check under /etc/init.d/jenkins (iii) /etc/default/jenkins will capture configuration parameters for the launch like e.g JENKINS_HOME.

  5. launch the Jenkins URLS in the browser:- <ubuntu_ip_address>:8080

  6. Get the Password from the path : /var/lib/jenkins/secrets/initialAdminPassword


/etc/default# cat /var/lib/jenkins/secrets/initialAdminPassword 6aba06880c534f85afba6be0085d2fd9 root@ip-172-31-28-251:/etc/default#

  1. Click "Install Suggested Plugins" - Then the installation gets started.

  2. Create a new user of your own by giving Name, Email-id, username, password.

  3. Then Login into the console and explore Jenkins.

  1. Open up the script vim /etc/default/jenkins
  2. Find this $JENKINS_USER and change to β€œroot”: $JENKINS_USER="root"
  3. Then change the ownership of Jenkins home, webroot and logs: chown -R root:root /var/lib/jenkins chown -R root:root /var/cache/jenkins chown -R root:root /var/log/jenkins
  1. Restart Jenkins and check the user has been changed: service jenkins restart

=================================================================================

Docker Installation:

  1. sudo apt install docker.io

  2. docker login

=================================================================================

Git Installation:

  1. sudo apt install git

=================================================================================

AWS Access Keys

k8s-python-fastapi-project's People

Contributors

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