Skip to content

Instantly share code, notes, and snippets.

@hawkup
hawkup / update or install latest nodejs on Ubuntu 14.04.md
Last active August 29, 2015 14:23
update or install latest nodejs on Ubuntu 14.04

check latest nvm version from this

https://github.com/creationix/nvm

install latest version

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
@hawkup
hawkup / install vsftpd on ubuntu 14.04.md
Last active August 29, 2015 14:23
install vsftpd on ubuntu 14.04
sudo apt-get update
sudo apt-get install -y vsftpd

config file location

vim /etc/vsftpd.conf
@hawkup
hawkup / Install mariadb on Ubuntu 14.04.md
Last active August 29, 2015 14:23
Install mariadb 10.0 on Ubuntu 14.04
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/10.0/ubuntu trusty main'
sudo apt-get update
sudo apt-get install mariadb-server
@hawkup
hawkup / Install Thrift on Ubuntu 14.04.md
Last active August 29, 2015 14:23
Install Thrift on Ubuntu 14.04

prerequisites

  • install this
sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
  • java jdk
https://gist.github.com/hawkup/3f60546650d5e3f96824
@hawkup
hawkup / Install thrift On centos 6.5.md
Last active February 24, 2018 23:57
Install thrift On centos 6.5

Update The system

sudo yum -y update

Install the Platform Development Tools

sudo yum -y groupinstall "Development Tools"
@hawkup
hawkup / Install font for oh my git On ubuntu 14.04.md
Last active May 27, 2016 02:02
Install font for oh my git On ubuntu 14.04
# Copy the awesome fonts to ~/.fonts
cd /tmp
git clone http://github.com/gabrielelana/awesome-terminal-fonts
cd awesome-terminal-fonts
git checkout patching-strategy
mkdir -p ~/.fonts
cp patched/*.ttf ~/.fonts

# update the font-info cache
@hawkup
hawkup / Install Apache Tomcat 7 on Ubuntu 14.04.md
Last active August 29, 2015 14:23
Install Apache Tomcat 7 on Ubuntu 14.04
sudo apt-get update
sudo apt-get install -y tomcat7
sudo apt-get install -y tomcat7-admin
sudo apt-get install -y tomcat7-docs
sudo apt-get install -y tomcat7-examples 

Now You can access http://localhost:8080

Create Tomcat User

@hawkup
hawkup / Install redis on OSX.md
Last active October 5, 2015 04:50
Install redis on OSX
  • download redis from
http://redis.io/download
  • tar file
tar -xvf redis-3.0.2.tar.gz
@hawkup
hawkup / Install Ansible on Ubuntu.md
Created July 3, 2015 20:57
Install Ansible on Ubuntu
  • install Ansible
sudo apt-get install -y software-properties-common

sudo add-apt-repository -y ppa:ansible/ansible

sudo apt-get update

sudo apt-get install -y ansible
@hawkup
hawkup / Install bee (Golang framework).md
Last active August 29, 2015 14:24
Install bee (Golang framework)

Prerequisite

  • git
  • git https
git config --global http.sslVerify false
  • Install
go get github.com/astaxie/beego