Como Instalar Presto 8.8 ((link)) Access
sudo nano /etc/presto/catalog/tpch.properties Content:
sudo mkdir -p /opt/presto cd /opt/presto sudo wget https://repo1.maven.org/maven2/com/facebook/presto/presto-server/8.8/presto-server-8.8.tar.gz sudo tar -xzf presto-server-8.8.tar.gz sudo mv presto-server-8.8/* . sudo rm -rf presto-server-8.8 presto-server-8.8.tar.gz Presto 8.8 is an older release. If the Maven URL is deprecated, check the PrestoDB archives or use Trino (the modern fork). For historical/educational purposes, this is the canonical path. 🗂️ Passo 3: Criar a Estrutura de Diretórios Presto needs separate directories for configuration, data, and logs:
sudo mkdir /etc/presto/catalog sudo nano /etc/presto/catalog/mysql.properties Add: como instalar presto 8.8
coordinator=true node-scheduler.include-coordinator=true http-server.http.port=8080 query.max-memory=3GB query.max-memory-per-node=1GB discovery-server.enabled=true discovery.uri=http://localhost:8080 sudo nano /etc/presto/log.properties Set logging levels:
bin/launcher status View logs:
# Ubuntu/Debian sudo apt update sudo apt install openjdk-11-jdk -y sudo yum install java-11-openjdk -y
tail -f /var/log/presto/server.log Wait for the message: ======== SERVER STARTED ======== Download the Presto CLI client: sudo nano /etc/presto/catalog/tpch
Presto (now officially known as Trino , though the original PrestoSQL 8.8 is a specific legacy release) is a high-performance, distributed SQL query engine designed for querying large datasets across multiple data sources.
