Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

CUBRID Web Manager Installation Instructions


Prerequisites

There are two prerequisites to work with CWM:

  1. CUBRID Database
    CUBRID Web Manager works as a server-side plug-in for CUBRID Database Server, therefore it requires CUBRID 8.4.0 or later which has already been installed. Sometimes, a Broker and database server run on different hosts. No matter how, CWM must be installed on the host where the server is installed. 

    Download the latest version of CUBRID Database Server from:

Then follow CUBRID Installation Instructions.

2. Browser

 CWM is a Web-based GUI application. Therefore, it should be used in a Web browser. For your better experience, we strongly recommend to use the latest version of Chrome, Safari, Firefox or Internet Explorer.

If CUBRID engine is 8.4.3 or later 

You do not need to install CUBRID Web Manager (CWM) separately as it is already embedded.

Please Jump to step 3,4,5 as below. 

 

If CUBRID engine is 8.4.0, 8.4.1

If you want use CUBRID inside a virtual machine, you may want to check the following tutorial which automates the installation process and installs CUBRID, CWM and the necessary drivers for you.

Step 1. Download CUBRID Web Manager

If CUBRID engine is 8.4.0 or 8.4.1 version, you have to download and install Web manager additionally.

Step 2. Install CUBRID Web Manager

Installing CWM is very easy. Stop the cubrid service then simply extract the files from the installation package to the same directory where CUBRID is installed, and its done.

  • Make sure CUBRID Database Server is installed in $CUBRID/ home directory.
  • Stop CUBRID Manager Service completely on the server by running cubrid manager stop command.
  • Decompress CWM installation package (unzip on Windows or untar on Linux) to the same folder where CUBRID Server has been installed ($CUBRID/). The CWM installation package includes three folders (bin, conf, share).
    Files and sub-folders in (bin, conf, share) should be copied and overwrite corresponding old folders (/home/CUBRID/bin, /home/CUBRID/conf, /home/CUBRID/share) completely.

Step 3. Configure

For CUBRID 9.1.0 or older:

You can edit text file conf/cm_httpd.conf in order to configure httpd service for Web manager. Note that if any configuration is changed, CUBRID Manager Service must be restarted.

  • Required:
    • On linux, if you login as 'root' user, CM httpd service will require 'root' permission. Therefore, you should change the user permission setting in this file. For instance, change #user nobody; to user root;
  • Optional:
    • The default TCP listening port of CM httpd is 8282 for HTTPS/SSL. It can be changed in this file.

See more optional variables.

For CUBRID 9.2.0 or later:

First, you need edit text file conf/cm.conf to enable CWM: change support_web_manager=NO to support_web_manager=YES. By default, CWM is disabled.

Then, you can edit text file conf/cm_ext.conf in order to configure httpd service for Web manager.

Note that if any configuration is changed, CUBRID Manager Service must be restarted.

  • Required:
    • On linux, if you login as 'root' user, CM httpd service will require 'root' permission. Therefore, you should change the user permission setting in this file. For instance, change #user nobody; to user root;
  • Optional:
    • The default TCP listening port of CM httpd is 8001 for HTTPS/SSL. It can be changed in this file.

See more optional variables.

Step 4. Start CUBRID Web Manager

If you installed and configured Web manger successfully in your server, start CUBRID Manager Service with cubrid manager start command.
Then browse https://cubrid-server-ip:8282 in your Web browser. Notice that HTTPS is used because it listens to SSL port 8282. Now enjoy!

Step 5. How to use Web Manager?

You can learn how to use Web Manager thru its manual. Basically it is similar with other Web tools such as phpMyadmin, SIDU and so on.  See the manaul : http://www.cubrid.org/wiki_tools/entry/cubrid-web-manager-manual

APPENDIX

How to manually stop/start CUBRID Manager HTTPD service?

If you want to stop using Web manager with httpd, you can stop CM httpd service only in prompt. It will never affect other CM server services.

Command to stop httpd:

cub_cmhttpd stop

Command to start httpd:

cub_cmhttpd start
comments powered by Disqus
Page info
viewed 6654 times
translations ko en
Author
posted 2 years ago by
qiancan
Contributors
updated 10 months ago by
View revisions
Share this article