diff --git a/src/functions.sh b/src/functions.sh index bf424a6..77dd007 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -111,8 +111,9 @@ inst_45drives() { apt update } +#### Set repo and install Docker #### inst_docker() { apt_repo "docker" "https://download.docker.com/linux/debian/gpg" "https://download.docker.com/linux/debian" "$(lsb_release -cs)" stable apt update DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin pwgen -} \ No newline at end of file +} diff --git a/src/matrix/install-service.sh b/src/matrix/install-service.sh index 35b39c9..fa54e91 100644 --- a/src/matrix/install-service.sh +++ b/src/matrix/install-service.sh @@ -11,6 +11,13 @@ source /root/constants-service.conf set -euo pipefail +#### Set repo and install matrix #### +inst_matrix() { + apt_repo "matrix" "https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg" "https://packages.matrix.org/debian" "$(lsb_release -cs)" "main" + apt update + DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y -qq matrix-synapse-py3 && systemctl enable matrix-synapse +} + MRX_PKE=$(random_password) ELE_DBNAME="synapse_db" diff --git a/src/onlyoffice/install-service.sh b/src/onlyoffice/install-service.sh index ff4c9f3..1bb429f 100644 --- a/src/onlyoffice/install-service.sh +++ b/src/onlyoffice/install-service.sh @@ -11,6 +11,13 @@ source /root/constants-service.conf set -euo pipefail +#### Set repo and install onlyoffice #### +inst_onlyoffice() { + apt_repo "onlyoffice" "https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE" "https://download.onlyoffice.com/repo/debian" "squeeze" "main" + apt update + DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y -qq ttf-mscorefonts-installer onlyoffice-documentserver +} + ONLYOFFICE_DB_PASS=$(random_password) inst_postgresql