Bitcoin Forum
May 05, 2024, 05:34:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Armory / Re: Fresh install of Armory 0.96.5 on Debian 10 (online/offline) on: May 26, 2023, 01:24:10 PM
A small update on the front of Debian :
- As was expected it is impossible to install Armory (0.96.5) on Debian 11 (Bullseye) because Qt 4 and Python 2 have been removed.
- Debian Buster 10.13 is still maintained at least until June 2024 so it is not a problem right now but it might be usefull to keep the full installation DVDs somewhere in case the online installation process stops working. You can get them here : https://www.debian.org/releases/buster/debian-installer/
- The tor version of Debian 10 is obsolete and needs to be replaced by the official tor distribution
- Core version upgraded to 24.0.1
- You must add to your bitcoin.conf file :
   server=1 to activate the RPC interface (avoids error messages while sending transactions with recent version of Core)
   listen=1 if you connect only trough tor (for whatever reason when you activate the proxy Core now stops listening on the local port)
- You now need at least a 1TB hard drive to store the blockchain. A 2TB SSD should last a few years even with the jpegtards.

The script below works with a fresh installation of debian-10.13.0-amd64-netinst.iso (you should also check the PGP keys from another machine) :

Code:
#!/bin/bash

set -x
mkdir tmp
cd tmp
apt-get update
apt-get upgrade -y

# Misc
apt-get install -y dselect gparted dos2unix

# Bitcoin Core
apt-get install -y libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0-dev libxcb-xkb1 libxkbcommon-x11-0
wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/SHA256SUMS
wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/SHA256SUMS.asc
wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/bitcoin-24.0.1-x86_64-linux-gnu.tar.gz
gpg --keyserver hkps://keys.openpgp.org --recv-keys E777299FC265DD04793070EB944D35F9AC3DB76A
gpg --verify SHA256SUMS.asc
echo "Please verify signatures ..."
read X
sha256sum --ignore-missing --check SHA256SUMS
echo "Please verify checksum ..."
read X

tar xvzf bitcoin-24.0.1-x86_64-linux-gnu.tar.gz
install -v -m 0755 -o root -g root -t /usr/local/bin bitcoin-24.0.1/bin/*
install -v -m 0755 -o root -g root -t /usr/local/lib bitcoin-24.0.1/lib/*
mkdir /usr/local/share/man/man1
install -v -m 0755 -o root -g root -t /usr/local/share/man/man1 bitcoin-24.0.1/share/man/man1/*

# Armory
gpg --recv-keys --keyserver keyserver.ubuntu.com 4922589A
wget https://github.com/goatpig/BitcoinArmory/releases/download/v0.96.5/sha256sum.txt.asc
wget https://github.com/goatpig/BitcoinArmory/releases/download/v0.96.5/armory_0.96.5_amd64_gcc7.2.deb
gpg --verify sha256sum.txt.asc
sha256sum --ignore-missing -c sha256sum.txt.asc
echo "Please verify signatures and checksum ..."
read X
apt-get install -y python-qt4 python-psutil libqtgui4 libqtcore4 qtcore4-l10n \
                   libmng1 libqt4-dbus libqt4-declarative libqt4-designer \
                   libqt4-help libqt4-network libqt4-script libqt4-scripttools \
                   libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns \
                   libqtassistantclient4 libqtdbus4 qdbus libqt4-sql \
                   sip-api-12.4 python-enum34 qtchooser psmisc
dpkg -i armory_0.96.5_amd64_gcc7.2.deb

#Tor
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg > /dev/null
echo "deb     [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/tor.list
apt-get update
apt-get install -y tor
echo "ExitPolicy reject *:* # no exits allowed" >> /etc/tor/torrc
echo "Log notice file /var/log/tor/notices.log" >> /etc/tor/torrc
/etc/init.d/tor restart
sleep 10
tail /var/log/tor/notices.log
echo "Press a key when you have a circuit ..."
read X
echo "FascistFirewall 1" >> /etc/tor/torrc
echo "FirewallPorts 9001" >> /etc/tor/torrc
echo "ReachableAddresses *:9001" >> /etc/tor/torrc
/etc/init.d/tor restart

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!