{"id":23686,"date":"2023-09-13T05:58:22","date_gmt":"2023-09-12T20:58:22","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=23686"},"modified":"2025-11-06T11:27:48","modified_gmt":"2025-11-06T02:27:48","slug":"preparing-linux","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/server-guide\/installation\/installing-on-unix-linux\/preparing-linux\/","title":{"rendered":"Unix\/Linux \u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6e96\u5099"},"content":{"rendered":"<div class=\"lt-article__body\">\n<div>Linux \u306a\u3069\u3001\u4e00\u822c\u7684\u306a Unix \u30d9\u30fc\u30b9\u306e\u30b5\u30fc\u30d0\u30fc \u30b7\u30b9\u30c6\u30e0\u306b TestRail \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b5\u30dd\u30fc\u30c8\u5bfe\u8c61 OS \u304a\u3088\u3073\u30b5\u30fc\u30d0\u30fc \u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a title=\"testrail-admin:installation-requirements\" href=\"\/server-guide\/installation\/requirements\/\" target=\"_blank\" rel=\"noopener\">\u8981\u4ef6<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<h2 id=\"Preparingtheserver\">\u30b5\u30fc\u30d0\u30fc\u306e\u6e96\u5099<\/h2>\n<p><span>TestRail \u3092\u5229\u7528\u3059\u308b\u306b\u306f Web \u30b5\u30fc\u30d0\u30fc\u3001SQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 (MySQL) \u304a\u3088\u3073\u6709\u52b9\u306a PHP \u74b0\u5883\u304c\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Linux\u3001Apache\u3001MySQL\u3001\u304a\u3088\u3073 PHP (\u4e00\u822c\u306b\u00a0<\/span><em>LAMP<\/em><span>\u00a0\u3068\u547c\u3070\u308c\u308b) \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9\u3067\u306f\u6271\u3044\u307e\u305b\u3093\u3002\u30cd\u30c3\u30c8\u4e0a\u306b\u306f\u3001\u4e3b\u306a Linux \u304a\u3088\u3073 Unix \u30b7\u30b9\u30c6\u30e0\u306b LAMP \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u3059\u3070\u3089\u3057\u3044\u30ac\u30a4\u30c9\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\"list-bullet\">\n<li class=\"level1\">\n<div class=\"li\"><a class=\"urlextern\" title=\"https:\/\/www.howtoforge.com\/tutorial\/install-apache-with-php-and-mysql-lamp-on-debian-stretch\/\" href=\"https:\/\/www.howtoforge.com\/tutorial\/install-apache-with-php-and-mysql-lamp-on-debian-stretch\/\" target=\"_blank\" rel=\"noopener noreferrer\">Debian \u306b LAMP \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b (\u82f1\u8a9e)<\/a><\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\"><a class=\"urlextern\" title=\"https:\/\/www.howtoforge.com\/tutorial\/centos-lamp-server-apache-mysql-php\/\" href=\"https:\/\/www.howtoforge.com\/tutorial\/centos-lamp-server-apache-mysql-php\/\" target=\"_blank\" rel=\"noopener noreferrer\">Red Hat\/CentOS \u306b LAMP \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b (\u82f1\u8a9e)<\/a><\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\"><a class=\"urlextern\" title=\"https:\/\/developerslogblog.wordpress.com\/2017\/07\/01\/freebsd-11-apache-mysql-and-php-famp\/\" href=\"https:\/\/developerslogblog.wordpress.com\/2017\/07\/01\/freebsd-11-apache-mysql-and-php-famp\/\" target=\"_blank\" rel=\"noopener noreferrer\">FreeBSD \u3067\u306e Apache\u3001MySQL\u3001\u304a\u3088\u3073 PHP (\u82f1\u8a9e)<\/a><\/div>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Ubuntu \u306b LAMP \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b:<\/h3>\n<p>Ubuntu \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u3001\u6b21\u306e\u624b\u9806\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<p><!-- START ordered list with colored numbers --><\/p>\n<ol class=\"list-colored\">\n<li>MySQL \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install mysql-server mysql-client -y<\/pre>\n<p>mysql \u3092\u30bb\u30ad\u30e5\u30a2\u5316\u3057\u307e\u3059\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u3001\u533f\u540d\u30e6\u30fc\u30b6\u30fc\u306e\u524a\u9664\u3092\u8a31\u53ef\u3057\u3001\u30c6\u30b9\u30c8 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u6a29\u9650\u30c6\u30fc\u30d6\u30eb\u306e\u30ea\u30ed\u30fc\u30c9\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo mysql_secure_installation<\/pre>\n<p>MySQL \u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f root \u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066 MySQL \u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo mysql --defaults-file=\/etc\/mysql\/debian.cnf<\/pre>\n<\/li>\n<li>Apache Web \u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install apache2 -y<\/pre>\n<p>Apache \u30b5\u30fc\u30d0\u30fc\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001Web \u30d6\u30e9\u30a6\u30b6\u30fc\u3067 \u2018http:\/\/localhost\u2019 \u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002Apache Web \u30b5\u30fc\u30d0\u30fc\u304c\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u5834\u5408\u3001Apache2 Ubuntu \u30c7\u30d5\u30a9\u30eb\u30c8 \u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_01.png\" alt=\"\" width=\"624\" height=\"125\" class=\"aligncenter size-full wp-image-23691\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_01.png 624w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_01-480x96.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 624px, 100vw\" \/><\/a><\/p>\n<ol class=\"list-colored\">\n<li>Apache \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3057\u3066\u958b\u304d\u307e\u3059\u3002\u4f8b:\n<pre>sudo nano \/etc\/apache2\/sites-available\/000-default.conf<\/pre>\n<\/li>\n<li>TestRail \u30b5\u30a4\u30c8\u306b\u5fdc\u3058\u3066\u9069\u5207\u306a `<em>&lt;VirtualHost&gt;<\/em>` \u30d6\u30ed\u30c3\u30af\u306e\u5185\u5074\u306b\u6b21\u306e\u3088\u3046\u306b `&lt;Directory&gt;` \u30bb\u30af\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u307e\u305f\u306f\u66f4\u65b0\u3057\u307e\u3059\u3002\n<pre><code class=\"shell hljs\"><span class=\"bash\">&lt;Directory \/var\/www\/testrail&gt;\nOptions Indexes FollowSymLinks\nAllowOverride All\nRequire all granted\n&lt;\/Directory&gt;<\/span><\/code><\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<li>PHP 8.1 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install php8.1 libapache2-mod-php8.1 -y<\/pre>\n<\/li>\n<li>Apache \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo systemctl restart apache2<\/pre>\n<\/li>\n<li>phpinfo.php \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<a href=\"\/server-guide\/server-administration\/troubleshooting\/phpinfo\/\" target=\"_blank\" rel=\"noopener\">phpinfo() \u8a3a\u65ad\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c<\/a>\u306e\u624b\u9806\u306b\u5f93\u3063\u3066 phpinfo.php \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<!-- START note -->\n<div class=\"callout callout--info\">\n<p><span style=\"text-decoration: underline;\"><strong>\u203bphpinfo.php \u30d5\u30a1\u30a4\u30eb\u306e\u6240\u6709\u8005\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u305d\u306e\u307e\u307e\u3001\u307e\u305f\u306f\u56fa\u6709\u306e phpinfo.php \u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3092\u6307\u3059\u3088\u3046\u5909\u66f4\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo chown www-data:www-data \/var\/www\/html\/phpinfo.php<\/pre>\n<p><strong>wwwroot<\/strong> \u30d5\u30a9\u30eb\u30c0\u30fc\u306b phpinfo.php \u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u5834\u5408\u3001phpinfo.php \u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\u624b\u9806\u3092\u7701\u7565\u3057\u3001Web \u30d6\u30e9\u30a6\u30b6\u30fc\u3067 \u2018localhost\/phpinfo.php\u2019 \u306b\u79fb\u52d5\u3057\u3066 PHP \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059 (\u30bf\u30a4\u30c8\u30eb\u306b\u9069\u5207\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059)\u3002<\/p>\n<\/div>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_02.png\" alt=\"\" width=\"624\" height=\"563\" class=\"aligncenter size-full wp-image-23692\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_02.png 624w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/preparing-linux_02-480x433.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 624px, 100vw\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u3059\u3079\u3066\u306e\u5fc5\u9808<\/span> 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\">phpinfo \u30da\u30fc\u30b8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>MySQL PHP 8.1 \u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install php8.1-phpdbg -y<\/pre>\n<\/li>\n<li>Apache \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo systemctl restart apache2<\/pre>\n<\/li>\n<\/ol>\n<p><!-- END ordered list with colored numbers --><\/p>\n<h2 id=\"Importantnotesbeforeinstallation\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u91cd\u8981\u306a\u6ce8\u610f\u70b9<\/h2>\n<p><!-- START warning --><\/p>\n<div class=\"callout callout--warning\">\n<p><span style=\"text-decoration: underline;\"><strong>\u203bTestRail 7.1 \u4ee5\u964d\u3067\u306f\u3001MySQL (\u307e\u305f\u306f MariaDB) \u3068\u95a2\u9023\u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/span><\/p>\n<\/div>\n<h2 id=\"Installingtheprerequisites\">\u524d\u63d0\u6761\u4ef6\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p><span>Unix \u30d9\u30fc\u30b9\u306e\u30b5\u30fc\u30d0\u30fc \u30b7\u30b9\u30c6\u30e0\u3067 MySQL \u3068\u7d44\u307f\u5408\u308f\u305b\u3066 TestRail \u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u6b21\u306e PHP \u62e1\u5f35\u6a5f\u80fd\u304c\u5fc5\u8981\u3067\u3059\u3002<\/span><\/p>\n<ul class=\"list-bullet\">\n<li>gd PHP \u62e1\u5f35\u6a5f\u80fd &#8211; \u30b0\u30e9\u30d5\u306e\u751f\u6210\u306b\u4f7f\u7528\u3057\u307e\u3059<\/li>\n<li>mysql PHP \u62e1\u5f35\u6a5f\u80fd &#8211; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u306b\u5fc5\u8981\u3067\u3059<\/li>\n<li><span style=\"font-weight: 400;\">fileinfo PHP \u62e1\u5f35\u6a5f\u80fd &#8211; \u30d5\u30a1\u30a4\u30eb \u30bf\u30a4\u30d7\u304a\u3088\u3073\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u5224\u65ad\u306b\u4f7f\u7528\u3057\u307e\u3059<\/span><\/li>\n<li><span style=\"font-weight: 400;\">imagick PHP \u62e1\u5f35\u6a5f\u80fd &#8211; \u753b\u50cf\u306e\u51e6\u7406\u306b\u4f7f\u7528\u3057\u307e\u3059<\/span><\/li>\n<li>mbstring PHP \u62e1\u5f35\u6a5f\u80fd &#8211; Unicode \u6587\u5b57\u5217\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3057\u307e\u3059<\/li>\n<li>curl PHP \u62e1\u5f35\u6a5f\u80fd &#8211; \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u78ba\u8a8d\u306a\u3069\u306b\u4f7f\u7528\u3057\u307e\u3059<\/li>\n<li><span style=\"font-weight: 400;\">openssl PHP \u62e1\u5f35\u6a5f\u80fd &#8211; SSL \u63a5\u7d9a\u306e\u51e6\u7406\u306b\u4f7f\u7528\u3057\u307e\u3059<\/span><\/li>\n<\/ul>\n<p>\u591a\u304f\u306e\u62e1\u5f35\u6a5f\u80fd\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001<em>mbstring\u3001gd\u3001imagick<\/em> \u306b\u3064\u3044\u3066\u306f\u624b\u52d5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ sudo apt-get install php8.1-imagick php8.1-mbstring php8.1-gd -y<\/pre>\n<div class=\"callout callout--info\">\n<p>OS \u3084\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u3088\u3063\u3066\u306f\u3001 mysql \u304a\u3088\u3073 curl PHP\u62e1\u5f35\u6a5f\u80fd\u3092 (\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u30d1\u30c3\u30b1\u30fc\u30b8 \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001php.ini \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u306f Debian\/Ubuntu \u30b7\u30b9\u30c6\u30e0\u306b\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">$ sudo apt-get install php8.1-mysql php8.1-curl php8.1-json php8.1-mbstring php8.1-xml php8.1-gd php8.1-zip -y<\/pre>\n<p><span style=\"font-weight: 400;\">\u30b7\u30b9\u30c6\u30e0\u306b\u3088\u3063\u3066\u306f\u3001\u3053\u308c\u3089\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092 php.ini \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u3082\u3042\u308a\u307e\u3059 (Ubuntu \u306a\u3069\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u81ea\u52d5\u7684\u306b\u62e1\u5f35\u6a5f\u80fd\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059)\u3002\u624b\u52d5\u3067\u6709\u52b9\u5316\u3059\u308b\u306b\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u306b \u2018<strong>extension={extension_name}<\/strong>\u2019 \u3092\u8ffd\u52a0\u3057\u307e\u3059 (php.ini \u3067\u3059\u3067\u306b\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044)\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u305f\u3068\u3048\u3070\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u304c \u2018imagick.so\u2019 \u306e\u5834\u5408\u3001 php.ini \u306e\u30a8\u30f3\u30c8\u30ea\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\">extension=imagick<\/pre>\n<p>\u307b\u3068\u3093\u3069\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001php.ini \u306f \/etc\/php\/8.1\u3001\/etc\/php\u3001\u307e\u305f\u306f \/etc\/php\/8.1\/apache2 \u306b\u3042\u308a\u307e\u3059\u3002 \/etc\/php\/8.1\/cli\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e php.ini \u30d5\u30a1\u30a4\u30eb\u3082\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u591a\u304f\u306e PHP \u62e1\u5f35\u6a5f\u80fd\u306f PHP \u306b\u76f4\u63a5\u7d71\u5408\u3055\u308c\u3066\u304a\u308a\u3001\u5916\u90e8\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3057\u3001TestRail \u3067\u3053\u308c\u3089\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u3044\u305a\u308c\u304b\u306b\u3064\u3044\u3066\u4f9d\u5b58\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001PHP \u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059 (\u305f\u3068\u3048\u3070 php8.1-json \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306a\u3069)\u3002<\/p>\n<h2>Ioncube \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u6700\u5f8c\u306b\u5fc5\u8981\u306a PHP \u62e1\u5f35\u6a5f\u80fd\u306f\u30d5\u30ea\u30fc\u306e ionCube PHP \u30ed\u30fc\u30c0\u30fc\u3067\u3059\u3002\u3054\u4f7f\u7528\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306b\u5bfe\u5fdc\u3059\u308b ionCube \u30a8\u30c7\u30a3\u30b7\u30e7\u30f3\u306f\u3001 <a href=\"http:\/\/www.ioncube.com\/loaders.php\" target=\"_blank\" rel=\"noopener noreferrer\">ionCube \u306e Web\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066 Web \u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u89e3\u51cd\u3057\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea (\u305f\u3068\u3048\u3070\/opt\/ioncube) \u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p>ionCube \u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001\u5bfe\u5fdc\u3059\u308b ionCube \u30ed\u30fc\u30c0\u30fc\u62e1\u5f35\u6a5f\u80fd\u3092 php.ini \u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u305d\u308c\u306b\u306f\u3001\u5fc5\u305a zend_extension \u307e\u305f\u306f zend_extension_ts \u8a2d\u5b9a\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u4f7f\u7528\u3057\u3066\u3001\u62e1\u5f35\u6a5f\u80fd\u3078\u306e<em>\u30d5\u30eb\u30d1\u30b9<\/em>\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">zend_extension=\/opt\/ioncube\/ioncube_loader_lin_8.1.so<\/pre>\n<p>\u3054\u4f7f\u7528\u306e\u30b5\u30fc\u30d0\u30fc \u30b7\u30b9\u30c6\u30e0\u3067\u3069\u306e ionCube \u62e1\u5f35\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001loader-wizard.php \u30b9\u30af\u30ea\u30d7\u30c8\u3092 Web \u30b5\u30fc\u30d0\u30fc\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3057\u3066 Web \u30d6\u30e9\u30a6\u30b6\u30fc\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001Web \u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3066\u65b0\u3057\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u62e1\u5f35\u6a5f\u80fd\u3092\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>php -v \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001ionCube \u30ed\u30fc\u30c0\u30fc\u62e1\u5f35\u6a5f\u80fd\u304c\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001PHP \u306e\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306f\u3001Web \u30b5\u30fc\u30d0\u30fc\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u306e\u3068\u306f\u7570\u306a\u308b PHP \u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u95a2\u9023\u3059\u308b\u3059\u3079\u3066\u306e php.ini \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067 ionCube \u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002php -v \u3092\u5b9f\u884c\u3057\u3001\u6b21\u306e\u3088\u3046\u306b\u51fa\u529b\u3055\u308c\u3066\u3044\u308c\u3070\u3001ionCube \u30ed\u30fc\u30c0\u30fc\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059 (ionCube PHP Loader \u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u542b\u3080\u884c\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044)\u3002<em class=\"fas fa-info-circle\"><\/em><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">PHP 8.1.2-1ubuntu2.10 (cli) (built: Jan 16 2023 15:19:49) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.1.2, Copyright (c) Zend Technologies\n    with the ionCube PHP Loader v12.0.5, Copyright (c) 2002-2022, by ionCube Ltd.\n    with Zend OPcache v8.1.2-1ubuntu2.10, Copyright (c), by Zend Technologies<\/pre>\n<div class=\"callout callout--info\">\n<p><span style=\"text-decoration: underline;\">\u203bSELinux \u3067\u306e\u6ce8\u610f\u70b9: \u30b7\u30b9\u30c6\u30e0\u3067 SELinux \u304c\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u5834\u5408 (\u591a\u304f\u306f RedHat \u304a\u3088\u3073\u985e\u4f3c\u306e Linux \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u5834\u5408)\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5236\u9650\u306e\u305f\u3081\u3001Apache \u304a\u3088\u3073\/\u307e\u305f\u306f PHP \u304c ionCube \u3084\u305d\u306e\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30c9\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066 SELinux \u8a2d\u5b9a\u3092\u8abf\u6574\u3059\u308b\u304b SELinux \u3092\u7121\u52b9\u306b\u3057\u307e\u3059\u3002<\/span><\/p>\n<h2 id=\"h_01JZT80P8V94V807HF4NMKMC30\">Chrome Chrome Headless Shell \u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<ol>\n<li>\u4efb\u610f\u306e\u30bf\u30fc\u30df\u30ca\u30eb \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u3044\u3066\u6b21\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt update\nsudo apt install -y wget unzip libnss3 libatk1.0-0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libxkbcommon0 libasound2t64 libatk-bridge2.0-0 libxfixes3<\/pre>\n<\/li>\n<li>\u6700\u65b0\u306e Chrome Headless Shell \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">cd \/tmp\nLATEST_VERSION=$(wget -qO- https:\/\/googlechromelabs.github.io\/chrome-for-testing\/LATEST_RELEASE_STABLE)\nwget https:\/\/storage.googleapis.com\/chrome-for-testing-public\/${LATEST_VERSION}\/linux64\/chrome-headless-shell-linux64.zip<\/pre>\n<\/li>\n<li>\u30d0\u30a4\u30ca\u30ea\u3092\u89e3\u51cd\u3057\u3066\u79fb\u52d5\u3057\u307e\u3059\u3002\u30d0\u30a4\u30ca\u30ea\u3092\u89e3\u51cd\u3057\u3066\u4efb\u610f\u306e\u5834\u6240\u306b\u79fb\u52d5\u3067\u304d\u307e\u3059\u3002\u30d0\u30a4\u30ca\u30ea\u3092\u79fb\u52d5\u3059\u308b\u5834\u6240\u3092\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002TestRail \u306e\u8a2d\u5b9a\u306b\u3053\u306e\u30d1\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">unzip chrome-headless-shell-linux64.zip\nsudo mv chrome-headless-shell-linux64 \/usr\/bin\/<\/pre>\n<\/li>\n<li>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002Apache \u306e\u8d77\u52d5\u30e6\u30fc\u30b6\u30fc\u304c Chrome \u30d0\u30a4\u30ca\u30ea\u3092\u5b9f\u884c\u3059\u308b\u306e\u306b\u5341\u5206\u306a\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo chown www-data:www-data \/usr\/bin\/chrome-headless-shell-linux64 -R\nsudo chmod 775 \/usr\/bin\/chrome-headless-shell-linux64 -R<\/pre>\n<\/li>\n<\/ol>\n<\/div>\n<p><!-- END note --><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u306a\u3069\u3001\u4e00\u822c\u7684\u306a Unix \u30d9\u30fc\u30b9\u306e\u30b5\u30fc\u30d0\u30fc \u30b7\u30b9\u30c6\u30e0\u306b TestRail \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b5\u30dd\u30fc\u30c8\u5bfe\u8c61 OS \u304a\u3088\u3073\u30b5\u30fc\u30d0\u30fc \u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u8981\u4ef6\u3092\u53c2\u7167\u3057\u3066 [&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-23686","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/23686","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=23686"}],"version-history":[{"count":46,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/23686\/revisions"}],"predecessor-version":[{"id":31048,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/23686\/revisions\/31048"}],"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=23686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}