GraphQL
2021年11月26日
2021年11月25日
プリザンターをUbuntuにインストールする postgresql
プリザンターをUbuntuにインストールする (postgresql)
PostgreSQLのセットアップ
sudo su - postgres
psql -U postgres
###PostgreSQLの管理ユーザー "postgres" のパスワードを設定
###Passwd643 no tame musi
###postgres=# alter role postgres with password 'SetSaPWD';
プリザンター用のデータベース作成
データベース "Implem.Pleasanter" を作成します。
postgres=# create database "Implem.Pleasanter";
全文検索用モジュール(pg_trgm)のインストール
テキストの全⽂検索に必要なモジュール(pg_trgm)をインストールします。
postgres=# \c "Implem.Pleasanter"
Implem.Pleasanter=# create extension pg_trgm;
koko kara プリザンターのセットアップ
gedit home/w1/web/pleasanter/Implem.Pleasanter/App_Data/Parameters/Rds.json
/web/pleasanter/Implem.Pleasanter/App_Data/Parameters/Rds.json
CodeDefinerの実行
cd /home/w1/web/pleasanter/Implem.CodeDefiner
dotnet Implem.CodeDefiner.NetCore.dll _rds
Pleasnterの起動確認
cd /home/w1/web/pleasanter/Implem.Pleasanter
dotnet Implem.Pleasanter.NetCore.dll
stop
Pleasanterサービス用スクリプトの作成
/etc/systemd/system/pleasanter.service を以下の内容で作成します。
->copy
サービスとして登録・サービスの起動
sudo systemctl daemon-reload
sudo systemctl enable pleasanter
sudo systemctl start pleasanter
apache
初期アカウント
ログインID "Administrator" が初期ユーザーとして作成されます。
初期ユーザーのパスワードは、既定では"pleasanter"(※)です。初回ログイン時にパスワード変更ダイアログが表示されますので、任意のパスワードを設定してください。このパスワードは、"/web/pleasanter/Implem.Pleasanter/App_Data/Parameters/Service.json" の "DefaultPassword" で指定可能です。
posted by a23 at 13:02| Comment(0)
| pleasanter