반응형

◎ 테스트 환경

OS : CentOS Stream release 8

DB : Oracle Database 19c Enterprise Edition Release 19.3.0.0.0

 

 

 

1. 아래에서 Trino Client 설치 파일(trino-cli-399-executable.jar)을 다운로드합니다.

https://trino.io/docs/current/client/cli.html

 

Command line interface — Trino 399 Documentation

Command line interface The Trino CLI provides a terminal-based, interactive shell for running queries. The CLI is a self-executing JAR file, which means it acts like a normal UNIX executable. Requirements The CLI requires a Java virtual machine available o

trino.io

 

2. 다운로드한 Trino Client 설치 파일을 임의 경로(/trino)에 업로드합니다.

[root@centos8-oracle19 ~]# cd /trino

[root@centos8-oracle19 trino]# ls -rlt
total 888800
-rw-r--r--. 1 root  root  722710419 Oct  6 00:43 trino-server-rpm-398.rpm
-rw-rw-r--. 1 root  root  176367368 Oct  6 02:03 zulu17.36.17-ca-jdk17.0.4.1-linux.x86_64.rpm
-rw-rw-r--. 1 root  root  11046943 Oct  7 01:05 trino-cli-398-executable.jar

 

3. Trino Client 설치 파일의 이름을 변경해 줍니다.

[root@centos8-oracle19 trino]# mv trino-cli-398-executable.jar trino

[root@centos8-oracle19 trino]# ls -rlt
total 888800
-rw-r--r--. 1 root  root  722710419 Oct  6 00:43 trino-server-rpm-398.rpm
-rw-rw-r--. 1 root  root  176367368 Oct  6 02:03 zulu17.36.17-ca-jdk17.0.4.1-linux.x86_64.rpm
-rw-rw-r--. 1 root  root  11046943 Oct  7 01:05 trino

 

4. 이름을 변경한 Trino Client 설치 파일에 실행 권한을 부여합니다.

[root@centos8-oracle19 trino]# chmod +x trino

[root@centos8-oracle19 trino]# ls -rlt
total 888800
-rw-r--r--. 1 root  root  722710419 Oct  6 00:43 trino-server-rpm-398.rpm
-rw-rw-r--. 1 root  root  176367368 Oct  6 02:03 zulu17.36.17-ca-jdk17.0.4.1-linux.x86_64.rpm
-rwxrwxr-x. 1 root  root  11046943 Oct  7 01:05 trino

 

5. Trino Client의 버전을 확인해 봅니다.

[root@centos8-oracle19 trino]# ./trino --version

Trino CLI 398
반응형

'data platform > trino' 카테고리의 다른 글

Trino Client에서 Oracle Database 접속  (0) 2022.11.11
Trino 설치  (0) 2022.11.11
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기