jointrashposs/content/ko/docs/3.for-admin/install/guides/manual.md
かっこかり d7ad8387a9
New Crowdin updates (#92)
* New translations 1.about-misskey.md (French)

* New translations 2.get-started.md (French)

* New translations 3.join-server.md (French)

* New translations 4.things-to-know.md (French)

* New translations ads.md (French)

* New translations drive.md (French)

* New translations mfm.md (French)

* New translations mute-and-block.md (French)

* New translations pages.md (French)

* New translations poll.md (French)

* New translations thread-mute.md (French)

* New translations webhook.md (French)

* New translations 1.troubleshooting.md (French)

* New translations donate.md (French)

* New translations misskey-hub.md (French)

* New translations announcement.md (French)

* New translations role.md (French)

* New translations 1.index.md (French)

* New translations bash.md (French)

* New translations docker.md (French)

* New translations kubernetes.md (French)

* New translations manual.md (French)

* New translations ubuntu-manual.md (French)

* New translations cdn.md (French)

* New translations disable-timelines.md (French)

* New translations 1.index.md (French)

* New translations permission.md (French)

* New translations 1.index.md (French)

* New translations token.md (French)

* New translations 5.releases.md (French)

* New translations 1.about-misskey.md (Italian)

* New translations 2.get-started.md (Italian)

* New translations 3.join-server.md (Italian)

* New translations 4.things-to-know.md (Italian)

* New translations ads.md (Italian)

* New translations drive.md (Italian)

* New translations mfm.md (Italian)

* New translations mute-and-block.md (Italian)

* New translations pages.md (Italian)

* New translations poll.md (Italian)

* New translations share-form.md (Italian)

* New translations thread-mute.md (Italian)

* New translations webhook.md (Italian)

* New translations 1.troubleshooting.md (Italian)

* New translations donate.md (Italian)

* New translations misskey-hub.md (Italian)

* New translations announcement.md (Italian)

* New translations role.md (Italian)

* New translations 1.index.md (Italian)

* New translations bash.md (Italian)

* New translations docker.md (Italian)

* New translations kubernetes.md (Italian)

* New translations manual.md (Italian)

* New translations ubuntu-manual.md (Italian)

* New translations cdn.md (Italian)

* New translations disable-timelines.md (Italian)

* New translations 1.index.md (Italian)

* New translations permission.md (Italian)

* New translations 1.index.md (Italian)

* New translations token.md (Italian)

* New translations 5.releases.md (Italian)

* New translations 1.about-misskey.md (Korean)

* New translations 1.warning.md (Korean)

* New translations 2.get-started.md (Korean)

* New translations 3.join-server.md (Korean)

* New translations 4.things-to-know.md (Korean)

* New translations ads.md (Korean)

* New translations drive.md (Korean)

* New translations mfm.md (Korean)

* New translations mute-and-block.md (Korean)

* New translations pages.md (Korean)

* New translations poll.md (Korean)

* New translations share-form.md (Korean)

* New translations thread-mute.md (Korean)

* New translations webhook.md (Korean)

* New translations 1.troubleshooting.md (Korean)

* New translations donate.md (Korean)

* New translations misskey-hub.md (Korean)

* New translations announcement.md (Korean)

* New translations role.md (Korean)

* New translations 1.index.md (Korean)

* New translations bash.md (Korean)

* New translations docker.md (Korean)

* New translations kubernetes.md (Korean)

* New translations manual.md (Korean)

* New translations ubuntu-manual.md (Korean)

* New translations cdn.md (Korean)

* New translations disable-timelines.md (Korean)

* New translations 1.index.md (Korean)

* New translations permission.md (Korean)

* New translations 1.index.md (Korean)

* New translations token.md (Korean)

* New translations 5.releases.md (Korean)

* New translations 1.about-misskey.md (Polish)

* New translations 2.get-started.md (Polish)

* New translations 3.join-server.md (Polish)

* New translations 4.things-to-know.md (Polish)

* New translations ads.md (Polish)

* New translations drive.md (Polish)

* New translations mfm.md (Polish)

* New translations mute-and-block.md (Polish)

* New translations pages.md (Polish)

* New translations poll.md (Polish)

* New translations share-form.md (Polish)

* New translations thread-mute.md (Polish)

* New translations webhook.md (Polish)

* New translations 1.troubleshooting.md (Polish)

* New translations donate.md (Polish)

* New translations misskey-hub.md (Polish)

* New translations announcement.md (Polish)

* New translations role.md (Polish)

* New translations 1.index.md (Polish)

* New translations bash.md (Polish)

* New translations docker.md (Polish)

* New translations kubernetes.md (Polish)

* New translations manual.md (Polish)

* New translations ubuntu-manual.md (Polish)

* New translations cdn.md (Polish)

* New translations disable-timelines.md (Polish)

* New translations 1.index.md (Polish)

* New translations permission.md (Polish)

* New translations 1.index.md (Polish)

* New translations token.md (Polish)

* New translations 5.releases.md (Polish)

* New translations ja-jp.yml (Chinese Simplified)

* New translations 1.about-misskey.md (Chinese Simplified)

* New translations 2.get-started.md (Chinese Simplified)

* New translations 3.join-server.md (Chinese Simplified)

* New translations 4.things-to-know.md (Chinese Simplified)

* New translations ads.md (Chinese Simplified)

* New translations drive.md (Chinese Simplified)

* New translations mfm.md (Chinese Simplified)

* New translations mute-and-block.md (Chinese Simplified)

* New translations pages.md (Chinese Simplified)

* New translations poll.md (Chinese Simplified)

* New translations share-form.md (Chinese Simplified)

* New translations thread-mute.md (Chinese Simplified)

* New translations webhook.md (Chinese Simplified)

* New translations 1.troubleshooting.md (Chinese Simplified)

* New translations donate.md (Chinese Simplified)

* New translations misskey-hub.md (Chinese Simplified)

* New translations announcement.md (Chinese Simplified)

* New translations role.md (Chinese Simplified)

* New translations 1.index.md (Chinese Simplified)

* New translations bash.md (Chinese Simplified)

* New translations docker.md (Chinese Simplified)

* New translations kubernetes.md (Chinese Simplified)

* New translations manual.md (Chinese Simplified)

* New translations ubuntu-manual.md (Chinese Simplified)

* New translations cdn.md (Chinese Simplified)

* New translations disable-timelines.md (Chinese Simplified)

* New translations 1.index.md (Chinese Simplified)

* New translations permission.md (Chinese Simplified)

* New translations 1.index.md (Chinese Simplified)

* New translations token.md (Chinese Simplified)

* New translations 5.releases.md (Chinese Simplified)

* New translations 1.about-misskey.md (Chinese Traditional)

* New translations 2.get-started.md (Chinese Traditional)

* New translations 3.join-server.md (Chinese Traditional)

* New translations 4.things-to-know.md (Chinese Traditional)

* New translations ads.md (Chinese Traditional)

* New translations drive.md (Chinese Traditional)

* New translations mfm.md (Chinese Traditional)

* New translations mute-and-block.md (Chinese Traditional)

* New translations pages.md (Chinese Traditional)

* New translations poll.md (Chinese Traditional)

* New translations share-form.md (Chinese Traditional)

* New translations thread-mute.md (Chinese Traditional)

* New translations webhook.md (Chinese Traditional)

* New translations 1.troubleshooting.md (Chinese Traditional)

* New translations donate.md (Chinese Traditional)

* New translations misskey-hub.md (Chinese Traditional)

* New translations announcement.md (Chinese Traditional)

* New translations role.md (Chinese Traditional)

* New translations 1.index.md (Chinese Traditional)

* New translations bash.md (Chinese Traditional)

* New translations docker.md (Chinese Traditional)

* New translations kubernetes.md (Chinese Traditional)

* New translations manual.md (Chinese Traditional)

* New translations ubuntu-manual.md (Chinese Traditional)

* New translations cdn.md (Chinese Traditional)

* New translations disable-timelines.md (Chinese Traditional)

* New translations 1.index.md (Chinese Traditional)

* New translations permission.md (Chinese Traditional)

* New translations 1.index.md (Chinese Traditional)

* New translations token.md (Chinese Traditional)

* New translations publish-on-your-website.md (Chinese Traditional)

* New translations 5.releases.md (Chinese Traditional)

* New translations 1.about-misskey.md (English)

* New translations 2.get-started.md (English)

* New translations 3.join-server.md (English)

* New translations 4.things-to-know.md (English)

* New translations ads.md (English)

* New translations drive.md (English)

* New translations mfm.md (English)

* New translations mute-and-block.md (English)

* New translations pages.md (English)

* New translations poll.md (English)

* New translations share-form.md (English)

* New translations thread-mute.md (English)

* New translations webhook.md (English)

* New translations 1.troubleshooting.md (English)

* New translations donate.md (English)

* New translations misskey-hub.md (English)

* New translations announcement.md (English)

* New translations role.md (English)

* New translations 1.index.md (English)

* New translations bash.md (English)

* New translations docker.md (English)

* New translations kubernetes.md (English)

* New translations manual.md (English)

* New translations ubuntu-manual.md (English)

* New translations cdn.md (English)

* New translations disable-timelines.md (English)

* New translations 1.index.md (English)

* New translations permission.md (English)

* New translations 1.index.md (English)

* New translations token.md (English)

* New translations 5.releases.md (English)

* New translations 1.about-misskey.md (Indonesian)

* New translations 2.get-started.md (Indonesian)

* New translations 3.join-server.md (Indonesian)

* New translations 4.things-to-know.md (Indonesian)

* New translations ads.md (Indonesian)

* New translations drive.md (Indonesian)

* New translations mfm.md (Indonesian)

* New translations mute-and-block.md (Indonesian)

* New translations pages.md (Indonesian)

* New translations poll.md (Indonesian)

* New translations share-form.md (Indonesian)

* New translations thread-mute.md (Indonesian)

* New translations webhook.md (Indonesian)

* New translations 1.troubleshooting.md (Indonesian)

* New translations donate.md (Indonesian)

* New translations misskey-hub.md (Indonesian)

* New translations announcement.md (Indonesian)

* New translations role.md (Indonesian)

* New translations 1.index.md (Indonesian)

* New translations bash.md (Indonesian)

* New translations docker.md (Indonesian)

* New translations kubernetes.md (Indonesian)

* New translations manual.md (Indonesian)

* New translations ubuntu-manual.md (Indonesian)

* New translations cdn.md (Indonesian)

* New translations disable-timelines.md (Indonesian)

* New translations 1.index.md (Indonesian)

* New translations permission.md (Indonesian)

* New translations 1.index.md (Indonesian)

* New translations token.md (Indonesian)

* New translations 5.releases.md (Indonesian)
2023-12-29 13:23:03 +09:00

4.1 KiB

description
이 가이드에서는 Misskey의 설치 및 설정 방법에 대해 설명합니다.

Misskey를 수동으로 구축하기

이 가이드에서는 Misskey의 설치 및 설정 방법에 대해 설명합니다.

:::danger

一度使用を始めたサーバーのドメイン・ホスト名は、決して変更しないでください!

:::

:::tip{label='前提条件'}

以下のソフトウェアがインストール・設定されていること

Debian/Ubuntuをお使いであれば、build-essentialパッケージをインストールしておくと良いです。

corepackが有効化されていること

sudo corepack enable

:::

ユーザーの作成

Misskeyはrootユーザーで実行しない方がよいため、代わりにユーザーを作成します。 Debianの例:

sudo -iu misskey
git clone --recursive https://github.com/misskey-dev/misskey.git
cd misskey
git checkout master
git submodule update --init
NODE_ENV=production pnpm install --frozen-lockfile

설정

sudo -iu misskey
git clone --recursive https://github.com/misskey-dev/misskey.git
cd misskey
git checkout master
git submodule update --init
NODE_ENV=production pnpm install --frozen-lockfile

設定

파일 내 지침에 따라 default.yml을 편집합니다.

cp .config/example.yml .config/default.yml

다음 명령어로 Misskey를 빌드하고 데이터베이스를 초기화합니다. 이 작업은 시간이 좀 걸립니다.

ビルドと初期化

次のコマンドでMisskeyのビルドとデータベースの初期化を行います。 これにはしばらく時間がかかります。

NODE_ENV=production pnpm run build
pnpm run init

起動

お疲れ様でした。以下のコマンドでMisskeyを起動できます。

NODE_ENV=production pnpm run start

systemd 서비스 파일 생성하기

/etc/systemd/system/misskey.service

편집기에서 열어, 다음 코드를 붙여넣고 저장합니다.

/etc/systemd/system/misskey.service

エディタで開き、以下のコードを貼り付けて保存:

[Unit]
Description=Misskey daemon

[Service]
Type=simple
User=misskey
ExecStart=/usr/bin/npm start
WorkingDirectory=/home/misskey/misskey
Environment="NODE_ENV=production"
TimeoutSec=60
StandardOutput=journal
StandardError=journal
SyslogIdentifier=misskey
Restart=always

[Install]
WantedBy=multi-user.target

:::warning

misskey 서비스 시작

:::

systemdを再読み込みしmisskeyサービスを有効化

sudo systemctl daemon-reload
sudo systemctl enable misskey

misskeyサービスの起動

sudo systemctl start misskey

:::tip

systemctl status misskeyと入力すると、サービスの状態を調べることができます。

:::

업데이트가 끝나면 Misskey 프로세스를 다시 시작하십시오.

Misskeyのアップデート方法

:::warning

アップデートの際は必ずリリースノートを確認し、変更点や追加で必要になる作業の有無(ほとんどの場合ありません)を予め把握するようにしてください。

:::

masterをpullし直し、インストール、ビルド、データベースのマイグレーションを行います:

git checkout master
git pull
git submodule update --init
NODE_ENV=production pnpm install --frozen-lockfile
NODE_ENV=production pnpm run build
pnpm run migrate

アップデート内容、およびデータベースの規模によっては時間がかかることがあります。

アップデートが終わり次第、Misskeyプロセスを再起動してください。

sudo systemctl restart misskey

:::tip

ビルドや起動時にエラーが発生した場合は、以下のコマンドをお試しください:

  • pnpm run clean 또는 pnpm run clean-all을 실행합니다.
  • pnpm rebuild :::