Step Two - Files
Next, we move onto downloading the files needed to run Jexpanel.
Create application directory
Before we download the necessary files, we need somewhere for them to live. You can change jexactyl to whatever you like,
but you'll need to remember to modify that through the rest of the documentation.
mkdir /var/www/jexactyl # Make the directory
cd /var/www/jexactyl # Navigate to the directory
Download application files
Now we're ready to download, extract and permit the files used to run the application.
# Download file archive from GitHub
curl -Lo panel.tar.gz https://github.com/Jexactyl/Jexactyl/archive/refs/tags/v4.0.0-rc3.tar.gz
# Extract the archive
tar -xzvf panel.tar.gz
Set File Permissions
After downloading Jexpanel's files, we need to set the proper permissions so the webserver can access the files.
# Give certain folders higher permissions for access
chmod -R 755 storage/* bootstrap/cache/
# Give ownership of the panel's files to the www-data (webserver) user
chown -R www-data:www-data /var/www/jexactyl/*