View Dockerfile
# Comment | |
FROM ubuntu:latest | |
# Local ENV | |
ENV init=init.sh | |
ENV dir1=./dir1 \ | |
dir2=./dir2 | |
# Install from APT |
View bitcoin-cli --help
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 |
View btc-core-linux
#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 |
View Bitcoin-Core-Gitian-Build-Guide_Debian+script.txt
#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 |
View bitcoin-core-build-gitian-debian-1.sh
#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 |
View bitcoin-core-build-gitian-2.sh
#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 |
View bitcoin-core-build-gitian-1.sh
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 |
View bitcoin-core-build-fedora.sh
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 |
View Windows 8.1 x86
# 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 |