mastodon-install-script icon indicating copy to clipboard operation
mastodon-install-script copied to clipboard

簡単にMastodonサーバーを建てられるようにするスクリプト / Scritpts to easily deploy Mastodon on Ubuntu

Mastodon-install-script

Scritpts to easily deploy Mastodon on Ubuntu. I hope it will be useful for you.

NOTE: By using this script, Mastodon will be installed on non-docker environment.

Usage

Install Mastodon

  1. Create user mastodon and add sudoers.
# adduser mastodon
# adduser mastodon sudo
  1. Change user to mastodon and clone this repository.
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
  1. Run install.sh. This script will ask you to enter the server's domain name and email address of the administrator.
$ cd mastodon-install-script
$ ./install.sh
  1. Follow the interactive instructions. This will create .env.production^setup.

Update Mastodon

  1. Change user to mastodon and clone this repository.
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
  1. Run update.sh.
$ cd mastodon-install-script
$ ./update.sh

Reference