インストールガイド · 4 min read · Feb 12, 2026
Debian 11にApacheとLet's Encrypt SSLを使用してTaskBoardをインストールする

TaskBoardは、やるべきことを追跡するために使用される無料でオープンソースのカンバンアプリケーションです。これはPHPベースの自己ホスト型アプリケーションで、すべてのタスクを追跡するのに役立ちます。すべてのタスクを管理するためのシンプルでユーザーフレンドリーなWebインターフェースを提供します。これは、作業とその完了への道を表すためにチームや組織によって使用されます。
特徴
- 無料でオープンソース
- 無制限のボード
- シンプルで簡単にインストール可能
- 簡単なカスタマイズ
- RESTful API
- 基本的なユーザー管理
このチュートリアルでは、Debian 11にTaskboardをインストールする方法を示します。
前提条件
- Debian 11を実行しているサーバー。
- サーバーIPにポイントされた有効なドメイン名。
- サーバーに設定されたrootパスワード。
始めに
始める前に、システムパッケージを最新バージョンに更新することをお勧めします。次のコマンドを実行することで、すべてを更新できます:
apt-get update -yすべてのパッケージが更新されたら、次のステップに進むことができます。
Apache、PHP、およびSqliteのインストール
まず、Apache Webサーバー、PHP、SQLite、およびサーバーに必要な他の依存関係をインストールする必要があります。次のコマンドを実行することで、すべてをインストールできます:
apt-get install apache2 sqlite3 php libapache2-mod-php php-cli php-common php-json php-readline php-sqlite3 libaio1 libapr1 libhtml-template-perl libaprutil1-dbd-sqlite3 libaprutil1-ldap libaprutil1 libdbi-perl libterm-readkey-perl curl libwrap0 unzip wget -yすべてのパッケージがインストールされたら、Apacheサービスを起動し、システム再起動時に自動的に起動するように設定します:
systemctl start apache2
systemctl enable apache2作業が完了したら、次のステップに進むことができます。
Taskboardのダウンロード
まず、次のコマンドを使用してTaskboardの最新バージョンをダウンロードします:
curl -s https://api.github.com/repos/kiswa/TaskBoard/releases/latest |grep browser_download_url | cut -d '"' -f 4 | wget -i -ダウンロードが完了したら、次のコマンドを使用してダウンロードしたファイルをApacheのWebルートディレクトリに抽出します:
unzip TaskBoard_v*.zip -d /var/www/html/taskboard次に、Taskboardディレクトリに適切な所有権と権限を設定します:
chown -R www-data:www-data /var/www/html/taskboard
chmod -R 775 /var/www/html/taskboard作業が完了したら、次のステップに進むことができます。
TaskboardのためのApacheの設定
次に、TaskboardのためのApache仮想ホスト設定ファイルを作成する必要があります。次のコマンドを実行することで作成できます:
nano /etc/apache2/sites-available/taskboard.conf次の行を追加します:
ServerAdmin [email protected]
DocumentRoot "/var/www/html/taskboard"
ServerName taskboard.example.com
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
ErrorLog "/var/log/apache2/taskboard-error_log"
CustomLog "/var/log/apache2/taskboard-access_log" combined
作業が完了したらファイルを保存して閉じ、次のコマンドでApache仮想ホストを有効にします:
a2ensite taskboard.conf次に、Apacheのリライトモジュールを有効にし、次のコマンドでApache Webサービスを再起動します:
a2enmod rewrite
systemctl restart apache2次のコマンドを使用してApacheサービスのステータスを確認できます:
systemctl status apache2次の出力が得られます:
? apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-11-06 14:46:54 UTC; 5s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 23704 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 23709 (apache2)
Tasks: 6 (limit: 4679)
Memory: 15.3M
CPU: 110ms
CGroup: /system.slice/apache2.service
??23709 /usr/sbin/apache2 -k start
??23710 /usr/sbin/apache2 -k start
??23711 /usr/sbin/apache2 -k start
??23712 /usr/sbin/apache2 -k start
??23713 /usr/sbin/apache2 -k start
??23714 /usr/sbin/apache2 -k start
Nov 06 14:46:54 debian11 systemd[1]: Starting The Apache HTTP Server...
作業が完了したら、次のステップに進むことができます。
Taskboardにアクセス
この時点で、Taskboardはインストールされ、設定されています。今、Webブラウザを開いて、URL http://taskboard.example.comを使用してTaskboardにアクセスします。Taskboardのログインページにリダイレクトされます:

デフォルトの管理者ユーザー名とパスワードadmin/adminを入力し、サインインボタンをクリックします。次のページにTaskboardのダッシュボードが表示されるはずです:

今、設定ボタンをクリックしてTaskboardのデフォルト管理者パスワードを変更します。次のページが表示されるはずです:

新しい管理者パスワードを入力し、パスワードを変更ボタンをクリックして変更を適用します。
Let’s Encrypt SSLでTaskboardを保護
TaskboardをLet’s Encrypt SSLで保護したい場合は、Certbotクライアントパッケージをインストールし、TaskboardのためにLet’s Encrypt SSLを管理する必要があります。
次のコマンドを実行してインストールできます:
apt-get install python3-certbot-apache -yCertbotパッケージがインストールされたら、次のコマンドを実行してTaskboardウェブサイトのためにLet’s Encrypt SSLをダウンロードしてインストールします。
certbot --apache -d taskboard.example.com次のように、メールアドレスを提供し、利用規約に同意するように求められます:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel): [email protected]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: A
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for taskboard.example.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/taskboard-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/taskboard-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/taskboard-le-ssl.conf
次に、HTTPトラフィックをHTTPSにリダイレクトするかどうかを選択します:
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
2を入力してEnterを押すと、ウェブサイトのためにLet’s Encrypt SSLがインストールされます:
Enabled Apache rewrite module
Redirecting vhost in /etc/apache2/sites-enabled/taskboard.conf to ssl vhost in /etc/apache2/sites-available/taskboard-le-ssl.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled https://taskboard.example.com
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=taskboard.example.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/taskboard.example.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/taskboard.example.com/privkey.pem
Your cert will expire on 2022-02-7. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew *all* of
your certificates, run "certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
これで、URL https://taskboard.example.comを使用して安全にウェブサイトにアクセスできます。
結論
おめでとうございます!ApacheとLet’s Encrypt SSLを使用してTaskboardを正常にインストールしました。これで、ボードを作成し、ユーザーを追加し、タスクを割り当て、中央ダッシュボードからすべてを管理できます。質問があればお気軽にお尋ねください。
新しい投稿を受信箱で受け取る
スパムはありません。いつでも購読を解除できます。