RPM package and PrestoSQL Admin#
Users of Linux distributions that 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 PrestoSQL Admin.
RPM package#
Use the
rpm
oryum
command to install the package:rpm -i presto-server-rpm-*.rpm
Manage the PrestoSQL server with the
service
command:service presto [start|stop|restart|status]
The rpm package places the various files used by PrestoSQL in accordance to the
Linux Filesystem Hierarchy Standard. This differs from the default installation
of PrestoSQL 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.
PrestoSQL Admin#
PrestoSQL Admin is a tool for installing and managing PrestoSQL on a cluster. It uses the rpm package and provides easy-to-use commands to:
Install and uninstall PrestoSQL across your cluster
Configure your PrestoSQL cluster
Start and stop the PrestoSQL servers
Gather status and log information from your PrestoSQL cluster
For a detailed explanation of all of the commands and their options, read on in the comprehensive PrestoSQL Admin documentation