Como Instalar Presto 8.8 Tutorial -

How to Install Presto 8.8 – Complete Step-by-Step Tutorial

Presto is a distributed SQL query engine designed for running fast queries on large datasets. This guide will walk you through installing Presto version 8.8 on a Linux system (Ubuntu/CentOS).

Conclusion

You now have Presto 8.8 running on a single node with TPC-H catalog. From here, you can:

Next steps: Check the official Presto 0.288 documentation for advanced configurations. como instalar presto 8.8 tutorial


Enjoy querying at interactive speed with Presto 8.8!


Linux/Mac

  1. Abra um terminal e navegue até o diretório onde você baixou o arquivo.
  2. Extraia o conteúdo do arquivo:
tar -xvf presto-server-8.8.tar.gz
  1. Isso criará um diretório chamado presto-server-8.8.
  2. Navegue até o diretório:
cd presto-server-8.8
  1. Execute o comando para iniciar o Presto:
bin/launcher
  1. Isso iniciará o Presto e você poderá acessá-lo em http://localhost:8080.

Step 1 – Install Java 11

# Ubuntu/Debian
sudo apt update
sudo apt install openjdk-11-jdk -y

Step 6: Access Presto

You can access Presto using the presto command-line tool or a SQL client like presto-cli: How to Install Presto 8

sudo /opt/presto/bin/presto --server localhost:8080 --user $USER

This will open a Presto SQL shell where you can execute queries.

Conclusion

In this tutorial, we have guided you through the process of installing Presto 0.208 (based on Presto 8.8) on a Linux system. You should now have a working Presto installation and be able to execute SQL queries. Add Hive, MySQL, PostgreSQL, or Kafka connectors Deploy

5.2 JVM Config

Create etc/jvm.config:

-server
-Xmx4G
-XX:+UseG1GC
-XX:G1HeapRegionSize=32M
-XX:+UseGCOverheadLimit
-XX:+ExplicitGCInvokesConcurrent

Step-by-Step Tutorial: Installing Presto 8.8

If you have the installer file (usually named something like Presto_8.8_Setup.exe), follow these steps:

Phase 4: Activation & Post-Install

Entering the License Key:

  • Launch Presto via Presto.exe.
  • Go to Help -> License.
  • Enter your 8.8 key (usually a 20-character alphanumeric string). If the "OK" button is grayed out, you forgot to run as Administrator.

Creating your first Project file (.PRJ):

  1. Click File -> New -> Project.
  2. Choose a template (e.g., "Engineering Standard").
  3. Save As to a user folder like Documents\MyPrestoProjects. Never save inside the C:\Presto88 program folder.