Jump to content
  • Unattended mode installation


    Friendly User
    • Audience: Administrator, Developer Skill: Intermediate

    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[/code]

    The optionfile contents are the following:

    mode=unattendedprefix=/some/prefixpostgres_installation_type=bundledpostgres_password=postgres_binary_directory=/location/of/postgresql/binpostgres_port=5432tomcat_server_directory=/location/of/apache-tomcattomcat_server_port=8080tomcat_server_shutdown_port=9005installer-language=enjasperserver_install_sampledata=0debugtrace=install.logdebuglevel=4[/code]

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