This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Comment | |
FROM ubuntu:latest | |
# Local ENV | |
ENV init=init.sh | |
ENV dir1=./dir1 \ | |
dir2=./dir2 | |
# Install from APT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: bitcoin-cli [options] <command> [params] Send command to Bitcoin Core | |
or: bitcoin-cli [options] -named <command> [name=value]... Send command to Bitcoin Core (with named arguments) | |
or: bitcoin-cli [options] help List commands | |
or: bitcoin-cli [options] help <command> Get help for a command | |
Options: | |
-? | |
Print this help message and exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install dependencies | |
sudo apt-get install curl \ | |
build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 \ | |
libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev \ | |
libzmq3-dev \ | |
libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler \ | |
software-properties-common | |
sudo add-apt-repository ppa:bitcoin/bitcoin | |
sudo apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#References: | |
#https://github.com/bitcoin-core/docs/blob/master/gitian-building.md | |
#https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md | |
#https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md (actually not used in this guide, but useful as a reference) | |
1) Create a Debian VM as a building environment (it will be accessed via SSH) | |
------------------------------------------------------------------------------------------------------ | |
Follow the instructions at: | |
https://github.com/bitcoin-core/docs/blob/master/gitian-building/gitian-building-create-vm-debian.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#As root | |
apt-get update | |
apt-get install git ruby sudo apt-cacher-ng qemu-utils debootstrap lxc python-cheetah parted kpartx bridge-utils make ubuntu-archive-keyring curl | |
adduser gitianuser sudo | |
# | |
# the version of lxc-start in Debian needs to run as root, so make sure | |
# that the build script can execute it without providing a password | |
echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-start" > /etc/sudoers.d/gitian-lxc | |
echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-execute" >> /etc/sudoers.d/gitian-lxc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Instructions taken from: https://github.com/bitcoin-core/docs/blob/master/gitian-building/gitian-building-setup-gitian-fedora.md | |
#Create a directory for the building process | |
su gitianuser | |
cd /home/gitian/ | |
mkdir bitcoin-core | |
cd bitcoin-core | |
#Installing Gitian | |
wget http://archive.ubuntu.com/ubuntu/pool/universe/v/vm-builder/vm-builder_0.12.4+bzr494.orig.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
useradd -m gitianuser | |
passwd gitianuser | |
usermod gitianuser -a -G wheel | |
dnf install git python ruby apt-cacher-ng qemu dpkg debootstrap python-cheetah gnupg tar rsync wget curl lxc libvirt | |
# Enable the apt-cacher-ng service | |
systemctl enable apt-cacher-ng.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install gcc-c++ libtool make autoconf automake openssl-devel libevent-devel boost-devel libdb4-devel libdb4-cxx-devel python3 | |
git clone https://github.com/bitcoin/bitcoin.git | |
cd bitcoin/ | |
./autogen.sh | |
./configure #--without-gui | |
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# imageinfo | |
$ ./vol.py --profile=Win8SP1x86 -f win8.1-x86_booted-imagecopy.raw imageinfo | |
Volatility Foundation Volatility Framework 2.4 | |
Determining profile based on KDBG search... | |
Suggested Profile(s) : Win8SP1x86, Win8SP0x86 | |
AS Layer1 : IA32PagedMemoryPae (Kernel AS) | |
AS Layer2 : FileAddressSpace (/media/Data/Tesi/memdumps/vbox/win8/win8.1-x86_booted-imagecopy.raw) | |
PAE type : PAE | |
DTB : 0x1a5000L |