Step-By-Step: How to compile Bitrad wallet on a Linux VPS



  • The following is a guide on how to compile Bitrad wallet on a Linux VPS

    Preparation:

    • OS: Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-93-generic x86_64)
    • Server Spec: 1 CPU, 1GB RAM, 10GB SSD, 1000GB Bandwidth
      (Note: you can try with 512MB RAM server, however, you may run into memory issue during compilation.)
    • Linux OS is up & running. Firewall is enabled.
    • SSH server is setup on Linux, and you can SSH into it using Putty or similar.

    How to compile:
    ( Compile from source: https://github.com/theBitradio/Bitradio )
    ( DOC: https://github.com/theBitradio/Bitradio/blob/master/doc/build-unix.md )

    The italic characters below are the Linux commands, you can copy & paste.

    1) From Putty, login as user with Sudo right & download necessary library files

    sudo apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils
    sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

    sudo add-apt-repository ppa:bitcoin/bitcoin
    (If add-apt-repository does not work, do sudo apt-get install software-properties-common)

    sudo apt-get update
    sudo apt-get install libdb4.8-dev libdb4.8++-dev
    sudo apt-get install libminiupnpc-dev

    2) Compile Bitradod wallet

    git clone https://github.com/theBitradio/Bitradio
    (If git does not work, apt-get install git )

    cd Bitradio/src
    make -f makefile.unix # Headless

    (If it fails, check your VPS spec. It is recommended to have 1GB RAM.
    I have failed at this step at some VPS provider using 512MB RAM
    while I had success at other VSP provider using 512MB RAM
    after increasing the virtual memory size. Wait till compilation finishes.
    If you want to increase virtual memory, try following:
    free
    sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
    sudo mkswap /var/swap.img
    sudo swapon /var/swap.img
    free

    )

    strip Bitradiod
    sudo cp Bitradiod /usr/local/bin

    3) Run Bitradiod

    cd ~/Bitradio/src
    Bitradiod &

    It will give an error when you run it for the first time.
    You need to configure rpcuser info on Bitradio.conf file under ~/.Bitradio/Bitradio.conf

    cd ~/.Bitradio
    nano Bitradio.conf

    and add following lines where you need to put random long password:

    rpcuser=Bitradiorpc
    rpcpassword=RANDOM LONG PASSWORD
    rpcallowip=127.0.0.1
    daemon=1
    server=1
    listen=1

    Launch Bitradio wallet again,
    Bitradiod &

    To check if it is running,
    ps aux | grep Bitrad

    Wait for block to synch.
    Check the block #s info time to time and make sure it goes up.

    Get blocks info by,

    Bitradiod getinfo

    Let it sync completely. (It may take an hour)
    That's it.
    Enjoy Bitrad radio!

    -End



  • helped me a lot, thanks dude, it works!!



  • @diffblock **

    Wie bekommt man eine bro Wallet bitteschön


Log in to reply
 

Looks like your connection to Bitrad.io was lost, please wait while we try to reconnect.