commit 5fbbf8db3616b5f7942757fd7dce93ad1ce1d818 Author: Vassiliy Yegorov Date: Tue Apr 14 21:11:51 2020 +0700 init commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..4182860 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Скрипт для установки 3CX на Debian 10 + +- скачать +``` +curl https://github.com/vasyakrg/3cx-install/install.sh -o install.sh +``` + +- запустить +``` +sh ./install.sh +``` + +### Видео, как я это делал, [тут](https://youtu.be/QHXiQI7APcE) +##### Автор + - **Vassiliy Yegorov** - *Initial work* - [vasyakrg](https://github.com/vasyakrg) diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..5135064 --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +apt update + +apt install wget curl + +wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | sudo apt-key add - +echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | sudo tee /etc/apt/sources.list.d/3cxpbx.list +echo "deb http://downloads-global.3cx.com/downloads/debian stretch-testing main" | sudo tee /etc/apt/sources.list.d/3cxpbx-testing.list +sudo apt update +sudo apt install net-tools dphys-swapfile +sudo apt install 3cxpbx