Steps to Run Linux Build
-
Download Ubuntu Desktop 20.04 LTS ISO from the Ubuntu website
-
Create a VM with the image from step 1 (process depends on your machine - not covered here)
(These first two steps do not apply if you have a native Linux machine or are using WSL command line)
-
Download/copy .sh file from this link
chmod +x install_xgt.sh
- must be in the directory where
install_xgt.sh
is located
- must be in the directory where
./install_xgt.sh
- must be in the directory where
install_xgt.sh
is located - this will take 10-15 minutes
- must be in the directory where
-
sudo apt install ruby-full
-
sudo gem install xgt-ruby
-
cd xgt
-
rake configure
rake make
- this will take 10-15 minutes
-
cd ..
-
nano runXGT.sh
- Copy and paste the following format into the new file, replacing the empty values with your wallet and private recovery key:
#/bin/sh
export wallet_name=your-wallet-address
export recovery_private=your-private-recovery-key
export witness_private=your-private-recovery-key
cd xgt &&
MINING_DISABLED=FALSE \
MINING_THREADS=4 \
XGT_INSTANCE_INDEX=1 \
XGT_WALLET=$wallet_name \
XGT_WIF=$recovery_private \
XGT_RECOVERY_PRIVATE_KEY=$recovery_private \
XGT_WITNESS_PRIVATE_KEY=$witness_private \
rake run
Set MINING_DISABLED=TRUE
if you are setting up a sync/seed node. The value of MINING_THREADS
depends on your machine. Run ctrl-o
to save and ctrl-x
to exit.
-
chmod +x runXGT.sh
-
./runXGT.sh