firefish/ubuntu-bash-install
Archived
6
7
Fork
You've already forked ubuntu-bash-install
5
Fork of join-misskey's Ubuntu bash installer for Calckey
This repository has been archived on 2025年01月01日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Shell 100%
2023年07月11日 00:38:48 +00:00
LICENSE Calckey-ify 2023年01月08日 15:35:12 -08:00
README.md Update 'README.md' 2023年04月17日 02:18:31 +00:00
ubuntu.sh fix: create database with UTF8 encoding 2023年07月11日 00:38:48 +00:00
update.ubuntu.sh Update 'update.ubuntu.sh' 2023年07月02日 21:00:09 +00:00

Calckey Ubuntu install shell script

This is forked from https://github.com/joinmisskey/bash-install for use with Calckey.

Install Calckey with one shell script!

You can install calckey on an Ubuntu server just by answering some questions.

There is also an update script.

Requirements

  • A domain
  • An Ubuntu server/vps
  • Git
  • wget
  • Docker (optional)

Configure Cloudflare

If you are using Nginx and Cloudflare, you must configure Cloudflare:

  • Set DNS.
  • On SSL/TLS setting tab, switch the encryption mode to "Full".
  • Turn off code minification.

Steps

1. Prepare

Make sure all packages are up to date and reboot.

sudo apt update; sudo apt install git wget; sudo apt full-upgrade -y; sudo reboot

2. Start the installation

Reconnect SSH and let's start installing Calckey.

wget https://codeberg.org/calckey/ubuntu-bash-install/raw/branch/main/ubuntu.sh -O ubuntu.sh; sudo bash ubuntu.sh

3. Updating

There is also an update script.

First, download the script.

wget https://codeberg.org/calckey/ubuntu-bash-install/raw/branch/main/update.ubuntu.sh -O update.sh

Run it when you want to update Calckey.

sudo bash update.sh
  • In the systemd environment, the -r option can be used to update and reboot the system.
  • In the docker environment, you can specify repository:tag as an argument.