sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install nginx php5-fpm php5-cli php5-gd mariadb-server-5.5
sudo apt-get -y install git phpmyadmin
| # ------------------------------ | |
| # symlink | |
| # ------------------------------ | |
| # .oh-my-zsh-custom/ | |
| # .gitconfig | |
| # .jshintrc | |
| # .pryrc | |
| # .tigrc | |
| # .tmux.conf | |
| # .vimrc |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
| #!/bin/bash | |
| if [ $(id -u) != 0 ]; then | |
| printf "This script must be run as root.\n" | |
| exit 1 | |
| fi | |
| drupal_path=${1%/} | |
| drupal_user=${2} | |
| httpd_group="${3:-www-data}" |
#You should do all your LAMP development in a Virtual Machine
##Here's Why:
Many of us develop on Macintoshes. There are many reasons for this, but one of them is that it's based on a Unix platform of some sort. This allows us to run common server software such as Apache, Ruby, Python and Nodejs on our Macs.
Our computers become powerful develoment machines similar to the servers our apps will eventually live on.
Sometime we start our computer only to find Apache won't start, or MySQL can't create a PID file, or we've updated to Mountain Lion and Apache needs to be reconfigured. Death!
sudo apt-get install vim tmux git curl