- uninstall older vagrant
sudo rm -rf /opt/vagrant
sudo rm -rf /usr/bin/vagrant
sudo rm -rf ~/.vagrant.d
- install VirtualBox
sudo apt-get install virtualbox
#http://serverfault.com/questions/3743/what-useful-things-can-one-add-to-ones-bashrc | |
extract () { | |
if [ -f $1 ] ; then | |
case $1 in | |
*.tar.bz2) tar xvjf $1 ;; | |
*.tar.gz) tar xvzf $1 ;; | |
*.bz2) bunzip2 $1 ;; | |
*.rar) unrar x $1 ;; | |
*.gz) gunzip $1 ;; | |
*.tar) tar xvf $1 ;; |
sudo rm -rf /opt/vagrant
sudo rm -rf /usr/bin/vagrant
sudo rm -rf ~/.vagrant.d
sudo apt-get install virtualbox
Install Java use PPA
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:webupd8team/java
wget http://downloads.typesafe.com/scala/2.11.6/scala-2.11.6.tgz
tar xvf scala-2.11.6.tgz -C /usr/local/share
[alias] | |
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg = !"git lg1" |
requisite
installation
sudo npm install -g jshint
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install git | |
wget -qO- https://get.docker.com/ | sh | |
sudo apt-get install nodejs | |
sudo apt-get install npm | |
sudo ln -s /usr/bin/nodejs /usr/bin/node |
#Prerequisite
#Installation
Download grails
wget https://github.com/grails/grails-core/releases/download/v3.0.1/grails-3.0.1.zip
Apache2
sudo apt-get update
sudo apt-get install -y apache2
apache2: Could not determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName