Ubuntu 16.04에서 비트코인 환경세팅
1. VitualBox 개발환경 세팅
1) 설치 시, HDD 용량을 200GB / Memory 4096MB 로 설정하고 vdi의 위치를 D드라이브로 설정한다. (여유있는 메모리)
2. Ubuntu Network 설정 (되어있으면 Skip)
- http://idess.tistory.com/112
4. 비트코인 관련 세팅하기
- http://daddynkidsmakers.blogspot.com/2018/02/blog-post_22.html -> 한글 사이트
- https://www.toshblocks.com/bitcoin/compile-bitcoin-source-code-ubuntu-16-04-lts/ -> 영문 사이트
1) Git 이 없을 경우 : "sudo apt-get install git" 입력하여 git 설치
2) "../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/theusername/bitcoin/db4/" 입력 시, theusername을 ubuntu 사용자 아이디로 변경할 것.
3) 디펜던시 오류가 날 경우에 "./configure LDFLAGS="-L/home/theusername/bitcoin/db4/lib/" CPPFLAGS="-I/home/theusername/bitcoin/db4/include/"" 라는 명령어를 입력하라는데 디펜던시 오류가 안나도 "make -s -j5"가 안되므로 해당 명령어 수행 후 "./autogen.sh" 명령어 또한 실행할 것
4) 마지막 "make -s -j5" 명령어 시간 오래 소요됨.