Brew: MySQL, some cleaning.

This commit is contained in:
Artem Sapegin 2012-10-25 18:31:00 +04:00
parent 5bcf42bdbd
commit 5fa52e4c00

View File

@ -12,23 +12,27 @@ brew update
# Upgrade any already-installed formulae
brew upgrade
# Install GNU core utilities (those that come with OS X are outdated)
# GNU core utilities (those that come with OS X are outdated)
brew install coreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
# GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
# Install more recent versions of some OS X tools
# More recent versions of some OS X tools
brew tap homebrew/dupes
brew install homebrew/dupes/grep
#brew tap josegonzalez/homebrew-php
#brew install php54
# Install Git
# Git
brew install git
brew install git-extras
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh)
# Install everything else
# MySQL
brew install mysql
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
/usr/local/opt/mysql/bin/mysqladmin -u root password 'root'
# Everything else
brew install unrar
brew install node