1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #Don't use homebrew heavily on linux. Especially for php apache mysql. Those things worst best with the digitalocean install guides with apt install only. For mac we sure need brew for everything # First install homebrew # Source: https://docs.brew.sh/Homebrew-on-Linux /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile brew install composer npm npm install ionic cordova -g sudo a2enmod rewrite; # Do this # https://askubuntu.com/questions/421233/enabling-htaccess-file-to-rewrite-path-not-working #turn on short open tags, maxupload size, memory -- php.ini |