Running the Installer

Edit the SilentInstall_Linux.txt file to set installation options, then run the installation script.

  1. Open a terminal window.
  2. Go to the root directory of your installer image.
  3. Use a text editor to open the SilentInstall_Linux.txt file.
  4. Make changes as needed to customize installation options. There are three changes you must make:
    • Change AgreeToSAPLicense from false to true in the line below, to indicate your acceptance of the end user license agreement:
      -V AgreeToSAPLicense="false"
    • Uncomment AdminPassword in the line below, and assign a non-null value:
      #-V AdminPassword=""
    • Uncomment keyStorePassword in the line below, and assign a non-null value:
      #-V KeystorePassword=""
    Note: For both the admin password and the keystore password, only alphabetic and numeric characters, space, period, colon, dash, and hyphen are allowed. The following characters are not allowed: ! ? , ; " ' ` + * ^ / \ | = ~ < > @ # $ % & ( ) [ ] { }

    If you have installed a custom database and you want to install SAP Mobile Platform to work with it, you must set the parameters as indicated in the table below. Other parameters you can change are documented in comments in the SilentInstall_Linux.txt file.

    Parameter Explanation
    -V developerInstall="false"

    The default setting is true, which specifies a developer installation, with no options, using the Derby database.

    Change to false to enable a production installation, which allows you to set all other parameters, including a custom database.
    Note: Whenever you change the developerInstall setting, you must change the productionInstall to be the opposite.
    -V productionInstall="true"

    The default setting is false, which specifies a developer installation, with no options, using the Derby database.

    Change to true to enable a production installation, which allows you to set all other parameters, including a custom database.
    Note: Whenever you change the productionInstall setting, you must change the developerInstall to be the opposite.
    -V derbyDB="false"

    The default setting is true, which specifies the default Derby database.

    Change to false to enable selection of another database.

    -V existDB="true"

    The default setting is false, which disables selection of a database other than Derby.

    Change to true to enable selection of another database.

    -V existDBType="<database_choice>"

    Delete the "#" at the start of the line to enable the parameter.

    Set the value to select the database you have installed to use with SAP Mobile Platform:
    • ase
    • db2
    • oracle-sid or oracle-svc
    -V dbHostName="<database_host_name>"

    Delete the "#" at the start of the line to enable the parameter.

    Set the value to the name of the host on which you have installed the database to use with SAP Mobile Platform:

    -V dbPortNumber="<database_port>"

    Delete the "#" at the start of the line to enable the parameter.

    Set the value to the port number your database uses.

    -V dbLogin="gomobile"

    Delete the "#" at the start of the line to enable the parameter.

    Set the value to gomobile, or the new user name if you changed it from the default. This value was set for the administrator's ID for the SAP Mobile Platform database by the scripts that you ran.

    -V dbPassword="secret"

    Delete the "#" at the start of the line to enable the parameter.

    Set the value to secret, or the new user password if you changed it from the default. This value was set for the administrator's password for the SAP Mobile Platform database by the scripts that you ran.

    -V dbDBName="smp3"

    Delete the "#" at the start of the line to enable the parameter.

    Set the value to smp3, or the new database name, if you changed it from the default. This value was set for the SAP Mobile Platform database name by the scripts that you ran.

    Note: If you are using Oracle, dbDBName is either the service name or the SID, depending on how you access Oracle.
    -V ignorePingError="false"

    Delete the "#" at the start of the line to enable the parameter.

    Warning!  Leave the value as false (recommended) to stop the installer if it cannot successfully ping your database, using the values that you have specified. If this option is true and the database ping fails, the installation completes, but the server will not start.
    -V oracleJdbcDriver="<jdbc_path>"

    (Oracle only) Delete the "#" at the start of the line to enable the parameter.

    Set the value to the path to your Oracle JDBC driver, ojdbc6.jar or ojdbc6_g.jar.

    Note: If you wish to change the installation directory, uncomment the line below and replace "{User home directory}" with a valid path to the desired installation directory:
    #-P installLocation="{User home directory}/SAP/MobilePlatform3"
    If you uncomment this line without changing "{User home directory}" the installation will fail.
  5. Save and close the SilentInstall_Linux.txt file.
  6. Launch the installer:
    sh SilentInstall_Linux.sh
    Note: The installer displays an Initializing wizard... message while it verifies the integrity of the installation image.

    The installer then displays progress messages as it completes each step of the installation. Watch for this message when the installer completes:

    Installation Successful