Home Forums Kamanja Forums Enhancement Requests & Contributions ease of use: install script asking questions. Support standardized installs

This topic contains 2 replies, has 1 voice, and was last updated by  Greg Makowski 1 year, 3 months ago.

  • Author
    Posts
  • #17700 Reply

    Greg Makowski
    Moderator

    Hello,

    Create an install script, which can either ask questions, saving parameter settings, or read in a parameter file, for later use in standard installs.  This script would abstract out operating system variations.  It should edit and setup config files.  Later, it can become a first part of the Kamanja GUI which a user runs.  While I am not expecting InstallShield, we can certainly learn from it.

     

    $ bash KamanjaInstall.sh

    What directory has the downloaded files (Java, Scala, Zookeeper, Kafka, HBase, Kamanja):

    /Users/gregmakowski/Downloads/

    If not otherwise specified, what do you want to use for a default install directories:

    /usr/local/bin

    Save install configuration file for future use?  <return = no;   filename.txt>:

     

    or

     

    $ bash KamanjaInstall.sh  -k kamanja_install_config.txt

     

     

    • This topic was modified 1 year, 3 months ago by  Greg Makowski.
  • #17701 Reply

    Greg Makowski
    Moderator

    Let Java go to its standard install location.

    The other software could go to the directory in the second question.

  • #17703 Reply

    Greg Makowski
    Moderator

    support default values, which may vary per OS as appropriate.

    I am sure other questions will come up, such as for a multi-server install.

Reply To: ease of use: install script asking questions. Support standardized installs
Your information: