ユーザマニュアル





2024/07/18

MANUAL

プリザンターをWindowsにインストールする

## 概要 本説明は、以下に示す環境にプリザンターの動作環境を構築するための手順を示したものです。 |対象|環境・バージョン| |------|:--------------| |OS|Windows Server| |DB|SQL Server| |Webサーバ|IIS| |Platform|.NET 8| |Pleasanter|プリザンター 1.4| ## 注意事項 ver1.4.6以降でのインストール時に、CodeDefinerに引数を指定しないで実行した場合、言語:英語、タイムゾーン:UTCでセットアップされますので、必要に応じて言語とタイムゾーンをご指定ください。 ## 手順 構築手順は以下の通りです。 1. 事前準備 1. プリザンターのセットアップ 1. CodeDefinerの実行 1. IISのセットアップ 1. プリザンターの起動確認 ## 1. 事前準備 1. プリザンターをインストールする環境に合わせて、事前の準備を行います。 [プリザンターをWindows Server 2022にインストールする](/manual/getting-started-pleasanter-windows-server2022) [プリザンターをWindows Server 2019にインストールする](/manual/getting-started-pleasanter-windows-server2019) [プリザンターをWindows Server 2016にインストールする](/manual/getting-started-pleasanter-windows-server2016) [プリザンターをWindows 10 / 11 にインストールする](/manual/getting-started-pleasanter-windows10) ## 2. プリザンターのセットアップ 1. [ダウンロードセンター](https://pleasanter.org/dlcenter)から、プリザンター最新バージョンをダウンロードします。 1. ダウンロードしたzipファイルを解凍し、サーバに配置します。 Cドライブに「web」フォルダーを作成し、そこに「pleasanter」 フォルダーを配置するものとして記述します。 C:\web\pleasanter\Implem.Pleasanter C:\web\pleasanter\Implem.CodeDefiner C:\web\pleasanter\Tools ![image](/binaries/dbc3b0ef75244e9e8187bd47bbd03862) 1. データベースへの接続情報を設定します。 C:\web\pleasanter\Implem.Pleasanter\App_Data\Parameters\Rds.json を以下のように設定します。 |No|プロパティ名|値| |:----|:----|:----| |1|Dbms|"SQLServer"| |2|SaConnectionString|"Server=(local);Database=master;UID=sa;PWD=<font color="Red">XXX</font>;Connection Timeout=30;"<br>※PWDの値はSQL Serverのsaアカウントのパスワードを入力してください。| |3|OwnerConnectionString|"Server=(local);Database=#ServiceName#;UID=#ServiceName#_Owner;PWD=<font color="Red">XXX</font>;Connection Timeout=30;"※PWDの値は任意のパスワードを入力してください。| |4|UserConnectionString|"Server=(local);Database=#ServiceName#;UID=#ServiceName#_User;PWD=<font color="Red">XXX</font>;Connection Timeout=30;"※PWDの値は任意のパスワードを入力してください。| ```json { "Dbms": "SQLServer", "Provider": "Local", "SaConnectionString": "Server=(local);Database=master;UID=sa;PWD=SetSaPWD;Connection Timeout=30;", "OwnerConnectionString": "Server=(local);Database=#ServiceName#;UID=#ServiceName#_Owner;PWD=SetAdminsPWD;Connection Timeout=30;", "UserConnectionString": "Server=(local);Database=#ServiceName#;UID=#ServiceName#_User;PWD=SetUsersPWD;Connection Timeout=30;", "SqlCommandTimeOut": 0, "MinimumTime": 3, "DeadlockRetryCount": 4, "DeadlockRetryInterval": 1000, "DisableIndexChangeDetection": true } ``` ## 3. CodeDefinerの実行 コマンドプロンプトまたはPowerShellを起動し、以下コマンドを実行します。ご利用バージョンに応じて実行するコマンドが異なります。 ### ver.1.4.5まで ``` cd C:\web\pleasanter\Implem.CodeDefiner dotnet Implem.CodeDefiner.dll _rds ``` ### ver.1.4.6以降 ※下記コマンドは初回インストール時にのみ実行します。 ``` cd C:\web\pleasanter\Implem.CodeDefiner dotnet Implem.CodeDefiner.dll _rds /l "<言語>" /z "<タイムゾーン>" ``` |引数|値|説明| |:--|:--|:--| |/l|ja|Service.jsonのDefaultLanguageの値を書き換えます(※1)| |/z|Tokyo Standard Time|Service.jsonのTimeZoneDefaultの値を書き換えます(※1)| (※1) 言語、タイムゾーンは以下マニュアルページを参照ください。 [FAQ:プリザンターでサポートしている言語とタイムゾーンのパラメータの設定値を知りたい](https://pleasanter.org/manual/faq-supported-language) 日本語環境でご利用する場合は以下コマンドとなります。 ``` cd C:\web\pleasanter\Implem.CodeDefiner dotnet Implem.CodeDefiner.dll _rds /l "ja" /z "Tokyo Standard Time" ``` ## 4. IISのセットアップ 1. 「サーバマネージャー」の「ツール(T)」メニューを開き「インターネット インフォメーション サービス(IIS)マネージャー」を起動します。 1. 「アプリケーションプール」の「DefaultAppPool」を選択し、「基本設定」をクリックします。 ![image](/binaries/b0d96c97e3b74d10b9f7b2c313838b67) 1. Net CLR バージョンを、「マネージコードなし」に変更します。 ![image](/binaries/1c29fb8bbca74307912728bf09709a6e) 1. 左ペインより、「[サイト](/manual/site)」-「Default Web Site」を選択して、右ペインの詳細設定をクリックします。 ![image](/binaries/1ae3f880aa014778b37641a4c74e1805) 1. 物理パスを、「C:\web\pleasanter\Implem.Pleasanter」と入力します。 ![image](/binaries/bb117b9a1075497384806f418895b6c8) 1. 左ペインより、「[サイト](/manual/site)」-「Default Web Site」を選択して、右ペインの「再起動」をクリックして、IISを再起動します。 ![image](/binaries/ca5a5b6a74474f709d92d0aafba9b9a0) 1. 再起動後、右ペインの「*.80(http)参照」をクリックし、プリザンターを起動します。 ![image](/binaries/e62a3e5ca4fb4ab69b54d8dd5f0bc122) ## 5. プリザンターの動作確認 1. プリザンターのログイン画面にて「ログインID: Administrator」「初期パスワード: pleasanter」を入力し、「ログイン」ボタンをクリックします。 ![image](/binaries/5477647dc121413190827affdc7fa1ff) 1. ログイン後に「Administrator」ユーザーのパスワード変更を求められるので、任意のパスワードを入力し、「変更」ボタンをクリックします。 ![image](/binaries/d57262564d8e49568553a84b273d3797)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.