This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
stages { | |
stage('Source') { | |
steps { | |
// Get code from a GitHub repository | |
git 'link-to-your-git-repo' | |
// Run npm install | |
sh "npm install" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Docker (Containerization) -> https://www.docker.com/ | |
docker image ls | |
docker container ls / docker ps | |
docker ps -a | |
docker stop container-name | |
docker start container-name | |
docker rm container-name | |
docker image rm image:tag | |
Create a Dockerfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install NodeJS (14 or 16) | |
https://nodejs.org/en/download/ | |
check node version after installation | |
node --version | |
npm --version | |
npx --version | |
2. Install Expo CLI | |
npm install -g expo-cli | |
check expo version after installation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.auribises.hadoop_demo; | |
import org.apache.hadoop.conf.Configured; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.io.IntWritable; | |
import org.apache.hadoop.mapreduce.Job; | |
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat; | |
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; | |
import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat; | |
import org.apache.hadoop.util.Tool; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install JDK 8 | |
sudo yum update -y | |
sudo yum install java-1.8.0-openjdk | |
# Install JDK 11 - java | |
sudo amazon-linux-extras install java-openjdk11 | |
# Install JDK 11 Development - javac | |
sudo yum install java-11-openjdk-devel |