Tags

Files and directories to copy
hosts file
.acquia
.bashrc
alias drush="~/.composer/vendor/bin/drush"
alias newsite="~/bin/new_site"
alias removesite="~/bin/remove_site"



ssh-keygen -t rsa

Browser extensions
Last Pass

Downloaded from site:
intellij  - be sure to install drupal plugin
chrome
teamviewer
skype

Printer http://support.brother.com/g/b/downloadhowto.aspx?c=us_ot&lang=en&prod=hl2280dw_us&os=128&dlid=dlf006893_000&flang=4&type3=625

Downloaded from Software Center
filezilla
Pinta Image editor

Installed from command line:
APACHE
sudo apt-get install apache2
sudo a2enmod rewrite
sudo service apache2 restart


MYSQL
sudo apt-get install mysql-server
sudo mysql_secure_installation


VARIOUS
sudo apt-get install php5 libapache2-mod-php5 php-pear php5-mysql  php5.cli php5-gd php5-curl sudo rsync unzip

GIT

sudo apt-get install git
git config --global user.email "[email protected]"
git config --global user.name "nicxvan"
 


VIM
sudo apt-get install vim
sudo vim ~/.vimrc
colorscheme evening


COMPOSER
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer


DRUSH
composer global require drush/drush:7.*

PHPMYADMIN
sudo apt-get install phpmyadmin apache2-utils
sudo vim /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf


XBINDKEYS
sudo apt-get install xbindkeys xautomation
sudo vim ~/.xbindkeyssrc

Add to startup


# use 'xev' to find key codes.
# xbindkeys for button assignments.

# b:1  -  left mouse button
# b:2  -  wheel button
# b:3  -  right mouse button
# b:4  -  mouse wheel up
# b:5  -  mouse wheel down
# b:6  -  mouse wheel left
# b:7  -  mouse wheel right
# b:8  -  back side button
# b:9  -  forward side button

# Left through chrome tabs
"xte 'keydown Control_L' 'keydown Shift_L' 'keydown Tab' 'keyup Control_L' 'keyup Shift_L' 'keyup Tab' "
 b:9

# Right through chrome tabs
"xte 'keydown Control_L' 'keydown Tab' 'keyup Control_L' 'keyup Tab' "
 b:8



Webex
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default

ls $HOME/.webex 1530
ldd $HOME/.webex/1530/*.so >>check.txt
grep "not found" check.txt
sudo apt-get install apt-file
sudo apt-file update
apt-file search name of file
sudo apt-get install -y libgtk2.0-0:i386
sudo apt-get install -y libgcj14-awt:i386
sudo apt-get install -y libpangoxft-1.0-0:i386
sudo apt-get install -y libxft2:i386
sudo apt-get install -y libpangoft2-1.0-0:i386
sudo apt-get install -y libpangox-1.0-0:i386


.bashrc
export RBENV_ROOT="${HOME}/.rbenv"

if [ -d "${RBENV_ROOT}" ]; then
  export PATH="${RBENV_ROOT}/bin:${PATH}"
  eval "$(rbenv init -)"
fi

ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
sudo apt-get install ruby

Sass 3.2.19 (Media Mark)
sudo gem install sass -v 3.2.19


Compass 0.12.5 (Alnilam)
sudo gem install compass -v 0.12.5

sudo gem install zen-grids -v 1.4
sudo gem install breakpoint -v 2.0.6

List of gems installed.
bigdecimal (1.2.4)
breakpoint (2.0.6)
bundler (1.9.2)
chunky_png (1.3.4)
compass (0.12.5)
fssm (0.2.10)
io-console (0.4.2)
json (1.8.1)
minitest (4.7.5)
psych (2.0.5)
rake (10.1.0)
rdoc (4.1.0)
sass (3.2.19)
sassy-maps (0.4.0)
test-unit (2.1.5.0)
zen-grids (1.4)

XDEBUG
sudo apt-get install php5-dev
sudo pecl install xdebug
sudo vim /etc/php5/apache2/php.ini


;# Added for xdebug
zend_extension="/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.max_nesting_level=300
xdebug.remote_autostart=1

Script to add site
#! /bin/bash
# For setting up new test site locally
# new_site hostname.local ~/development/internal

HOSTNAME=$1
DOCROOT=$2

sudo touch /etc/apache2/sites-available/$

#! /bin/bash
# For setting up new test site locally
# new_site hostname.local ~/development/internal

HOSTNAME=$1
DOCROOT=$2

sudo touch /etc/apache2/sites-available/$HOSTNAME.conf
sudo chmod 777 /etc/apache2/sites-available/$HOSTNAME.conf

echo "<VirtualHost *:80>
        ServerName $HOSTNAME

        ServerAdmin admin@$HOSTNAME
        DocumentRoot $DOCROOT
        <Directory \"$DOCROOT\">
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
" > /etc/apache2/sites-available/$HOSTNAME.conf

sudo chmod 644 /etc/apache2/sites-available/$HOSTNAME.conf

sudo a2ensite $HOSTNAME.conf
sudo service apache2 reload
  Script for removing site #! /bin/bash
# For setting up new test site locally
# new_site hostname.local

HOSTNAME=$1

a2dissite $HOSTNAME.conf
service apache2 reload

sudo rm -rf /etc/apache2/sites-available/$HOSTNAME.conf

  NodeJS NPM sudo apt-get install nodejs   Phonegap requires NPM and Nodejs sudo apt-get update sudo apt-get install -y python-software-properties python g++ make sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo npm install -g phonegap

Gulp

sudo npm install -g gulp

JSPM

sudo install -g jspm

LinuxBrew

https://github.com/Homebrew/linuxbrew

sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"

Add to your .bashrc or .zshrc:

export PATH="$HOME/.linuxbrew/bin:$PATH" export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH" export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"

brew doctor

 

sudo apt-get install python-dev

Docker

wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker nic   Vagrant http://www.vagrantup.com/downloads.html.   VirtualBox sudo apt-get install virtualbox-qt