Installing InterBase

From InterBase
Jump to: navigation, search

Installation and Registration

You can install InterBase after downloading it from the web, or by using the InterBase XE7 installer (installing from a CD or DVD).

The InterBase XE7 Update 4 installer installs InterBase on Windows, and Mac OSX. As part of this installation, you have the opportunity to register the product. XE7 Update 4 must be registered before you can start the server; though there is a way to use it without registering during the grace period (read below). If the server is started without entering any licensing information an error message with the registration key is logged in interbase.log. This registration code along with your serial number may then be used to register your software on any computer by going to http://reg.embarcadero.com.

Installing and registering the product provides a base level of functionality; the exact level of functionality depends on whether you are installing the Desktop Edition, ToGo Edition, or the Server Edition. It is important to note that the Desktop and ToGo editions are only available for the Windows operating systems.

To add more users, more processors, or strong encryption, you need to purchase additional appropriate licenses from the Embarcadero shop site or from your sales representative. The license key and registration are explained in the "Licensing" chapter of the Operations Guide. You will find this and the other InterBase books in the <interbase_home>/doc directory. See Licensing users, processors, and strong encryption below for more details.

NOTE:For older InterBase version users - InterBase XE7 licenses are not compatible with earlier InterBase version licenses. InterBase XE7 Update 4 requires a new license purchase.

Downloading and Installing

The following instructions guide you through the process of downloading, installing, and registering InterBase XE7 Update 4.

  • Download InterBase XE7 Update 4 to your local computer or server.
  • Extract the .zip file to a new directory.
  • Run the install_windows.exe.
  • Follow the instructions below for Registration.
  • Start InterBase and your product is activated.
NOTE about the InterBase ToGo and IBLite Editions: For information on how to install the ToGo or IBLite Editions, click here to open the InterBase ToGo and IBLite Quick Start.

Using the Installer

The following instructions guide you through the process of installing and registering InterBase using the cross-platform installer. You are encouraged to use this installer when possible. A console (command-line) installer is available for Linux users who have environments that are not compatible with a GUI installer. However, to use the command-line installer on a Solaris or Linux computer, you must also have a copy of X-Windows installed. See Command-line installation for instructions on how to run the installation from a console window.

  1. Preparing to install:
  • If you are installing InterBase XE7 Update 4 on a machine for the first time, you need to register the product as part of the installation. This applies to upgrades from previous versions, as well as completely new installations. To prepare for the registration phase of the install, be sure you have the following available:
    • The Serial Number that is provided to you in an email sent after downloading the trial version of the product or when you have purchased the product.
    • Your Embarcadero Developer Network user name and password. If you have registered an Embarcadero product before, you are a member of the Embarcadero Developer Network and have a user name and password. You may be a member of the Network if you joined it online even if you have never previously registered an Embarcadero product. If you are not a member of DN, you will have an opportunity to join during the registration phase of your installation.
  • If you are upgrading from a previous version, you should also perform the following actions:
    • Before un-installing a previous InterBase version, back up any existing databases using your existing version of InterBase. InterBase XE7 Update 4 uses an on-disk structure, ODS 15.0. This is required to accommodate new system tables, and changes to existing system tables. Databases created with earlier versions of InterBase are not automatically upgraded to ODS 15.0 when an InterBase XE7 Update 4 server attaches to these databases. To migrate these databases to the new ODS, backup these databases with the older version of InterBase and restore them using InterBase XE7 Update 4 IBConsole or gbak.
    • It is highly recommended that you upgrade to the latest ODS. ODS Versions 10, 11, and 12 are still enabled but are not supported. Versions 13 and 15 are certified and supported.
    • Make a backup copy of your security database (admin.ib by default).
    • Make a backup copy of your ibconfig file.
    • Stop the InterBase server and un-install InterBase.
    • As with any installation, Embarcadero strongly recommends that you stop all running applications, including your virus checker.
    • Linux users must log in as root to install. Windows and Mac OSX users must be logged in as a user with Administrative privileges.
  1. Run the install program:
    • On Windows platforms, run install_windows.exe.
    • On Linux platforms, run install_linux.sh;
    • On Mac OSX platform, run install_mac_osx.sh.
  1. When you first run the install program, the opening panel displays the following options:
  2. Button What it Does
    Install InterBase XE7 Installs the main InterBase XE7 Update 4 product.
    InterBase XE7 on the Web Connects you to http://www.embarcadero.com/interbase.
    InterBase Setup Information Displays this file. InterBase strongly recommends that you review this over before proceeding with the installation
    Exit Exits Installation.
  1. Select Install InterBase XE7 .
  2. Select Interbase XE7, click Install, and follow the prompts to accept the license agreement.
  3. In the next panel, choose Architecture 32 or 64. Also select if you want to uniquely identify the instance. The default setting is "No".
    NOTE: The architecture option only applies to the English installer on Windows.
  4. In the Select Components panel, choose "Server and Client," "Client Only," or "Register."
  5. The next panel, Destination Location, shows the default location. You can change the location if desired.
  6. In the Start Installation panel, click Next and the installation starts.
  7. Once the installer completes the product installation, the Product Registration dialog displays.
    • If you have your Serial Number and Embarcadero Developer Network membership information available, you should perform the registration at this time.
    • If you do not have a DN membership, you will have the opportunity to create one during the registration. If you cannot register at this time, choose Cancel. When you are ready to register, run the InterBase installer again and choose Register from the Install Set panel, or invoke the License Manager tool upon start-up.
    • Please note that if you are unable to register at this time, at least make sure that you Add the Serial Number you have received using the License Manager tool; this allows InterBase to function with default licensing parameters, for a grace period of 14 days before registration becomes mandatory.
    • On Linux , if you wish to register from a shell command line, please execute the command:
    <interbase_home>/bin/LicenseManagerLauncher -i Console
  1. In the Registration panel, enter the Serial Number and Key from the email you received from Embarcadero.
  2. InterBase XE7 Update 4 includes a registration grace period of 14 days if you add a valid serial number after installing the product, but do not choose to register at that time. If you use the License Manager utility to add your serial number, be sure to choose the File > Save command afterward or the grace period will not be in effect.

