copy code snippet and create a file anywhere in your server:
cd ~
mkdir scripts
cd scripts
touch install-app-dependencies
chmod +x install-app-dependencies
paste the copied codes in the ~/scripts/install-app-dependencies
, then save.
Do take note to update your Redis Password as well in above script before run it.
Run the script to install all dependencies.