Jump to content
  • Unattended mode installation


    Friendly User
    • Product: JasperReports® Server

    Problem:

    How to install the TIBCO JasperReports® Server through its installer without any user input. The configuration of installation should be defined in a separate file.


    Solution:

    You can use the unattended mode installation in this. While this is not an officially supported nor generally recommended method, you can still do that. The installer has an --optionfile filename.txt flag to point at an option file for selections during the installation. For example:

    ./jasperreports-server-6.2.1-linux-x64-installer.run --optionfile install.txt
    

    The optionfile contents are the following:

    mode=unattended
    prefix=/some/prefix
    postgres_installation_type=bundled
    postgres_password=
    postgres_binary_directory=/location/of/postgresql/bin
    postgres_port=5432
    tomcat_server_directory=/location/of/apache-tomcat
    tomcat_server_port=8080
    tomcat_server_shutdown_port=9005
    installer-language=en
    jasperserver_install_sampledata=0
    debugtrace=install.log
    debuglevel=4

    While this is a viable method, it still is not recommended. Using WAR file package and deployment scripts is the preferred way of automating installation process.


    User Feedback

    Recommended Comments

    Looking at the resulting properties.in in the jasperserver installation directory, there is a key postgres_hostname, this seems to be accepted in the options file.

    Why is using an option file not the preferred way of performing an unattended install? 

    Link to comment
    Share on other sites



    Guest
    This is now closed for further comments

×
×
  • Create New...