Skip to content

Instantly share code, notes, and snippets.

hawkup

Block or report user

Report or block hawkup

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hawkup
hawkup / Install Play Framework on Ubuntu 14.04.md
Last active May 15, 2019
Install Play Framework on Ubuntu 14.04
View Install Play Framework on Ubuntu 14.04.md

Install Play Framework on Ubuntu 14.04

  1. download file from https://www.typesafe.com/activator/download
  2. move unzipped directory to /usr/local/share
  3. export
export ACTIVATOR_HOME=/usr/local/share/activator-dist-1.3.6
export PATH=$PATH:$ACTIVATOR_HOME/bin
  1. create Play app
@hawkup
hawkup / Install mongodb on Ubuntu.md
Created Aug 10, 2015
Install mongodb on Ubuntu
View Install mongodb on Ubuntu.md

Install mongodb

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
  • start / stop / check status
View Install Blender On Ubuntu.md

Install

# open terminal
sudo add-apt-repository ppa:thomas-schiex/blender
sudo apt-get update
sudo apt-get install blender

Launch Blender

@hawkup
hawkup / Install Docker-Swarm On ubuntu.md
Created Jul 18, 2015
Install Docker-Swarm 0.4.0 On ubuntu
View Install Docker-Swarm On ubuntu.md

#Prerequisites

  • go

#Installation

go get github.com/tools/godep
mkdir -p $GOPATH/src/github.com/docker/
cd $GOPATH/src/github.com/docker/
git clone https://github.com/docker/swarm
cd swarm
@hawkup
hawkup / Install Docker-Composer on Ubuntu.md
Last active Aug 29, 2015
Install Docker-Composer on Ubuntu
View Install Docker-Composer on Ubuntu.md
  • install Compose
curl -L https://github.com/docker/compose/releases/download/1.3.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
  • check version
docker-compose --version
@hawkup
hawkup / Install F# on Ubuntu 14.04.md
Last active Aug 29, 2015
Install F# on Ubuntu 14.04
View Install F# on Ubuntu 14.04.md
  • This install fsharpc and fsharpi
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get update

sudo apt-get install mono-complete fsharp
@hawkup
hawkup / Install Kubernetes On Ubuntu 14.04.md
Created Jul 4, 2015
Install Kubernetes On Ubuntu 14.04
View Install Kubernetes On Ubuntu 14.04.md

#requirements

  • linux
  • docker 1.3+
  • etcd
  • go 1.3+

#Installation

git clone https://github.com/GoogleCloudPlatform/kubernetes.git
cd kubernetes/cluster/ubuntu
@hawkup
hawkup / Install etcd On Ubuntu 14.04.md
Created Jul 4, 2015
Install etcd On Ubuntu 14.04
View Install etcd On Ubuntu 14.04.md
  • Install
curl -L  https://github.com/coreos/etcd/releases/download/v2.1.0-rc.0/etcd-v2.1.0-rc.0-linux-amd64.tar.gz -o etcd-v2.1.0-rc.0-linux-amd64.tar.gz
tar xzvf etcd-v2.1.0-rc.0-linux-amd64.tar.gz
cd etcd-v2.1.0-rc.0-linux-amd64
./etcd
  • by default etcd listening on port 2379 for client communication and on port 2380 for server to server communication

  • Test

@hawkup
hawkup / Install Docker Machine on Ubuntu 14.04.md
Created Jul 4, 2015
Install Docker Machine on Ubuntu 14.04
View Install Docker Machine on Ubuntu 14.04.md
  • download docker-machine to /usr/local/bin
curl -L https://github.com/docker/machine/releases/download/v0.3.0/docker-machine_linux-amd64 > /usr/local/bin/docker-machine
chmod +x /usr/local/bin/docker-machine
  • install docker client
https://gist.github.com/hawkup/6ac5f5b1ab7c761e886d
@hawkup
hawkup / Install bee (Golang framework).md
Last active Aug 29, 2015
Install bee (Golang framework)
View Install bee (Golang framework).md

Prerequisite

  • git
  • git https
git config --global http.sslVerify false
  • Install
go get github.com/astaxie/beego
You can’t perform that action at this time.