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:
[Unit] Description=Burstcoin Wallet Service [Service] # change to the user you want to run your service, or the owner of the burstwallet files User=fibere # Update to the location you installed burstwallet WorkingDirectory=/opt/burstcoin ExecStart=/usr/bin/java -cp burst.jar:lib/*:conf nxt.Nxt SuccessExitStatus=143 Restart=on-failure RestartSec=120s [Install] WantedBy=multi-user.target
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: Started Burstcoin Wallet Service. Jun 07 19:25:34 snowrock java: 2017-06-07 19:25:34 INFO: OCL max items: 1status920 Jun 07 19:25:42 snowrock java: 2017-06-07 19:25:42 INFO: nxt.apiServerEnforcePOST = "true" Jun 07 19:28:14 snowrock java: 2017-06-07 19:28:14 INFO: Finished connecteding to 2 well known peers. Jun 07 20:08:21 snowrock systemd: 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
damncourier last edited by
@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!
damncourier last edited by damncourier
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.
Rabinovitch last edited by
Burstde last edited by Burstde
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
moverspool last edited by
I run 2.2.2 on ubuntu 18.04.1 LTS and CentOS 7
They are both stable.
Burstde last edited by Burstde
The installation instructions needs updating for linux
moverspool last edited by moverspool
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.
Make a copy of brs-default.properties in the same dir and name it brs.properties
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.
chmod your burst.sh file
Install the bootsrap via
./burst.sh import mariadb (This will take some time)
Start the wallet