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.
- Create user
mastodon
and add sudoers.
# adduser mastodon
# adduser mastodon sudo
- Change user to
mastodon
and clone this repository.
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
- 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
- Follow the interactive instructions.
This will create
.env.production
1.
- Change user to
mastodon
and clone this repository.
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
- Run
update.sh
.
$ cd mastodon-install-script
$ ./update.sh
- Mastodon(github repo) https://github.com/mastodon/mastodon
- Official Installation Manual https://docs.joinmastodon.org/admin/install/