https://www.phoronix-test-suite.com/?k=downloads
php-cli
php-xml
php-json
./phoronix-test-suite/install-sh
Packages will need to be downloaded during the first run. If these fail, it is possible to download packages using
wget
and downloading the files to/var/lib/phoronix-test-suite/download-cache
NOTE:download-cache
directory may need to be created.
By default, the built in result viewer will spawn a webserver at http://localhost:[RANDOMPORT]
. A static port can be specified in the config file and you can also set it to bind on the external IP, not just localhost access.
In order to make these changes in Linux, you will need to edit the /etc/phoronix-test-suite.xml
file.
In order to make these changes in Windows, you will need to edit the C:\Users\<USER>\.phoronix-test-suite
file
The section you will need to change is <ResultViewer>
In this section, set <WebPort>
from RANDOM
to whatever port number you desire.
Then change <LimitAccessToLocalHost>
from TRUE
to FALSE
so that the webserver can be accessed remotely
Save and exit the file, now run phoronix-test-suite start-result-viewer
and access the page at http://[HOST]:[PORT]
Firewall may need to be opened in order to access the pages remotely.
Download Ubuntu ISO here
Boot to ISO (may need to create a bootable USB)
Download PTS
wget https://phoronix-test-suite.com/releases/phoronix-test-suite-10.8.3.tar.gz
Extract and decompress the file:
tar -xzvf phoronix-test-suite-10.8.3.tar.gz
Move in to the PTS directory (install script needs to be run from here):
cd phoronix-test-suite
Run the install script as an elevated user:
sudo ./install-sh
Some dependencies will need to be installed, so update apt and upgrade packages
sudo apt update && sudo apt upgrade -y
These dependencies are usually 'php-cli' and 'php-xml' (on Red-Hat-like distros 'php-json' was also required)
sudo apt install php-cli php-xml
Run the benchmark suite as required, in this example we will run the memory benchmark.
phoronix-test-suite benchmark memory
#! /bin/bash
### Script to update Ubuntu Live OS, install PTS dependancies, download and install PTS
sudo apt update && sudo apt upgrade -y
sudo apt install php-cli php-xml -y
wget https://phoronix-test-suite.com/releases/phoronix-test-suite-10.8.3.tar.gz
tar -xzvf phoronix-test-suite-10.8.3.tar.gz
(cd phoronix-test-suite && sudo ./install-sh)