Show TOC

Running the InstallerLocate this document in the navigation structure

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

Procedure

  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, spaces, periods, colons, dashes, and hyphens are allowed.

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

    Note If a line begins with a "#", remove it to enable the parameter.
    Explanation
    -V developerInstall="true" The default is true, which specifies a developer installation, with no options, using the embedded SQL Anywhere database.
    Change to false to enable a production installation, which allows you to set all other parameters, including a custom database.
    Note If you set this property to false, you must also set the productionInstall property to true.
    -V productionInstall="false" The default is false, which specifies a developer installation, with no options, using the embedded SQL Anywhere database.
    Change to true to enable a production installation, which allows you to set all other parameters, including a custom database.
    Note If you set this property to true, you must also set the developerInstall property to false.
    -V sqlaEmbeddedDB="true" The default is true; the default database is SQL Anywhere.

    Set to false to select another database.

    -V existDB="false" The default is false, which disables selecting a database other than SQL Anywhere.

    Set to true to select another database.

    -V existDBType="<database>" The database you installed to use with SAP Mobile Platform:
    • hana
    • ase
    • db2
    • oracle-sid or oracle-svc
    • mssql
    -V dbHostName="<database_host_name>" The name of the host on which you installed the database to use with SAP Mobile Platform.
    -V dbPortNumber="<database_port>" The port number your database uses.
    -V dbLogin="gomobile" The admin user name, either "gomobile" or the new name if you changed it from the default.
    -V dbPassword="secret" The admin password, either "secret" or the new password if you changed it from the default.
    Note For SAP ASE, if the database is set up without a password (with blank password), leave this property commented.
    -V dbDBName="smp3" The database name, either "smp3" or the new name if you changed it from the default.
    Note For an Oracle database, dbDBName is either the service name or the SID, depending on how you access Oracle.
    -V ignorePingError="false" The default value "false" stops the installer if it cannot successfully ping your database using the specified values. SAP recommends that you keep the default value.
    Caution If this option is true and the database ping fails, the installation completes, but the server will not start.
    -V jdbcDriver="<jdbc_path>" (Microsoft SQL Server or Oracle) The path to the JDBC driver that corresponds to the value of existDBType:
    • For mssql, set to the location of the Microsoft SQL Server JDBC driver.
    • For oracle-sid or oracle-svc, set to the location of the Oracle JDBC driver, either ojdbc6.jar or ojdbc6_g.jar.
    Note To change the installation directory, uncomment the line below and replace <Home directory> with a valid path to the installation directory:
    #-P installLocation="<Home directory>/SAP/MobilePlatform3"
    The total length of the path must be 38 characters or less. If you uncomment this line without changing <Home directory>, the installation fails.
  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 installer image.

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