### Example ionCube Loader Output Source: https://xcloud.host/docs/how-to-install-ioncube-loader-using-ssh This is an example of the output you should see when running 'php -v' after successfully installing ionCube Loader. ```text with the ionCube PHP Loader v13.0.3, Copyright (c) 2002-2023, by ionCube Ltd. ``` -------------------------------- ### Run Laravel Deployment Scripts Source: https://xcloud.host/docs/how-to-set-up-laravel-on-digitalocean-server Specify commands to execute after site deployment, such as installing dependencies and running database migrations. This example shows how to set the PHP version, run Composer, and execute Laravel's `migrate` and `optimize:clear` commands. ```bash php8.1 $(which composer) install --no-interaction --prefer-dist --optimize-autoloader --no-dev ``` ```bash php8.1 artisan migrate --force ``` ```bash php8.1 artisan optimize:clear ``` -------------------------------- ### Example Update Commands Source: https://xcloud.host/docs/update-uptime-kuma-using-xcloud-command-runner An example demonstrating how to run the update commands with specific domain and PM2 process names. Ensure you replace placeholders with your actual values. ```bash cd /var/www/demodomain.com git pull origin master export NODE_OPTIONS=”–max-old-space-size=4096″ npm install npm run build pm2 restart uptime-kuma-demodomain.com pm2 save ``` -------------------------------- ### Install Laravel Horizon Source: https://xcloud.host/docs/set-up-laravel-horizon Run these commands to install the Laravel Horizon package. Commit the changes to your git repository. ```bash composer require laravel/horizon ``` ```bash php artisan horizon:install ``` -------------------------------- ### Check FFmpeg Installation Path Source: https://xcloud.host/docs/how-to-set-up-ffmpeg-in-your-server Use this command to find the installation path of FFmpeg if it is installed on your server. This helps confirm its presence and location. ```bash which ffmpeg ``` -------------------------------- ### Root User and Sudo Password Example Source: https://xcloud.host/docs/accessing-all-site-files-via-sftp-with-root-user-in-xcloud This is an example of the root user credentials and sudo password typically found in the welcome email for your xCloud server. Keep this information secure as it is essential for SSH and SFTP access. ```text User: root Sudo Password: CSehTu5E1ab9ZXRn... ``` -------------------------------- ### Check FFmpeg Version Source: https://xcloud.host/docs/how-to-set-up-ffmpeg-in-your-server Run this command to display the installed FFmpeg version. If the command is not recognized, FFmpeg is likely not installed. ```bash ffmpeg -version ``` -------------------------------- ### Update Package List on Ubuntu/Debian Source: https://xcloud.host/docs/how-to-set-up-ffmpeg-in-your-server Before installing FFmpeg on Ubuntu or Debian, update your package list to ensure you get the latest available versions. This command requires root or sudo privileges. ```bash apt update ``` -------------------------------- ### Install FFmpeg on Ubuntu/Debian Source: https://xcloud.host/docs/how-to-set-up-ffmpeg-in-your-server Install FFmpeg on servers running Ubuntu or Debian using the apt package manager. The '-y' flag automatically confirms the installation. This command requires root or sudo privileges. ```bash apt install ffmpeg -y ``` -------------------------------- ### Create phpinfo.php File Source: https://xcloud.host/docs/how-to-install-ioncube-loader-using-ssh Create a phpinfo.php file in your website's public root directory to verify ionCube Loader installation via a web browser. ```php ``` -------------------------------- ### Connect to Server via SSH Source: https://xcloud.host/docs/how-to-install-ioncube-loader-using-ssh Use this command to establish an SSH connection to your server. Replace 'username' and 'your_server_ip' with your actual credentials. ```bash ssh username@your_server_ip ```