Embulkのインストール

(20)


https://www.embulk.org/
https://qiita.com/da-sugi/items/13d4ead19c86d783ebb4
http://www.ne.jp/asahi/hishidama/home/tech/embulk/install.html

-- 1. Java 8インストール

sudo apt install -y openjdk-8-jdk
java -version


-- 2. Embulkのインストール

curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
chmod +x ~/.embulk/bin/embulk
echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

embulk --help
embulk gem --help

-- 3. プラグインの検索

embulk gem search put-mysql -r
embulk gem search put-oracle -r
embulk gem search put-postgresql -r
embulk gem search put-sqlserver -r

 

-- 4. プラグインのインストール
embulk gem list

embulk gem install embulk-input-mysql
embulk gem install embulk-output-mysql
embulk gem install embulk-input-oracle
embulk gem install embulk-output-oracle
embulk gem install embulk-input-postgresql
embulk gem install embulk-output-postgresql
embulk gem install embulk-input-sqlserver
embulk gem install embulk-output-sqlserver


embulk gem list

(10)
https://stackoverflow.com/questions/57031649/how-to-install-openjdk-8-jdk-on-debian-10-buster

-- 1. Java 8インストール

apt update
apt install software-properties-common

apt-add-repository 'deb http://security.debian.org/debian-security stretch/updates main'
apt update
apt install -y openjdk-8-jdk


update-alternatives --config java

java -version


-- 2. Embulkのインストール
apt install -y curl

curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
chmod +x ~/.embulk/bin/embulk
echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

embulk --help
embulk gem --help

-- 3. プラグインの検索

embulk gem search put-mysql -r
embulk gem search put-oracle -r
embulk gem search put-postgresql -r
embulk gem search put-sqlserver -r

 

-- 4. プラグインのインストール
embulk gem list

embulk gem install embulk-input-mysql
embulk gem install embulk-output-mysql
embulk gem install embulk-input-oracle
embulk gem install embulk-output-oracle
embulk gem install embulk-input-postgresql
embulk gem install embulk-output-postgresql
embulk gem install embulk-input-sqlserver
embulk gem install embulk-output-sqlserver


embulk gem list

 

 

(7)


-- 1. Java 8インストール

yum install -y java-1.8.0-openjdk
yum install -y java-1.8.0-openjdk-devel

java -version

-- 2. Embulkのインストール

curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
chmod +x ~/.embulk/bin/embulk
echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

embulk --help
embulk gem --help

-- 3. プラグインの検索

embulk gem search put-mysql -r
embulk gem search put-oracle -r
embulk gem search put-postgresql -r
embulk gem search put-sqlserver -r

 

-- 4. プラグインのインストール
embulk gem list

embulk gem install embulk-input-mysql
embulk gem install embulk-output-mysql
embulk gem install embulk-input-oracle
embulk gem install embulk-output-oracle
embulk gem install embulk-input-postgresql
embulk gem install embulk-output-postgresql
embulk gem install embulk-input-sqlserver
embulk gem install embulk-output-sqlserver


embulk gem list

 

 

(2019)


-- 1. Java 8インストール

https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html


java -version


-- 2. Embulkのインストール
PowerShell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; Invoke-WebRequest http://dl.embulk.org/embulk-latest.jar -OutFile embulk.bat}"

cd C:\Users\Administrator

.\embulk --help
.\embulk gem --help


-- 3. プラグインの検索

.\embulk gem search put-mysql -r
.\embulk gem search put-oracle -r
.\embulk gem search put-postgresql -r
.\embulk gem search put-sqlserver -r

 

-- 4. プラグインのインストール
.\embulk gem list

.\embulk gem install embulk-input-mysql
.\embulk gem install embulk-output-mysql
.\embulk gem install embulk-input-oracle
.\embulk gem install embulk-output-oracle
.\embulk gem install embulk-input-postgresql
.\embulk gem install embulk-output-postgresql
.\embulk gem install embulk-input-sqlserver
.\embulk gem install embulk-output-sqlserver


.\embulk gem list