Background Image

DOCUMENTATION

Votes 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

CUBRID Installers for Linux

A .sh Installation Package is available for x64 architecture:

  • CUBRID-<version>-Linux.x86_64.sh

Installation Methods

This tutorial will show how to install CUBRID using .sh Installer.

Software Requirements

Linux OS

  • glibc 2.3.4 or later
  • Check it by typing the following command in the terminal
[cubrid@server1 ~]$ rpm -q glibc
glibc-2.17-292.el7.x86_64

- Note that 2.17 is greater than 2.3.4, which means CUBRID will work fine in this environment.

Download CUBRID for Linux

1. From Internet Browser

a) Visit https://www.cubrid.org/downloads

b) Download the right installer based on your system architecture to your user profile directory (Ex: /home/user)

2. In system console

a) Type

wget URL_LINK

- wget is a powerful download manager for Linux. It might not be installed on your system by default. So if your system asks to install it, confirm and continue.

 

.sh Installation


Begin the Installation

1. Navigate to the directory where the CUBRID Installation Package is located.

2. Type the following command to install CUBRID using the .sh Installer.

sh CUBRID-10.2.0.8797-d56a158-Linux.x86_64.sh

- This command will install CUBRID version 10.2. You should type the name of the file you have downloaded.

- If sudo(the administrative rights) is used to launch the installer, the CUBRID Service should also be started with sudo.

License Agreement

Type "y"

To agree with the CUBRID License Terms, type "y" and press "Enter".

[cubrid@server1 ~]$ sh CUBRID-10.2-latest-Linux.x86_64.shCUBRID Installer Version: 10.2.0.8797-d56a158, Copyright (c) Search Solution Corporation
This is a self-extracting archive.
The archive will be extracted to: /home/cubrid
If you want to stop extracting, please press <ctrl-C>.
Copyright (C) 2008-2017 Search Solution Corporation. All rights reserved.
CUBRID is registered trademark of Search Solution Corporation.
This Software is released under GNU GPL v2, BSD and GPL v3 according to CUBRID components.
For brevity, CUBRID Server Engine is under GPL v2 and CUBRID APIs and Connectors are under BSD License.
For details, please refer to the CUBRID License Page(http://www.cubrid.org/license).
* CUBRID APIs and Connectors under BSD 3-Clause License(http://opensource.org/licenses/BSD-3-Clause)
--------------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
 - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 ……………………
……………………
……………………
Do you accept the license? [yN]: y

 

Destination Directory

Hit "Enter"

The default installation location will be in the “CUBRID-<version>” subdirectory of the current directory. If necessary set the destination directory and hit “Enter”.

By default the CUBRID will be installed in:
  "/home/cubrid/CUBRID-10.2.0.8797-d56a158-Linux.x86_64"
Do you want to include the subdirectory CUBRID-10.2.0.8797-d56a158-Linux.x86_64?
Saying no will install in: "/home/cubrid" [Yn]:

 

Continue the Installation

Hit "Enter"

The following message is displayed to let the user know that in case a user connects to the remote CUBRID Database Server, the release versions should be identical, i.e. CUBRID Broker 10.2 should be used to connect to the remote CUBRID Database Server 10.2.

Using target directory: /home/cubrid/CUBRID-10.2.0.8797-d56a158-Linux.x86_64

Since CUBRID broker and server versions should match, please make sure that you are running the same version if you operate them in separate machines.
Do you want to continue? [Yn] :

 

Installation Completed!

Congratulations!

CUBRID DBMS has successfully been installed.

Unpacking finished successfully
demodb has been successfully created.

If you want to use CUBRID, run the following command to set required environment variables.
(or you can add the command into your current shell profile file to set permanently)
  $ . /home/cubrid/.cubrid.sh

 

Starting CUBRID Service

Type the following two commands to start the CUBRID Service

1.

. /home/cubrid/.cubrid.sh

- There is a space after the first dot and no space before the second dot.

2.

cubrid service start

- You should see the following messages.

@ cubrid master start
++ cubrid master start: success
@ cubrid broker start
++ cubrid broker start: success
@ cubrid manager server start
++ cubrid manager server start: success

Remember to use sudo with cubrid service start if sudo has been used to launch the CUBRID Installer.


  1. No Image 06May
    by soon
    2020/05/06 in Installation

    Installing CUBRID on Linux

  2. Installing CUBRID and CUBRID Admin on Windows

  3. No Image 12May
    by
    2020/05/12 in Interfaces

    CUBRID JDBC Tutorial

  4. No Image 12May
    by
    2020/05/12 in Tools

    CSQL - Command Line SQL Interpreter

  5. CUBRID ODBC Drvier Testing on Windows

  6. No Image 12May
    by
    2020/05/12 in Interfaces

    How to Configure to Log4J to Log Messages to CUBRID Database

  7. Analyzing JDBC Logs with LOG4JDBC

  8. CUBRID HA (High Availability) Starting Guide

  9. CUBRID Log Files

  10. CUBRID Triggers

Board Pagination Prev 1 2 3 4 Next
/ 4

Join the CUBRID Project on