Page History
This guide will allow users to automate Yellowfin deployment on a Linux operating system using a bash script.
Deployment Bash Script
Below is an example of a headless bash script that can be used or modified to very quickly get Yellowfin and its dependencies installed on a Ubuntu (or other Linux) operating system.
Note |
---|
To use the script below it’s important you have a thorough understanding of Linux. |
Deployment Bash Script
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
- To get started, log into your Linux terminal.
- Upload the Yellowfin .jar installer to the machine and rename it. It should be located here: /tmp/yellowfin.jar. This can be done using SCP or any other method of transfer you like.
- Upload your Yellowfin license to the machine and rename it. It should be located here: /tmp/licence.lic
This can be done with SCP or any other method of transfer you like. Copy the below script to your instance and save it as a .sh file using your preferred text editor.
Tip Make any modifications to the script that you like, for example make sure you point it towards your license file and the Yellowfin installer file, if you have not placed them in the same location. You can also change where Yellowfin will install to inside the “#Generate Silent Installer” section of the script.
Note there are optional parts in the script, in which the script would go and wget a license and installer file from the location you choose. Uncomment this section if you wish to use it. IMPORTANT – you will need to direct the script to the correct location for these files by changing the value of the wget.
- Make your new .sh file executable in Linux. (chmod +x script.sh)
Execute the script. (./script.sh)
Note You may need to run the script as root, depending on your permission level. If you install it at root, you will likely need to start Yellowfin as root too.
By default, this script is configured to install Yellowfin to “/opt/yellowfin”. To start Yellowfin, navigate to “/opt/yellowfin/appserver/bin” and run “./startup.sh”.
Note If you ran the installer script as root, you may need to run ./startup.sh as root.
You should now have a working Yellowfin install available on port 80.
Tip If you want Yellowfin to run on a different port, you can change this in the “#Generate Silent Installer” section of the script.
...