Registration

  1. Enter your Embarcadero Developer Network account credentials in the Login or Email and Password fields. If you have not previously created an EDN account, or have forgotten your password, click I need to create... or I've lost my password.
  2. Click Register and your activation file should be downloaded and installed automatically. If this does not happen, click the Trouble Connecting? link in the Product Registration dialog.
Click [Registration] to view frequently asked questions about registering your InterBase XE7 Update 4 product.

Install Drivers

Return to the opening panel if it is still displayed and choose the connectivity drivers that you want to install. Otherwise, run the InterBase installer again and choose the "Install InterBase Connectivity Drivers" button. Choose a driver to install and follow the prompts. Note that the JDBC driver is automatically installed, so it is not displayed as a driver choice.

The InterBase installer provides the following drivers:

ADO.NET driver for InterBase
InterBase ODBC Driver

Return to top of page

Using the Wise Installer to Embed InterBase

InterBase XE7 Update 4 includes a Windows/English-only installer to help make embedding InterBase easy. The installer is located in the: Disk1\InstData\Windows\VM directory of the CD and is named, "ib_install.exe".

Command line options for ib_install.exe:

  • /S (run installer in silent mode)
  • /M=<filename> (this file contains custom settings for your installation)

You can define custom parameter values (say values.txt):

MAINDIR - The location of the InterBase Root Directory
TCP_PORT - default is 3050
INSTANCE - default is gds_db
COMPONENTS - This is a comma separated list of the Components that will be installed.
ARCH - Choose InterBase architecture (32 or 64)

For example, if the following values are saved in a file named values.txt, and you execute the command: ib_install.exe /s /m=values.txt, you will launch the silent installer with the settings from this file. If the values file is not found, the Silent Install will assume the default values as detailed above.

You can also provide custom values via such files to the GUI installer by executing ib_install.exe without the /s flag.

NOTE: To include a license activation file (*.slip) with your installation, save the activation file into the directory where the ib_install.exe file is located.

Installing on Japanese Versions

Using the Java Installer for Japanese Windows installations.

Property Files

The installer is named ib_install.exe on Windows platforms. Using a property file that contains the variables for a specific install can customize the installer. Property files should be placed in the same directory as the installer. Sample property files are available under the extras directory of the InterBase CD.

Calling the Installer with a Property File

Windows example (Japanese installation only):

ib_install.exe -f ib_install.properties

Installer_UI

The mode that InstallAnywhere-based installer should run in:

  • GUI
  • Silent
  • Console (UNIX platforms only)

Example:

INSTALLER_UI=silent

CHOSEN_INSTALL_SET

The Install set that wish to use:

  • Server (Server and Client)
  • Client (Client Only)
  • Register (can only used in GUI mode)

