Coder Social home page Coder Social logo

tchirktema / cicd-testing-java-cours Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eazytraining/cicd-testing-java-cours

0.0 0.0 0.0 75 KB

Dépôt de suivi du cours CICD pour Dev: https://eazytraining.fr/cours/cicd-pour-developpeurs-debutez-avec-le-devops-quand-on-est-developpeur/

License: MIT License

Java 92.78% HTML 7.22%

cicd-testing-java-cours's Introduction

Dépôt des sources JAVA pour cours CICD

Sources accompagnant le cours "Continuous Integration, Continuous Delivery"

Installation des outils dans un environnement CentOS 7

Avant de démarrer les installations des différents outils, mettre à jour son environnement

sudo yum update -y

Installation de Git et Vim

sudo yum -y install git vim

Installation de Java 11

rpm -qa | grep java-11-openjdk-devel
sudo yum -y install epel-release java-11-openjdk-devel
sudo vim ~/.bashrc

Editer le fichier ~/.bashrc et y ajouter le contenu ci-dessous

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.20.0.8-1.el7_9.x86_64

export PATH=$PATH:$JAVA_HOME/bin

source ~/.bashrc
java -version

Installation de Maven 3.9.4

cd /usr/local/src/

sudo wget https://downloads.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz

Si l'execution de la commande, vous indique que le lien de récuperation des sources de maven n'existe pas, veuillez vous cliquez sur le lien suivant: https://downloads.apache.org/maven/ Vous accéderez à une liste de répertoire des versions de maven à jour et avec le nouveau lien reconstituer l'url valide.

sudo tar -xvf apache-maven-3.9.4-bin.tar.gz
sudo mv apache-maven-3.9.4 /usr/local/maven/
sudo vim /etc/profile.d/maven.sh

Editer le fichier /etc/profile.d/maven.sh et y ajouter le contenu ci-dessous

export M2_HOME=/usr/local/maven

export PATH=/${M2_HOME}/bin:/${PATH}

sudo chmod +x /etc/profile.d/maven.sh
source /etc/profile.d/maven.sh
mvn --version

cicd-testing-java-cours's People

Contributors

geoffreyarthaud avatar diranetafen avatar imphilippesimo avatar anselmeg300 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.