|
 |
Linux¿¡¼ÀÇ ¼³Ä¡¿Í ½ÇÇà | |
|
|
1. ¼³Ä¡ ½Ã È®ÀÎ »çÇ× |
|
Linux ¹öÀüÀÇ CUBRID µ¥ÀÌÅͺ£À̽º¸¦ ¼³Ä¡Çϱâ Àü¿¡ ´ÙÀ½ »çÇ×À» Á¡°ËÇÑ´Ù. |
±¸ ºÐ |
³» ¿ë |
¿î¿µÃ¼Á¦ ¹öÀü |
¿î¿µÃ¼Á¦ ¹öÀü¿¡ »ó°ü ¾øÀÌ glibc 2.3.4 ¹öÀü ÀÌ»ó¸¸ Áö¿øÇÑ´Ù. glibc ¹öÀüÀº ´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î È®ÀÎÇÑ´Ù. rpm -q glibc |
64ºñÆ® ¿©ºÎ |
64ºñÆ® ¿î¿µÃ¼Á¦¿¡ 32ºñÆ® ¹öÀüÀÇ CUBRID¸¦ ¼³Ä¡Çϸé, 32ºñÆ® ¹öÀüÀÇ Ãß°¡ ¶óÀ̺귯¸®°¡ ¼³Ä¡µÇ¾ú´ÂÁö È®ÀÎÇÑ´Ù. ¼³Ä¡ÇÒ Ãß°¡ ¶óÀ̺귯¸®´Â ´ÙÀ½°ú °°´Ù. Curses Library (rpm -q ncurses) | |
|
2. CUBRID ¼³Ä¡ |
|
¼³Ä¡ ÇÁ·Î±×·¥Àº ¹ÙÀ̳ʸ® ¼Ð·Î µÇ¾î ÀÖ¾î ÀÚµ¿À¸·Î ¼³Ä¡ÇÒ ¼ö ÀÖ´Ù. ¼³Ä¡¸¦ ÁøÇàÇÏ·Á¸é ´Ù¿î·ÎµåÇÑ ¼³Ä¡ ÆÄÀÏÀ» ¹ÙÀ̳ʸ® ¸ðµå·Î Linux ¼¹öÀÇ FTP·Î Àü¼ÛÇÑ´Ù. |
|
´ÙÀ½ ¿¹Á¦¿Í °°ÀÌ ¼³Ä¡ ÇÁ·Î±×·¥À» ¼öÇàÇÑ´Ù. |
|
$ sh CUBRID-8.1.3.1020-linux.sh Do you agree to the above license terms? [yes or no] : yes Do you want to install this software to the default(/home1/daniel/CUBRID) directory? [yes or no] : yes Install CUBRID to /home1/daniel/CUBRID... In case a different version of the CUBRID product is being used in other machines, please note that the CUBRID 2008 R1.3 servers are only compatible with the CUBRID 2008 R1.3 clients and vice versa. Do you want to continue? (yes or no) [Default: yes] : yes CUBRID has been successfully installed. demodb has been successfully created. If you want to use CUBRID, run the following commands % . /home1/daniel/.cubrid.sh % cubrid service start
|
|
À§ÀÇ ¿¹Á¦¿Í °°ÀÌ ´Ù¿î·ÎµåÇÑ ÆÄÀÏ(CUBRID-8.1.3.1020-linux.sh)À» ¼³Ä¡ÇÑ ÈÄ, CUBRID µ¥ÀÌÅͺ£À̽º¸¦ »ç¿ëÇϱâ À§Çؼ´Â CUBRID °ü·Ã ȯ°æ Á¤º¸¸¦ ¼³Á¤ÇØ¾ß ÇÑ´Ù. ÀÌ ¼³Á¤Àº ÇØ´ç Å͹̳ο¡ ·Î±×ÀÎÇÒ ¶§ ÀÚµ¿ ¼³Á¤µÇµµ·Ï ÁöÁ¤µÇ¾î ÀÖÀ¸¹Ç·Î ¼³Ä¡ ÈÄ ÃÖÃÊ ÇÑ ¹ø¸¸ ¼öÇàÇÏ¸é µÈ´Ù. |
|
$ . /home1/daniel/.cubrid.sh |
|
ÀÌÁ¦ CUBRID ¸Å´ÏÀú¿¡ Á¢¼ÓÇÒ ¼ö ÀÖ´Ù. JDBC¿Í °°Àº µå¶óÀ̹ö¿¡¼ Á¢¼ÓÇÏ·Á¸é CUBRID ¸Å´ÏÀú ¼¹ö¿Í ºê·ÎÄ¿¸¦ ±¸µ¿½ÃÄÑ¾ß ÇÑ´Ù. |
|
±¸µ¿ ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù. |
|
$ cubrid service start |
|
cubrid service¸¦ ±¸µ¿½ÃŲ ÈÄ Á¤»óÀûÀ¸·Î ±¸µ¿µÇ¾ú´ÂÁö È®ÀÎÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ grepÀ¸·Î cub_* ÇÁ·Î¼¼½ºµéÀÌ ±¸µ¿µÇ¾î ÀÖ´ÂÁö¸¦ È®ÀÎÇÑ´Ù. |
$ ps -ef | grep cub_ daniel 15200 1 0 18:57 ? 00:00:00 cub_master daniel 15205 1 0 18:57 pts/17 00:00:00 cub_broker daniel 15210 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_1 daniel 15211 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_2 daniel 15212 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_3 daniel 15213 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_4 daniel 15214 1 0 18:57 pts/17 00:00:00 query_editor_cub_cas_5 daniel 15217 1 0 18:57 pts/17 00:00:00 cub_broker daniel 15222 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_1 daniel 15223 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_2 daniel 15224 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_3 daniel 15225 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_4 daniel 15226 1 0 18:57 pts/17 00:00:00 broker1_cub_cas_5 daniel 15229 1 0 18:57 ? 00:00:00 cub_auto start daniel 15232 1 0 18:57 ? 00:00:00 cub_js start |
|
|
¡Ø Âü°í : RPMÀ¸·Î ¼³Ä¡ÇÒ ¶§¿¡´Â ÀÇÁ¸¼ºÀ» ²À È®ÀÎÇØ¾ß ÇÑ´Ù. ÀÇÁ¸¼ºÀ» ¹«½Ã(--nodeps)ÇÏ°í ¼³Ä¡ÇÏ¸é ½ÇÇàµÇÁö ¾ÊÀ» ¼ö ÀÖ´Ù. |
|