Installing wallet on ubuntu

  • @damncourier To expand upon this a little bit here is howto run Burstcoin Wallet on linux as a service. My system is Linux Mint 18.1 Serena/Ubuntu 16.04 Xenial, but should work for any linux distro utilizing systemd. You might have to make minor adjustments to make it work.

    Put the burstwallet files somewhere, I put mine in /opt/burstwallet. My service is also being run by a non-root user.
    So after you install the burst wallet, next you need to create a file called /etc/systemd/system/burstwallet.service

    sudo vi /etc/systemd/system/burstwallet.service

    In this file paste the following text, but be sure to update your information:

    Description=Burstcoin Wallet Service
    # change to the user you want to run your service, or the owner of the burstwallet files
    # Update to the location you installed burstwallet
    ExecStart=/usr/bin/java -cp burst.jar:lib/*:conf nxt.Nxt

    After saving your file you need to refresh the systemd daemons

    [email protected] /opt/burstcoin $ sudo systemctl daemon-reload

    Then you can start your new service and check its status

     sudo systemctl start burstwallet
     systemctl status burstwallet

    It should say that your new service is started and look something like this:

    ● burstwallet.service - Burstcoin Wallet Service
       Loaded: loaded (/etc/systemd/system/burstwallet.service; enabled; vendor preset: enabled)
       Active: active (running) since Wed 2017-06-07 19:25:12 CDT; 43min ago
     Main PID: 19390 (java)
        Tasks: 74
       Memory: 2.4G
          CPU: 2min 56.041s
       CGroup: /system.slice/burstwallet.service
               └─19390 /usr/bin/java -cp /opt/burstcoin/burst.jar:lib/*:conf nxt.Nxt
    Jun 07 19:25:12 snowrock systemd[1]: Started Burstcoin Wallet Service.
    Jun 07 19:25:34 snowrock java[19390]: 2017-06-07 19:25:34 INFO: OCL max items: 1status920
    Jun 07 19:25:42 snowrock java[19390]: 2017-06-07 19:25:42 INFO: nxt.apiServerEnforcePOST = "true"
    Jun 07 19:28:14 snowrock java[19390]: 2017-06-07 19:28:14 INFO: Finished connecteding to 2 well known peers.
    Jun 07 20:08:21 snowrock systemd[1]: Started Burstcoin Wallet Service.

    If the service has not started be sure to check your paths in the burstwallet.service file. If you make any changes to the file you have to refresh the daemons with the or check the log with journalctl -xe

    Good luck!


  • @Hodgegobin good of you to post this, i am sure someone will find it helpful.

    i usually just leave it running in detached screen session, might give a service a try if i move burst wallet back to linux host (stuck it on an os x machine recently for number of reasons)

    and because there are fanatics out there- how about rc.d scripts?

  • @damncourier hah, I haven't written one of those in awhile!

  • yeah i am okay with systemd.

    the passion of folks that are against systemd amazes me and the debates on linux forums about how rc.d is superior is great reading during popcorn snacktime. 😉

  • @damncourier hah maybe 10 years ago I would have been passionate about its superiority. But now I'm lazy and don't have time to spend. Easily to just puke a couple lines in a file and seal it up Haha.

  • @damncourier How about this version of installatiom manual? Did you try this way of BURST wallet installation?

  • Any one try this for brs-2.2.2 in linux as it didn't work for me. oh interesting got it. I wonder why this is such a secret

  • Hi

    I run 2.2.2 on ubuntu 18.04.1 LTS and CentOS 7
    They are both stable.

  • The installation instructions needs updating for linux

  • Install the dependencies. (Mariadb, Java, Perl, PHP etc.)
    Make a Maria db and user for the wallet to use.
    Download the wallet.
    Extract it to where ever you would like to install it.
    cd to
    Make a copy of in the same dir and name it
    Go to #### DATABASE #### and add your db info.
    DB.Url=jdbc:mariadb://localhost:3306/yourwalletdb<-- This has to be the name of your wallet DB

    Save and exit.
    cd ..
    chmod your file
    Install the bootsrap via
    ./ import mariadb (This will take some time)
    Start the wallet