Install on AlmaLinux, Rocky Linux, RHEL, Fedora, CentOS
Tideways can be installed from our RPM repository, which provides up-to-date RPM packages for all versions of the tideways-php, tideways-daemon, tideways-cli and tideways-proxy packages.
To get started you only need the tideways-php and tideways-daemon packages.
The commands below register our RPM repository with signature verification enabled, then install the Tideways daemon and PHP extension.
dnf install -y 'dnf-command(config-manager)'
rpm --import 'https://packages.tideways.com/key.gpg'
cat <<'REPO' > /tmp/tideways.repo
[tideways]
name=tideways
baseurl=https://packages.tideways.com/rpm-packages/$basearch
repo_gpgcheck=1
enabled=1
skip_if_unavailable=1
gpgkey=https://packages.tideways.com/key.gpg
gpgcheck=1
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
pkg_gpgcheck=1
autorefresh=1
type=rpm-md
REPO
dnf config-manager --add-repo '/tmp/tideways.repo'
dnf install -y tideways-php tideways-daemon
Automatic Detection of PHP Installation
The tideways-php package automatically detects PHP installations using known layouts, including default installations with configuration files in /etc/php.d and supported Plesk installations.
For each PHP installation it detects, the package symlinks the matching Tideways extension from /usr/lib/tideways into PHP’s extension directory.
It also copies the default tideways.ini into PHP’s configuration directory if the file is missing.
Custom PHP installations
If you are not using your distribution’s default PHP installation, follow the additional installation instructions printed to the screen.
For PHP installations the package doesn’t detect automatically (for example, PHP installed through Remi’s RPM repository, cPanel’s EasyApache (ea-php), or Plesk), see how to configure Tideways with a custom PHP installation.
Symlink the Tideways extension for your PHP version from /usr/lib/tideways into PHP’s extension directory. Then add the following directive to your PHP configuration.
extension=tideways.so
SELinux
SELinux can prevent tideways-daemon from accessing HTTP data.
If Tideways isn’t reporting data, see SELinux enabled and no data transmitted.
CentOS 7 / Systems without dnf support
For systems without dnf you can also install Tideways using yum by executing:
echo "[tideways]
name = Tideways
baseurl = https://packages.tideways.com/yum-packages-main" > /etc/yum.repos.d/tideways.repo
rpm --import https://packages.tideways.com/key.gpg
yum makecache --disablerepo='*' --enablerepo=tideways
yum install tideways-php tideways-cli tideways-daemon