vagrant

Vagrant update php version in Debian Wheezy

edit file sources.list

$ sudo nano /etc/apt/sources.list

add

deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
deb http://packages.dotdeb.org wheezy-php56-zts all
deb-src http://packages.dotdeb.org wheezy-php56-zts all

Then run

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install php5

To reset MYSQL root password:

$ sudo dpkg-reconfigure mysql-server-5.5

Grant all privileges to a user

$ GRANT ALL PRIVILEGES ON mydb.* TO 'myuser'@'%' WITH GRANT OPTION;

Set up my local environment using Linux-mint

Install GIT

$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git

set up your email and username

$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"

Install Sublime

Open a terminal with Ctrl+Alt+T and type:

$ sudo add-apt-repository ppa:webupd8team/sublime-text-2
$ sudo apt-get update

Optional: remove any installed Sublime Text packages: