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 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 golang ubuntu.md
Last active Aug 10, 2018
Installing Golang on ubuntu 14.04
View Install golang ubuntu.md

First install gvm

  • install curl
sudo apt-get install curl
  • install git latest version
sudo add-apt-repository ppa:git-core/ppa
@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 Docker on Ubuntu.md
Last active Mar 28, 2018
Install Docker on Ubuntu 14.04
View Install Docker on Ubuntu.md

Prerequisites

sudo apt-get update

Install

  • get latest docker package
wget -qO- https://get.docker.com/ | sh
@hawkup
hawkup / Install thrift On centos 6.5.md
Last active Feb 24, 2018
Install thrift On centos 6.5
View Install thrift On centos 6.5.md

Update The system

sudo yum -y update

Install the Platform Development Tools

sudo yum -y groupinstall "Development Tools"
View Install bs-platform
npm install -g bs-platform
@hawkup
hawkup / Install NVM
Last active Jan 6, 2018
React Native script
View Install NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
@hawkup
hawkup / install haskell on ubuntu.md
Last active Aug 12, 2017
Install Haskell on Ubuntu 14.04
View install haskell on ubuntu.md
  • download haskell platform
wget https://www.haskell.org/platform/download/2014.2.0.0/haskell-platform-2014.2.0.0-unknown-linux-x86_64.tar.gz
  • install haskell
cd /
sudo tar xvf PATH_DOWNLOADED_ZIP_FILE
sudo /usr/local/haskell/ghc-7.8.3-x86_64/bin/activate-hs 
@hawkup
hawkup / Install Clojure on Ubuntu.md
Last active Jun 21, 2017
Install Clojure on Ubuntu 14.04
View Install Clojure on Ubuntu.md

Prerequisite

  • Java

Installation

  • download clojure
wget http://repo1.maven.org/maven2/org/clojure/clojure/1.6.0/clojure-1.6.0.zip
You can’t perform that action at this time.