Wallet installation BRS 2.0.4 / Linux / with maria database / manual installation



  • What to do ? (most explanation from mac tutorial but its working with linux too)

    1. Downloading core Wallet zip from:
      https://github.com/PoC-Consortium/burstcoin/releases
    1. Creating an database. The program for this database you are using is maria:

    2.1 Search for maria in the software repository and install maria

    2.2 go to the terminal and type "sudo su" press enter then you are on with root rights

    Type the following, one line at a time, pressing enter step by step.

    2.3 mysql -u root -p -h localhost
    (The default password for MariaDB is blank. If it asks you for a password, simple press enter)

    2.4 CREATE USER 'burstwallet'@'localhost' IDENTIFIED BY 'password';
    (Replace password by your own password)

    2.5 GRANT ALL PRIVILEGES ON burstwallet.* TO 'burstwallet'@'localhost';

    2.6 CREATE DATABASE burstwallet;

    2.7 Press ctr + c to exit

    1. Got to your download folder and unzip burstcoin-2.0.4.zip.

    3.1 go to the burstcoin-2.0.4 folder and then open the conf folder

    3.2 open brs-default.properties

    3.3. search for:
    DATABASE

    Database connection JDBC url
    Append ;AUTO_SERVER=TRUE to enable automatic mixed mode access.
    DB.Url=jdbc:mariadb://localhost:3306/burstwallet
    DB.Username= here type burstwallet, burstwallet is your username
    DB.Password= here type your password you set in 2.4

    save your changes.

    1. Start BRS 2.0.4 Wallet

    4.1 go to the burstcoin-2.0.4 folder (and open the terminal)

    4.2 type : chmod +x burst.sh (then the burst.sh is excutable)

    4.3 type: ./burst.sh

    4.4. The Wallet is starting with maria.db database
    (blockchain is saved in /var/lib/mysql/burstwallet, the burstwallet is the database you created in 2.)

    4.5 type 127.0.0.1:8125 in your browser and start the wallet interface

    Conclusion: You create a maria database called burstwallet and you created a maria user called burstwallet and set a password for your database. Then you set your username and password in the brs-defaults.properties file in the conf folder from your burstcoin-2.0.4 folder and then your started your wallet.



  • Some more:

    You can delete the user and the the database if you want to set a new one for burstwallet or want to delete the old entry for maria: Search on google for "maria db delete user / delete database")

    I tried my " how to" on a new linux setup. When starting the burst.sh the error message is displayed "...access denied for burstwallet @localhost...".

    I still don't know why this error appeared but it was only on this new setup. I wasn't able to solve this problem on this setup. Deleting the database and user and reinstalling a new database didn't solved this problem. It's a bit confusing.

    Perhaps someone more experienced could give advice. The how to on its own is working.



  • In Linux
    How about the command line to update wallet 1.3.6 to 2.0? The user and password have already been established so I imagine $ apt-get update ....1.3.6



  • Hi i don't know and don't use the apt-get walle thing.

    Perhaps its working for you and you can tell us what to do.

    I don't like the automatic installation because then if it doesn't work its hard to find a solution.

    Use the step by step guide. Just copy and paste and don't forget the ; on the end of every line and everything should work.

    Using the step by step guide is in the end the easiest way to install the Linux BRS 2.0.0 Wallet.



  • OK it seems there are some bugs and issues on BRS 2.0.0, so you can use my how to even for installing the wallet 1.3.2cg and using maria db.

    After bugfixes are done you can install BRS 2.0.x and everything is
    working fine.



  • Wallet BRS 2.0.2 is out now, so update too 2.0.2. It is told that there are some peer to peer hot fixes in this wallet. So it should not stuck again like the other versions.

    Actually im downloading blockchain from scratch hoping the best.



  • @burnme

    After updating to BRS 2.0.2 the error "Block not accepted" was shown again. You have to pop off 100 blocks. After that the BRS 2.0.2 was working fine (stable we will see over time)

    Please upgrade to v2.0.2 and popoff about 100 blocks.

    Popoff can be done by edit config file and set API.Debug = on
    After that when wallet is running you can go to http://localhost:8125/test
    Under Debug in the bottom you find popoff



  • Ok, the BRS 2.0.3 is out now. First time i started the BRS 2.0.3 the message "Block not accepted" comes again. So i deletet the old maria db and created a new one. I downloaded the blockchain from sratch. After syncing the blockchain the error "Block not accepted" was shown again but then after waiting some time and doing nothing the BRS 2.0.3 recognized the fork searched for a better chain and autmatically switched to the right chain.

    Actually BRS 2.0.3 is working fine on Linux since several days. It seems the 2.0.3 is stable now (we will see in the future).

    So all you have to do is to install the new 2.0.3.

    Perhaps someone could write an how to for Linux how to dump / save the maria database for creating an backup. Then it would be very fast after downloading the blockchain one time for the next install.

    The DYMAXION PoC2 is coming :) . I'm very thankful for all the developers who are working on burstcoin. The network is growing fast. The comunity is growing fast and it seems that PoC and burst are slowly getting more attention and recognized of more and more people. And this effect is without big promoting.

    Burst has a big future :)



  • @burnme said in Wallet installation BRS 2.0.3 / BRS 2.0.0 / Linux / with maria database / manual installation:

    Ok, the BRS 2.0.3 is out now. First time i started the BRS 2.0.3 the message "Block not accepted" comes again. So i deletet the old maria db and created a new one. I downloaded the blockchain from sratch. After syncing the blockchain the error "Block not accepted" was shown again but then after waiting some time and doing nothing the BRS 2.0.3 recognized the fork searched for a better chain and autmatically switched to the right chain.
    Actually BRS 2.0.3 is working fine on Linux since several days. It seems the 2.0.3 is stable now (we will see in the future).
    So all you have to do is to install the new 2.0.3.
    Perhaps someone could write an how to for Linux how to dump / save the maria database for creating an backup. Then it would be very fast after downloading the blockchain one time for the next install.
    The DYMAXION PoC2 is coming :) . I'm very thankful for all the developers who are working on burstcoin. The network is growing fast. The comunity is growing fast and it seems that PoC and burst are slowly getting more attention and recognized of more and more people. And this effect is without big promoting.
    Burst has a big future :)

    Please take care when you setup your databases that you use InnoDB as Engine. There have been reports of MyISAM and that engine is not sufficient for BURST.



  • Thank you Quibus i check the engine and report in this forum


 

Looks like your connection to BurstCoin - Efficient HDD Mining was lost, please wait while we try to reconnect.