{"id":23638,"date":"2023-09-13T05:34:52","date_gmt":"2023-09-12T20:34:52","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=23638"},"modified":"2025-08-04T13:11:25","modified_gmt":"2025-08-04T04:11:25","slug":"cassandra-installation-linux","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/server-guide\/installation\/installing-on-unix-linux\/cassandra-installation-linux\/","title":{"rendered":"Cassandra NoSQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb (Unix \/ Linux)"},"content":{"rendered":"<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Unix\/Linux \u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f TestRail Server 7.4 \u4ee5\u964d\u306b Cassandra NoSQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"spanstylefontweight400Prerequisitesspan\">\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>Cassandra \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u5fc5\u9808\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"list-style-type: none;\">\n<ol class=\"list-colored\">\n<li aria-level=\"1\">Open JDK 8<\/li>\n<li aria-level=\"1\">C++ driver<\/li>\n<li aria-level=\"1\">Cassandra driver for TestRail<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3 id=\"01G68P0AEVHAXZBP0W85QDMPT2\">1.JDK 8 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066 Java \u30d0\u30fc\u30b8\u30e7\u30f3 8 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install openjdk-8-jdk -y<\/pre>\n<div class=\"callout callout--warning\">\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f Java \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ java -version<\/pre>\n<p>\u6b21\u306e\u3088\u3046\u306b\u51fa\u529b\u3055\u308c\u308c\u3070\u3001JDK \u306f\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">Openjdk version \u201c1.8.0_312\u201d\nOpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)\nOpenJDK 64-bit Server VM (build 25.312-b07, mixed mode)<\/pre>\n<h3 id=\"01G68P0AEV8BQGRS884DTDY8E0\">2.C++ \u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Cassandra \u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u52d5\u4f5c\u3059\u308b\u306b\u306f C++ \u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3042\u308b\u305f\u3081\u3001Linux TestRail \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u306f C++ \u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h5>libssl1.1 \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb (<span>ubuntu22.04 \u306e\u307f<\/span>)<\/h5>\n<p><span>ubuntu22.04 \u3067\u306flissl3\u7cfb\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u307e\u3059\u304c\u3001cpp-driver \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b libssl1.1.1 \u7cfb\u3092\u5fc5\u8981\u3068\u3059\u308b\u305f\u3081 libssl1.1 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><\/p>\n<p>libssl1.1 \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ wget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/main\/o\/openssl\/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb<\/pre>\n<p class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb<\/pre>\n<p class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">openssl.conf\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo sed -i '\/_sect\\b\/s\/^\/# \/' \/etc\/ssl\/openssl.cnf<\/pre>\n<h5><span>multiarch-support \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/h5>\n<p>multiarch-support \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ wget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/main\/g\/glibc\/multiarch-support_2.27-3ubuntu1.6_amd64.deb<\/pre>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo dpkg -i multiarch-support_2.27-3ubuntu1.6_amd64.deb<\/pre>\n<h5>C++ \u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h5>\n<p>C++ \u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ wget https:\/\/downloads.datastax.com\/cpp-driver\/ubuntu\/18.04\/cassandra\/v2.16.0\/cassandra-cpp-driver_2.16.0-1_amd64.deb<\/pre>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo dpkg -i cassandra-cpp-driver_2.16.0-1_amd64.deb<\/pre>\n<h3>3.Cassandra driver for TestRail<\/h3>\n<p><a href=\"\/wp-content\/uploads\/cassandra_8.0.0.so_.zip\">\u3053\u3061\u3089<\/a>\u304b\u3089 Linux \u7528\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"font-weight: 400;\">\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066 &#8216;extension_dir \u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u5834\u6240\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ php -i | grep ^extension_dir<\/pre>\n<p>cassandra.so \u30d5\u30a1\u30a4\u30eb\u3092 extension_dir \u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo cp cassandra.so \/usr\/lib\/php\/20210902\/<\/pre>\n<p>md5sum \u306a\u3069\u306e MD5 \u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306e MD5 \u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u304c\u6b21\u306e\u3068\u304a\u308a\u3067\u3042\u308b\u3053\u3068\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">a151c2a7146d56c16236baa8cc1e9134<\/pre>\n<p>\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u8fd4\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ \/usr\/lib\/php\/20210902# md5sum cassandra.so\na151c2a7146d56c16236baa8cc1e9134 cassandra.so<\/pre>\n<p>php.ini \u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u62e1\u5f35\u6a5f\u80fd\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\">extension=cassandra<\/pre>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u62e1\u5f35\u304c\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ php -m<\/pre>\n<p>cassandra \u3092\u542b\u3080\u3059\u3079\u3066\u306e\u5fc5\u9808 PHP \u62e1\u5f35\u6a5f\u80fd\u3092\u30ea\u30b9\u30c8\u3057\u305f<a href=\"\/wp-content\/uploads\/PHP-8.1.2-1ubuntu2.10-phpinfo.pdf\" target=\"_blank\" rel=\"noopener\">\u5178\u578b\u7684\u306a phpinfo \u30da\u30fc\u30b8<\/a>\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<p>cassandra \u304c\u6b63\u5e38\u306b\u30ed\u30fc\u30c9\u3055\u308c\u306a\u3044\u5834\u5408\u3001\u62e1\u5f35\u6a5f\u80fd\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u3059\u3079\u3066\u5229\u7528\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u304b\u3001&#8217;cassandra.so&#8217; \u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb \u30d1\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">ldd cassandra.so<\/pre>\n<p>\u6b21\u306f\u6b63\u5e38\u306a\u51fa\u529b\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">linux-vdso.so.1 (0x00007ffe7fdf8000)\nlibcassandra.so.2 =&gt; \/lib\/x86_64-linux-gnu\/libcassandra.so.2 (0x00007f037a800000)\nlibm.so.6 =&gt; \/lib\/x86_64-linux-gnu\/libm.so.6 (0x00007f037ad2e000)\nlibuv.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libuv.so.1 (0x00007f037acfc000)\nlibgmp.so.10 =&gt; \/lib\/x86_64-linux-gnu\/libgmp.so.10 (0x00007f037a77e000)\nlibc.so.6 =&gt; \/lib\/x86_64-linux-gnu\/libc.so.6 (0x00007f037a556000)\nlibssl.so.1.1 =&gt; \/lib\/x86_64-linux-gnu\/libssl.so.1.1 (0x00007f037a200000)\nlibcrypto.so.1.1 =&gt; \/lib\/x86_64-linux-gnu\/libcrypto.so.1.1 (0x00007f0379c00000)\nlibz.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libz.so.1 (0x00007f037acde000)\nlibstdc++.so.6 =&gt; \/lib\/x86_64-linux-gnu\/libstdc++.so.6 (0x00007f03799d6000)\nlibgcc_s.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libgcc_s.so.1 (0x00007f037acbe000)\nlibpthread.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libpthread.so.0 (0x00007f037acb9000)\n\/lib64\/ld-linux-x86-64.so.2 (0x00007f037ae9a000)\nlibdl.so.2 =&gt; \/lib\/x86_64-linux-gnu\/libdl.so.2 (0x00007f037acb2000)<\/pre>\n<p>C++ Driver \u304c\u306a\u3044\u5834\u5408\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\u4f8b:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">linux-vdso.so.1 (0x00007ffcc7ffd000)\nlibcassandra.so.2 =&gt; not found\nlibm.so.6 =&gt; \/lib\/x86_64-linux-gnu\/libm.so.6 (0x00007f0574a3e000)\nlibuv.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libuv.so.1 (0x00007f0574a0c000)\nlibgmp.so.10 =&gt; \/lib\/x86_64-linux-gnu\/libgmp.so.10 (0x00007f057498a000)\nlibc.so.6 =&gt; \/lib\/x86_64-linux-gnu\/libc.so.6 (0x00007f0574762000)\n\/lib64\/ld-linux-x86-64.so.2 (0x00007f0574ba9000)<\/pre>\n<h2 id=\"spanstylefontweight400InstallApacheCassandraspan\">Apache Cassandra \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u4ee5\u4e0b\u306e\u624b\u9806\u306f\u3001Ubuntu 22.04 \u3067\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<div class=\"callout callout--warning\">\n<p>[et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ffffdd&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#E1E163&#8243;]<\/p>\n<div class=\"callout callout--warning\">\n<p>\u73fe\u5728\u3001Server \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b Cassandra \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f 3.11 \u3060\u3051\u3067\u3059\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text]<\/p>\n<\/div>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u5fc5\u9808\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install apt-transport-https gnupg2 -y<\/pre>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066 GPC \u30ad\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ curl -fsSL https:\/\/www.apache.org\/dist\/cassandra\/KEYS | gpg --dearmor | sudo tee \/etc\/apt\/trusted.gpg.d\/cassandra.gpg &gt; \/dev\/null<\/pre>\n<p><strong>OK<\/strong> \u3068\u3044\u3046\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u5f85\u6a5f\u3057\u307e\u3059\u3002(\u6570\u79d2\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002) \u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066 APT \u306b Cassandra \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ echo \"deb https:\/\/debian.cassandra.apache.org 311x main\" | sudo tee -a \/etc\/apt\/sources.list.d\/cassandra.sources.list<\/pre>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea \u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get update -y<\/pre>\n<p>Apache Cassandra \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install cassandra -y<\/pre>\n<p>Cassandra Home \u306e lib \u30c7\u30a3\u30ec\u30af\u30c8\u30ea (\u901a\u5e38\u306f \/usr\/share\/cassandra\/lib<em><\/em>) \u306b cassandra-lucene-index-plugin-*.jar \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002.jar \u30d5\u30a1\u30a4\u30eb\u306f Cassandra \u3068\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3067\u3042\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u516c\u5f0f maven \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089 .jar \u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ wget https:\/\/repo1.maven.org\/maven2\/com\/stratio\/cassandra\/cassandra-lucene-index-plugin\/3.11.3.0\/cassandra-lucene-index-plugin-3.11.3.0.jar<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092 Cassandra Home \u306e lib \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo cp cassandra-lucene-index-plugin-3.11.3.0.jar \/usr\/share\/cassandra\/lib<\/pre>\n<p>Cassandra \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo systemctl restart cassandra<\/pre>\n<p>\u3053\u308c\u3067 Cassandra \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u521d\u56de\u306e\u63a5\u7d9a\u3092\u884c\u3046\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ cqlsh<\/pre>\n<p>\u307e\u305f\u306f\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u304c\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ cqlsh -u cassandra -p cassandra<\/pre>\n<p>\u6b21\u306e\u3088\u3046\u306b\u51fa\u529b\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">Connected to Test Cluster at 127.0.0.1:9042.\n[cqlsh 5.0.1 | Cassandra 3.11.11 | CQL spec 3.4.4 | Native protocol v4]\nUse HELP for help.\ncqlsh&gt;<\/pre>\n<p>TestRail \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001Cassandra \u30ad\u30fc\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e CQL \u30af\u30a8\u30ea\u30fc\u3092\u5b9f\u884c\u3057\u3066\u30ad\u30fc\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">CREATE KEYSPACE IF NOT EXISTS testrail WITH REPLICATION={'class': 'SimpleStrategy', 'replication_factor': 1};<\/pre>\n<p>\u3053\u306e Cassandra \u306f \u30e6\u30fc\u30b6\u30fc\u540d\u3068\u3057\u3066 \u2018cassandra\u2019 \u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u3057\u3066 \u2018cassandra\u2019\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u65b0\u898f\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001cassandra.yaml \u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066 authenticator \u304a\u3088\u3073 authorizer \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u5909\u66f4\u3057\u307e\u3059\u3002authenticator: AllowAllAuthenticator \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u5316\u3057\u3001\u6b21\u306e\u3088\u3046\u306b\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#authenticator: AllowAllAuthenticator\nauthenticator: org.apache.cassandra.auth.PasswordAuthenticator<\/pre>\n<p>authorizer: AllowAllAuthorizer \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u5316\u3057\u3001\u6b21\u306e\u3088\u3046\u306b\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#authorizer: AllowAllAuthorizer\nauthorizer: org.apache.cassandra.auth.CassandraAuthorizer<\/pre>\n<p>Cassandra \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo systemctl restart cassandra<\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066 Cassandra \u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ cqlsh -u cassandra -p cassandra<\/pre>\n<p>Cassandra TestRail \u30e6\u30fc\u30b6\u30fc\u304a\u3088\u3073\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">cassandra@cqlsh&gt; create user 'username' with password 'password';<\/pre>\n<p>TestRail \u30e6\u30fc\u30b6\u30fc\u306b\u4f5c\u6210\u6e08\u307f\u306e TestRail \u7528\u30ad\u30fc\u30b9\u30da\u30fc\u30b9\u3078\u306e\u6a29\u9650\u3092\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">cassandra@cqlsh&gt; GRANT ALL ON KEYSPACE testrail to 'testrail';<\/pre>\n<p>Cassandra \u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Unix\/Linux \u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f TestRail Server 7.4 \u4ee5\u964d\u306b Cassandra NoSQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002 \u524d\u63d0\u6761\u4ef6 Cass [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":14777,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-23638","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/23638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=23638"}],"version-history":[{"count":65,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/23638\/revisions"}],"predecessor-version":[{"id":27784,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/23638\/revisions\/27784"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/14777"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=23638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}