Installing the server in interactive mode

In interactive mode, you install the server by typing configuration information at the command line.

Before you begin

About this task

The properties that are set during installation are recorded in the server_install/conf/server/installed.properties file on the server.

Procedure

  1. Download and extract the installation files for IBM UrbanCode Build. These files are available for download from the IBM Passport Advantage® website.
  2. If you are using a database other than Apache Derby, place the JAR file for the database in the lib/ext folder of the installation files.
  3. From the command line, run the installer program.
    • On Windows, run the install-server.bat file.
    • On Linux, run ./install-server.sh.
    • To install a FIPS-compliant server, add the -fips switch to the command, such as install-server.sh -fips.
    Depending on your system settings, you might have to run this file as an administrator.
  4. Read the license agreements for the software package. Press Enter to show one page at a time, or press F and then press Enter to show the entire license at once.
  5. If you agree to the terms of all of the license agreements, press Y and then press Enter.
  6. Specify the following information as the installation program prompts you. Accept the default values, which are displayed in brackets, by pressing Enter. If two options are given, such as [Y/n], the uppercase option is the default value.
    Enter the directory where the IBM UrbanCode Build server should be installed.
    Specify the installation directory for the server.
    Note: Do not use any shell expansions or abbreviations, such as the tilde character (~).
    The specified directory does not exist. Do you want to create it?
    Press Y to create the installation directory.
    Please enter the home directory of the JRE/JDK used to run the server.
    Specify the location of the JRE or JDK for the server.
    What host name will users access the web UI at?
    Specify the host name of the computer that hosts the server.
    Do you want the Web UI to always use secure connections using SSL?
    Press Y to use secure connections to the server. If you select this option, you must configure a certificate for the server. See Configuring SSL security on Apache Tomcat.
    Enter the port on which the Web UI should listen for secure HTTPS requests.
    Specify the HTTPS port for the server. The default value is 8443.
    Enter the port on which the Web UI should redirect unsecured HTTP requests.
    Specify the HTTP port for the server. The default value is 8080.
    Enter the port to use for agent communication.
    Specify the port that agents use to contact the server. The default value is 7919.
    Do you want the Server and Agent communication to require mutual authentication?
    If you use mutual authentication, you must manually exchange a key between the server and each agent. For more information about this option, see Configuring mutual authentication.
    Enter the port and hostname of a Rational License Key Server.
    Specify the connection information for the license server. You can specify the port and host name or IP address for the license server, such as 27000@RCLServer.example.com. To avoid problems when a license server is not available, you can specify multiple license servers. In this case, separate each address with colons on Linux and UNIX or semicolons on Windows, as in the following example: 27000@RCLServer.example.com;27000@backupRCLServer.example.com. For more complicated license server scenarios, see http://www-01.ibm.com/support/knowledgecenter/SSSTWP_8.1.4/com.ibm.rational.license.doc/topics/r_specify_lic_servers.html

    You can leave this property blank to start a 60-day evaluation period. After installation, you can configure a Rational License Key Server on the Server Settings page. For information about configuring a Rational License Key Server after installation, see Configuring network settings. The default value is none.

    For more information about licensing, see License management.

    Enter the database type to use.
    Specify the type of database. If you enter derby, the installation program installs a new instance of Apache Derby for the server to use. Depending on the type of database that you specify, new fields are displayed for information about the database. Valid values are derby, mysql, oracle, and sqlserver.
    Important: The Derby database is for evaluation purposes only; do not use the Derby database on a production server.
    If you specify a type other than derby, specify the following database-related parameters:
    Enter the database driver.
    Specify the class name of the database driver.
    Please place the jar file containing the driver for your database inside the lib/ext directory in the IBM UrbanCode Deploy installer.
    Verify that the JAR file for the database driver is in the lib/ext folder of the installation program and then press Enter.
    Enter the database connection string, including hostname, port, and SID.
    Specify the complete connection string for the database, such as the following string:
    jdbc:db2://localhost:50000/ibm_ucb
    Enter the database schema name.
    Specify the name of the database schema to create or use. This field is required on Windows if the user has the database administrator role. This field applies only to Oracle databases.
    Enter the database username.
    Specify the user name for the database. If you are creating the database schema, this user must have permission to create tables in the database.
    Enter the database password.
    Specify the password for the database.
  7. If you are installing on Windows, the installation program prompts you with the following questions after a pause:
    Do you want to install the Server as Windows service?
    Press Y to install the server as a Windows service.
    Enter a unique service name. No spaces allowed.
    Specify a name for the Windows service. The name must be unique on the system and must not contain spaces.
    Enter the user account name including domain path to run the service
    Specify the user account with which to run the service, including the domain path. Prefix local accounts with a period, such as .\localsystem.
    Do you want to start the service automatically?
    Press Y to start the server automatically. Otherwise, you can start and stop the server manually.
    User account password
    Specify the password for the user account.

Results

The installation program installs the server.

What to do next

To start the server, see Accessing IBM UrbanCode Build. The default credentials are: log-on ID admin; password admin.

When you run the server for the first time, you might see an error message that says that no agent is configured. To make this error go away, you must configure an agent. To configure an agent, see Configuring agents.


Feedback