Skip to content

Instantly share code, notes, and snippets.

@aorjoa
Last active December 9, 2015 04:55
Show Gist options
  • Save aorjoa/c8e278f6d1b7b0f7b056 to your computer and use it in GitHub Desktop.
Save aorjoa/c8e278f6d1b7b0f7b056 to your computer and use it in GitHub Desktop.
Compiled QFS on TK1
== How to? ==
1) แก้ source list ให้เป็นดังนี้ (ผมใส่ architecture มันเข้าไปด้วย ไม่งั้นมันอัพเดทไม่ได้ครับ)
'''
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe multiverse
deb-src [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe multiverse
## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb-src [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe multiverse
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty universe
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
deb-src [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
deb [arch=armhf] http://ftp.hk.debian.org/debian sid main
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security universe
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security multiverse
'''
2) สั่ง apt-get update อัพเดทรายการ packages
3) apt-get install g++ cmake git libboost-all-dev libkrb5-dev maven
4) ไป build qfs
ที่ /home/ubuntu/downloads/qfs-src/
สั่ง cmake .
@MooxxNew
Copy link

MooxxNew commented Dec 9, 2015

apt-get install libssl-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment