CUBRID Installers for Linux
A .sh Installation Package is available for x64 architecture:
This tutorial will show how to install CUBRID using .sh Installer.
- 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
- 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.
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.
- 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.
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
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
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] :
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
- There is a space after the first dot and no space before the second dot.
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.