Example: The location of the slip file that you will be using for InterBase.

Example:

SLIP_FILENAME=C:\\slipdir\\myslipfile.slip

USER_INSTALL_DIR

This is the install location for InterBase. The default is C:\\Embarcadero\\InterBase

MULTI_INSTANCE

Set to No by Default. If you want to take advantage of the InterBase XE7 Update 4 Multi-Instance feature, set MULTI_INSTANCE=Yes. It is important to set the LABEL and PORT variables to something other than the default to not interfere with other version of InterBase running on the system.

SERVER_TCP_PORT

Default is 3050. This only needs to be set if MULTI_INSTANCE is set to Yes. Please choose a Port number that will not interfere with other programs on the server machine.

INSTANCE_NAME

Default is gds_db. This only needs to be set if MULTI_INSTANCE is set to Yes.

Finishing Up

This completes your InterBase installation and registration. You now need to install any licenses that you have purchased for users, processors, and Internet use. Please see Licensing Users and Processors for information on licensing.

Command-Line Installation

If your Linux environment does not support the GUI installer, you can use the following steps to perform a console installation.

Use the InstallAnywhere-based installer. The InstallAnywhere-based installer requires X Window System libraries to be available. If they are not available, you will get the error "Installer User Interface Mode not Supported".

In addition, InterBase XE7 has a 14-day grace period for registration, but this feature requires a GUI and is not available to Linux and Solaris installations that do not have a GUI.

Installing InterBase

  1. If an InterBase server is running, shut it down and uninstall any previous versions of InterBase.
  2. On your InterBase CD-ROM, go to the directory for your platform (Linux) and run ib_install.bin with the -i flag.
ib_install.bin -i Console
Follow the prompts.
  1. When installation is complete, you must register InterBase in order to start the server.
  • On Linux, if you wish to register from a shell command line, please execute the command:
<interbase_home>/bin/LicenseManagerLauncher -i Console
For some platform-specific issues related to installation, please see the section below:

Licensing Users, Processors, and Strong Encryption

For more information about InterBase options, please visit the Embarcadero InterBase Portal. The Licensing chapter in the Operations Guide PDF manual covers this topic in more detail. You can purchase licenses to enable additional simultaneous users and additional processors through the Embarcadero web site or through your sales representative.

You will have the following basic functionality after you register:

  • Desktop, ToGo and IBLite Edition(s): Permits local connections only (same machine), enables eight cores/processors and eight simultaneous connections.
  • Strong encryption is now enabled by default on Server, Desktop, and ToGo Edition production SKUs. Note that strong encryption is not enabled on the IBLite edition.
  • Server Edition: Enables eight CPU cores/processors and one user (4 connections).

Linux

InterBase XE7 Update 4 Support for Linux 32-bit

InterBase supports Linux 32-bit.

InterBase XE7 Update 4 Multi-Instance Install Setup

In a Multi-Instance install the /usr/interbase symbolic link is not automatically created. Set the INTERBASE and LD_LIBRARY_PATH environment variables to use that particular instance of InterBase. This does not apply to "single" instance installations.

Saving Customization Files

If you are planning to install the InterBase XE7 Update 4 software over an older version installed on the server machine, and you want to preserve the customization files, copy them to a safe place, for example:

gbak -b /usr/interbase/admin.ib /tmp/admin.ibk
cp /usr/interbase/ib_license.dat /tmp
cp /usr/interbase/ibconfig /tmp

You can skip this step if you haven't customized these files in a previous installation.

Running InterBase as a Service

To run InterBase as a service, run:

/usr/interbase/examples/ibservice.sh -s[tart]

When you choose to run InterBase as a service, the InterBase server starts automatically whenever the machine is running in a multi-user mode.

To remove InterBase as a service, run:

/usr/interbase/examples/ibservice.sh -r[emove]

You must then start the InterBase server manually whenever you need it.

Mac OSX

InterBase XE7 Update 4 Mac OSX Multi-Instance Install Setup

In a multi-instance install the /usr/interbase symbolic link is not automatically created to your install location. Set the INTERBASE and DYLD_LIBRARY_PATH environment variables to use that particular instance of InterBase. This does not apply to "single" instance installations.

Running InterBase as a Service

When you install the product, InterBase is setup automatically to run as a service. You will notice that the /Library/StartupItems/ folder on your machine has an entry to run the InterBase server whenever the system boots up.