Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

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.

To use the script below it’s important you have a thorough understanding of Linux.

 

 

The script will require you to provide a database user and password of your choosing to be used when installing into Postgres.
The script also requires you to point it at a Yellowfin .jar installer which can be found on our website and also a Yellowfin license file.

Download Yellowfin from here: https://portal.yellowfinbi.com/yf_latestbuild.jsp

 

The script will then:
1. Install Default Java

2. Install Postgres

3. Create a Postgres user for Yellowfin to use

4. Generate a Silent Installer file for Yellowfin

5. Install Yellowfin

6. Start Yellowfin

7. Clean up after itself.

 

To get started:

 

  1. Log into your Linux terminal.
  2. 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.
  3. Upload your Yellowfin licence 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.
  4. Copy the below script to your instance and save it as a .sh file using your preferred text editor.
    Make any modifications to the script that you like, for example make sure you point it towards your licence file and 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.
    TIP: Note, there are optional parts in the script, in which the script would go and wget a licence 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.

  5. Make your new .sh file executable in Linux. (chmod +x script.sh)

  6. 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.

  7. 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. If you want Yellowfin to run on a different port, you can change this in the “#Generate Silent Installer” section of the script.

 

 

  • No labels