2.5. RPM Package and Presto Admin#

Users of Linux distribution, which use the RPM Package Manager (RPM) format, such as CentOS or Red Hat Enterprise Linux, can use the rpm package and manage a cluster with Presto Admin.

RPM Package#

  • Download the package of Presto or Starburst Enterprise Presto.

  • Use the rpm or yum command to install the package:

    rpm -i presto-server-rpm-*.rpm
  • Manage the Presto server with the service command:

    service presto [start|stop|restart|status]

The rpm package places the various files used by Presto in accordance to the Linux Filesystem Hierarchy Standard. This differs from the default installation of Presto with the tar.gz, where all folders are in the installation directory. For example, configuration files are by default located in the etc folder within the installation directory. The rpm package installation however uses /etc/presto. More details are available with the rpm package source.

Presto Admin#

Presto Admin is a tool for installing and managing Presto on a cluster. It uses the rpm package and provides easy-to-use commands to:

  • Install and uninstall Presto across your cluster

  • Configure your Presto cluster

  • Start and stop the Presto servers

  • Gather status and log information from your Presto cluster

For a detailed explanation of all of the commands and their options, read on in the comprehensive Presto Admin documentation