> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xoonips-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xoonips-tutorial/jp/3installation/5readme/66-mojrunitsuite.md).

# 6.6. 支援モジュールについて

標準状態では使いにくいシステムモジュールの代わりに利用できるモジュールや悪意のある攻撃から守るProtecterモジュールなどがあります

アイテムへのコメント機能を利用する際にはaltsysモジュールとD3forumモジュールのインストールが必要です。

ここではXooNIpsでコメント機能を利用するためにaltsysモジュールとD3forumモジュールのインストールの簡単な説明を行います。

詳細な情報は配布サイトを確認してください。<http://xoops.peak.ne.jp/>

## **6.6.1. altsysモジュールのインストール**

標準システムモジュールの代替モジュールであるaltsysモジュールのインストールを行います。

mainfile.phpを一点修正します

| `[xoonips-server ~]#` **vi /var/www/html/mainfile.php**         | ← mainfile.phpファイルの編集      |
| --------------------------------------------------------------- | -------------------------- |
| **define('XOOPS\_TRUST\_PATH','');**                            |                            |
| ↓                                                               |                            |
| **define('XOOPS\_TRUST\_PATH','/var/www/xoops\_trust\_path');** | ← XOOPS\_TRUST\_PATHの設定を行う |

配布サイトから最新版モジュールをダウンロードします。

| `[root@xoonips-server ~]#` **tar -xzvf altsys-0.6.tar.gz**                     | ← 取得ファイルの展開  |
| ------------------------------------------------------------------------------ | ------------ |
| `[root@xoonips-server ~]#` **cp -R xoops\_trust\_path /var/www/**              | ← 展開ファイルのコピー |
| `[root@xoonips-server ~]#` **cp -R html/modules/altsys /var/www/html/modules** | ← 展開ファイルのコピー |
| `[root@xoonips-server ~]#` **cp html/preload /\* vaw/www/html/preload/**       | ← 展開ファイルのコピー |

この後はXooNIpsやアイテムタイプモジュールと同様に管理者メニューのモジュールインストールからインストールを行ってください。

## **6.6.2. D3forumのインストール**

アイテムへのコメント機能を利用するために必要なd3モジュールのインストールを行います。

あらかじめaltsysモジュールのインストールを済ませておく必要があります。

配布サイトから最新版モジュールをダウンロードします。

| `[root@xoonips-server ~]#` **tar -xzvf d3forum-0.8.tar.gz**                                       | ← 取得ファイルの展開  |
| ------------------------------------------------------------------------------------------------- | ------------ |
| `[root@xoonips-server ~]#` **cp -R xoops\_trust\_path/modules /var/www/xoops\_trust\_path**       | ← 展開ファイルのコピー |
| `[root@xoonips-server ~]#` **cp -R html/modules/d3forum /var/www/html/modules**                   | ← 展開ファイルのコピー |
| `[root@xoonips-server ~]#` **cp html/class/smarty/plugins/\* var/www/html/class/smarty/plugins/** | ← 展開ファイルのコピー |

この後はXooNIpsやアイテムタイプモジュールと同様に管理者メニューのモジュールインストールからインストールを行ってください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://xoops.gitbook.io/xoonips-tutorial/jp/3installation/5readme/66-mojrunitsuite.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
