Skip to content

bigpel66/cubrid-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Makefile of the Cubrid on Dockerfile

To Make Image of Cubrid

If you are not using Apple Silicon Chipset, remove the --platform option on the build rule. Basically, Apple Silicon build the image with ARM64 Architecture, so Dynamic Library might not be executed. The --platform option on build makes the image to be built with x86_64 Architecture which can execute the Dynamic Library for Cubrid.

make build


To Create the Container of Cubrid

If you are not using Apple Silicon Chipset, remove the --platform option on the create rule. Basically, Apple Silicon create the container with ARM64 Architecture, so x86_64 image cannot be used. The --platform option on create makes the container to be created with x86_64 Architecture which is based on x86_64 image.

make create


To Do the Both Works with a Command

make run


To Delete the Container of Cubrid

make rmf


To Delete the Image of Cubrid

make clean


To Do the Both Works with a Command

make fclean


To Re-Make the Container

make re


To Flush the Cache of the Image

Must type y to prune the cache.

make prune


To Attach the Existing Container

Attaching container can be done when you get out of the container with detach status by Ctrl + p, q.

make attach


2. How to Initialize after Creating Container

. run.sh

(A blank between dot and run.sh should be existed! If not, the setting values will be applied on the subshell.)


3. Using Service on Cubrid

1) Start

cubrid service start


2) Stop

cubrid service stop


3) Status

cubrid service status


4. Using Manager of Cubrid

1) Install DMG File on the Cubrid Website

https://www.cubrid.com/downloads


2) Install JDK with Recommended Version

brew tap adoptopenjdk/openjdk

brew install --cask adoptopenjdk8


3) Export the JDK Path on the .*_rc File

Open the shell setting file, and add the following commands.

export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home

export PATH=$PATH:$JAVA_HOME/bin


4) Symbolic Link to the JDK

sudo ln -s "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/server/libjvm.dylib" "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/lib/libserver.dylib"


5) Prevent TLS Server Error

sudo vi /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/security/java.security


Before

jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \
    DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
    include jdk.disabled.namedCurves

After

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \
    DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
    include jdk.disabled.namedCurves

6) Open the Cubrid Manager

The ID, Password on initial login is both admin.


7) Update JDBC Driver

Press the button on the end of the Driver Version row. Click the JDBC Driver Update.


8) Connection Completed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published