Bitnami RedmineにTestLinkを追加
前提
- VirtualBox
- Debian10
- Bitnami Redmine
やりたい事
- Bitnami RedmineにTestLikを共存させて、連動設定を行う
TestLinkのインストール
- Bitnami RedmineにTestLikを共存させて、連動設定を行う
TestLinkのインストール
※rootでのインストールを前提としています
インストールファイルの用意
command
# homeへ移動
cd /home
# Githubからインストールイメージをダウンロード
wget https://github.com/TestLinkOpenSourceTRMS/testlink-code/archive/1.9.19.tar.gz -O testlink_code-1.9.19.tar.gz
# 解凍
tar -zxvf /home/testlink_code-1.9.19.tar.gz
# インストールディレクトリを用意
mkdir /opt/[redmine]/apps/testlink
mkdir /opt/[redmine]/apps/testlink/htdocs
mkdir /opt/[redmine]/apps/testlink/conf
# インストールディレクトリへ移動
mv /home/testlink-code-1.9.19/* /opt/[redmine]/apps/testlink/htdocs/
設定ファイルの作成
- 公開ディレクトリに設定
command
nano /opt/redmine/apps/testlink/conf/httpd-testlink.conf
httpd-testlink.conf
Alias /testlink "/opt/redmine/apps/testlink/htdocs"
<Directory "/opt/redmine/apps/testlink/htdocs">
AllowOverride None
Options None
Require all granted
</Directory>
- TestLink設定ファイルの読み込み設定
command
nano /opt/redmine/apache2/conf/httpd.conf
httpd.conf
Include "/opt/redmine/apps/testlink/conf/httpd-testlink.conf"
# ↑この一文を最後に追加
- TestLinkの設定変更
cmmand
nano /opt/redmine/apps/testlink/htdocs/config.inc.php
config.inc.php
// $tlCfg->log_path = '/var/testlink/logs/'; /* unix example */
$tlCfg->log_path = '/opt/redmine/apps/testlink/htdocs/logs/';
// $g_repositoryPath = '/var/testlink/upload_area/'; / unix example */
$g_repositoryPath = '/opt/redmine/apps/testlink/htdocs/upload_area/';
オーナーとアクセス権限の変更
※アクセス権限を変更しておかないと後でコケます
command
chown -R root:daemon /opt/redmine/apps/testlink/
chmod -R 777 /opt/redmine/apps/testlink/
# ↑apache2に書き込み権限が無いとコケるっぽい
Bitnami Redmine(apache2のみでも可)を再起動
command
/opt/redmine/ctlscript.sh restart
インストール
- http://[localhost]/testlink にアクセスして画面の指示に従ってインストール ※以後はインストールガイダンスに従ってのインストールなので割愛。
Author And Source
この問題について(Bitnami RedmineにTestLinkを追加), 我々は、より多くの情報をここで見つけました https://qiita.com/eiji_ueda/items/afa8b30707234deb1650著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .