Last active
January 16, 2017 06:41
-
-
Save vitalybaev/320d30b40594010614081766e7453994 to your computer and use it in GitHub Desktop.
Debian 8 Init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Устанавливаем русскую локаль | |
localedef ru_RU.UTF-8 -i ru_RU -fUTF-8 | |
# Добавляем dotdeb.org репозиторий | |
wget https://www.dotdeb.org/dotdeb.gpg | |
apt-key add dotdeb.gpg | |
# Устанавливаем необходимые пакеты | |
apt-get install -y sudo nano build-essential apt-utils ntp sudo htop git zip apt-transport-https | |
apt-get install -y nginx php7.0 php7.0-curl php7.0-fpm php7.0-imagick php7.0-json php7.0-mbstring php7.0-mongodb php7.0-pdo-mysql php7.0-zip php7.0-dom | |
# Устанавливаем Node.js | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
apt-get install -y nodejs | |
# Устанавливаем Yarn | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update && sudo apt-get install yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment