I'm using cPanel with flarum.
First create the domain or subdomain. Then via ssh navigate to /home/youruser/public_html/ or /home/youruser/your.domain/ then install composer and flarum by following the instructions.
Some of the commands I ran from cpanel web root for my forum:
yum install composer
composer
composer create-project flarum/flarum . --stability=beta