Skip to content

Altibase Client Installation#

Starting from Altibase 5.5.1#

OS#

  • Linux
  • HP-UX
  • AIX
  • Solaris

Download Altibase Client Installation File#

Upload Altibase Client Installation File#

  • Upload the installation file to the server where you want to install the Altibase client.
  • As the OS user, you want to install and upload the installation package to a random path.

Change Altibase installation file execution permission#

  • Altibase client installation files have only read and write permissions as default permissions.
  • Execute permission is required to proceed with the installation.
  • Add the execution permission as follows.

    How to change execution permission

    $ chmod +x altibase-HDB-client-6.3.1.3.1-LINUX-X86-64bit-release.run
    
  • After changing the permission, check that the rwxrwx-rx execution permission has been added as shown below.

    How to change execution permission

    $ ls -l altibase-HDB-client-6.3.1.3.1-LINUX-X86-64bit-release.run
    -rwxrwxr-x 1 heejung.lee heejung.lee 20535639 2014-11-28 15:49 altibase-HDB-client-6.3.1.3.1-LINUX-X86-64bit-release.run
    

Start Installation#

  • Execute the installation file as shown below.

    How to execute installation file

    $ ./altibase-HDB-client-6.3.1.3.1-LINUX-X86-64bit-release.run
    
  • Example of the installation process

    $ ./altibase-HDB-client-6.3.1.3.1-LINUX-X86-64bit-release.run 
    ----------------------------------------------------------------------------
    Welcome to the ALTIBASE HDB Client 6.3.1.3.1 setup wizard.
    
    ----------------------------------------------------------------------------
    Installation Directory
    
    Please specify the installation directory for ALTIBASE HDB Client 6.3.1.3.1
    
    Installation directory [/data/heejung.lee/altibase_home]:    # Enter the directory to install as an absolute path.        
    
    Please select the installation type.
    
    Installation type
    
    [1] Patch: patch package install
    [2] Full installation: full package install
    Please choose an option [1] :                                 # Enter after entering 2 times
    
    ----------------------------------------------------------------------------
    ALTIBASE HDB Property setting
    
    ALTIBASE HDB connection port number (1024-65535)  [20300]:    # Enter the service port of the Altibase server. If it is the default, type enter.
    
    ----------------------------------------------------------------------------
    Setup is now ready to install ALTIBASE HDB Client 6.3.1.3.1.
    
    Do you want to continue? [Y/n]:                               # Press Enter to start the installation.
    
    ----------------------------------------------------------------------------
    Please wait until the setup wizard finishes installing ALTIBASE HDB Client 
    6.3.1.3.1.
    
     Installing
     0% ______________ 50% ______________ 100%
     ########################################Info: 
    The following ALTIBASE HDB environment variables were added.
    
    -- ALTIBASE_HOME=/data/heejung.lee/altibase_home
    -- ALTIBASE_PORT_NO=20300
    -- PATH
    -- LD_LIBRARY_PATH
    -- CLASSPATH
    
    =========================
    Please perform [re-login] 
    or [source .bash_profile] 
    or [. .bash_profile]
    ==========================
    Press [Enter] to continue :
    #
    ----------------------------------------------------------------------------
    Setup has finished installing the ALTIBASE HDB Client 6.3.1.3.1 on your client.
    $                                                              # Installation ended.
    

Check OS user initialization file#

  • If the above process is successful, the following contents are included in the OS user's configuration file.

    Example of Bash shell

    $ cat ~/.bash_profile
    
    $ ALTIBASE_ENV
    export ALTIBASE_HOME=/data/heejung.lee/altibase_home
    export ALTIBASE_PORT_NO=20300
    export PATH=${ALTIBASE_HOME}/bin:${PATH}
    export LD_LIBRARY_PATH=${ALTIBASE_HOME}/lib:${LD_LIBRARY_PATH}
    export CLASSPATH=${ALTIBASE_HOME}/lib/Altibase.jar:${CLASSPATH}
    
  • The name of the OS user initialization file is different for each SHELL.
    .profile for Bourne shell (sh), Korn shell (ksh)
    .bash_profile or .profile for the bash shell (bash)
    .login or .cshrc for C shell (csh)

Apply OS user initialization file#

  • To apply the environment variables added to the initialization file, proceed as follows.

    $ . ~/.bash_profile
    

    Or

    $ . ~/.profile
    
  • Check the value of the environment variable to see if it applies.

    $ echo $ALTIBASE_HOME
    /data/heejung.lee/altibase_home
    

Installation verification#

  • Altibase server connection test is performed by using iSQL

    isql -u DBusername -p password -s IP -port serviceport
    
  • Example

    $ isql -u sys -p manager -s 192.168.1.145 -port 20300
    -----------------------------------------------------------------
         Altibase Client Query utility.
         Release Version 6.3.1.3.1
         Copyright 2000, ALTIBASE Corporation or its subsidiaries.
         All Rights Reserved.
    -----------------------------------------------------------------
    ISQL_CONNECTION = TCP, SERVER = 192.168.1.145, PORT_NO = 20300
    iSQL> 
    iSQL> SELECT PRODUCT_VERSION FROM V$VERSION;
    PRODUCT_VERSION                               
    ----------------------------------------------
    6.3.1.3.8                                     
    1 row selected.
    iSQL>