Homebrew + Nginx + PHP-FPM + Redis + MongoDB + MariaDB on MAC OS

nano ~/install.sh

#!/usr/bin/bash cat <<DOCS Необходимо установить Xcode и выполнить xcode-select --install для установки Command Line Tools и только после этого запустить этот скрипт DOCS read -p 'Вы выполнили эти действия? [y/n]): ' answer if [ "$answer" != 'y' ] && [ "$answer" != 'Y' ]; then echo 'Всего доброго' exit 1 fi ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # Устанавливаем репозитории brew tap homebrew/versions brew tap homebrew/dupes #brew tap josegonzalez/homebrew-php brew tap homebrew/php #brew tap homebrew/homebrew-php #brew tap dart-lang/dartbrew tap dart-lang/dart brew tap homebrew/nginx brew update brew upgrade #brew install caskroom/cask/brew-cask brew install lzlib echo ' ant atk autoconf autoconf-archive automake bash bash-completion binutils bison boost boost-build cabextract cairo cloog cloog-ppl015 cloog018 cmake coreutils cpanminus curl diffutils drush ed elasticsearch17 erlang file-formula findutils flex fontconfig freetype gawk gcc gd gdbm gdk-pixbuf geoip gettext git glib gmp gmp4 gnu-indent gnu-sed gnu-tar gnu-which gnutls gobject-introspection gpatch grep gzip harfbuzz htop-osx icu4c isl isl011 jasper jpeg less logrotate lzip lzo m4 make makedepend mariadb mcrypt memcached mercurial mhash midnight-commander mongodb mpfr mpfr2 nano ncurses nettle nginx-full --with-upload-module ngrep node nspr openssl openvpn ossp-uuid p7zip pango pbzip2 pcre perl518 phantomjs php70 --with-fpm php70-mcrypt php70-pcntl php70-xdebug php70-pdo-pgsql pigz pixman pkg-config popt postgresql94 pyqt5 python python3 qcachegrind qt qt5 rbenv re2c readline reaver redis ruby ruby-build rabbitmq s-lang scons sip spidermonkey sqlite tuntap unixodbc unoconv unrar v8 watch wdiff wget wxmac xz' > ~/brew.lst brew install `cat ~/brew.lst|sed "s/screen//"|sed "s/brew-cask//"|sed "s/dart//"` brew install --HEAD homebrew/php/php70-redis brew install --HEAD homebrew/php/php70-mongodb brew install --HEAD homebrew/php/php70-yaml brew install --HEAD homebrew/php/php70-ssh2 brew install libpng --universal #brew install wine --with-gcc #brew install wine winetricks #brew install php-code-sniffer #brew install composer