Jump to content

Search the Community

Showing results for tags 'daemon'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Announcements
  • Denarius Discussions
    • General Discussion
    • Tutorials & Help
    • Marketing & PR
    • Development
    • Mining & Staking
    • Trading & Exchanges
    • Marketplace
    • FPGA Forums
  • Other Discussions
    • The Lounge
    • Cryptocurrencies

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 3 results

  1. How to compile QT and daemon on various versions of Ubuntu. Ubuntu 16.04 Daemon sudo apt-get update -y && sudo apt-get upgrade -y sudo apt-get install -y git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libgmp-dev libevent-dev autogen automake libtool git clone https://github.com/carsenk/denarius cd denarius git checkout master git pull cd src make -f makefile.unix sudo mv ~/denarius/src/denariusd /usr/local/bin/denariusd denariusd QT sudo apt-get update -y && sudo apt-get upgrade -y sudo apt-get install -y git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev autogen automake libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default git clone https://github.com/carsenk/denarius cd denarius || exit git checkout master git pull qmake "USE_QRCODE=1" "USE_UPNP=1" denarius-qt.pro make ./Denarius
  2. Docker can be used to run a denariusd wallet daemon. It can also run multple FortunaStakes very easily. No need to mess with compiling or downloading binaries. My github has some basics for the docker image I created. https://github.com/buzzkillb/denariusDocker First install docker on ubuntu. Don't forget to usermod your user account to run docker commands without using sudo. https://docs.docker.com/install/linux/docker-ce/ubuntu/ Once docker-ce is running lets grab my docker image. docker run --name=denariusd --rm -t -v ~/.denarius:/data -P buzzkillb/denariusd First thing we notice is that we need a denarius.conf in the ~/.denarius folder. Lets make one with what we need. nano ~/.denarius/denarius.conf rpcuser=usernamechangeme rpcpassword=passwordchangeme Save and now run the above command again. docker run --name=denariusd --rm -t -v ~/.denarius:/data -P buzzkillb/denariusd Was that easy or what? Now to run this in the background add -d flag. docker run --name=denariusd --rm -t -d -v ~/.denarius:/data -P buzzkillb/denariusd With the output not being shown. Lets watch the printtoconsole lines in the docker container. docker logs denariusd -f To list all your containers. docker ps To stop your container. docker stop denariusd You can run more than 1 container of denariusd, example below docker run --name=FS01 --rm -t -d -v ~/FS01:/data -P buzzkillb/denariusd Have fun!
  3. I bought a Raspberry Pi 3 a while ago and got it recently. So of course I decided to run my denarius wallet on it, so it can stake always without my computer being on. The operating system is Raspbian Stretch, so I assume this tutorial will work for debian stretch as well. Start by opening a terminal and paste the following code to install dependecies: sudo apt-get update sudo apt-get upgrade -y sudo apt-get install autoconf libtool libssl1.0-dev libboost-all-dev libminiupnpc-dev -y Because compiling can take up a large amount of RAM and the raspberry Pi only has 1 gigabyte of it, let us create a swapfile: cd / fallocate -l 4G swapfile chmod 0600 swapfile mkswap swapfile swapon swapfile Now, because the daemon requires Berkeley database version 4.8 to work, we need to download, compile and install it since that is not included in the software repositories. cd ~/Downloads wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz tar -xzvf db-4.8.30.NC.tar.gz cd db-4.8.30.NC/build_unix/ ../dist/configure --enable-cxx make sudo make install Now, let us download the denarius source code and compile it. cd ~/Downloads git clone https://github.com/carsenk/denarius.git cd denarius/src Because we use a custom Berkeley library, we need to specify its location in the makefile, so go ahead and open that up using nano: nano makefile.unix look for this line: DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(CURDIR)/json $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)) Change it to this line: DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(CURDIR)/json $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH) /usr/local/BerkeleyDB.4.8/include/) Press CTRL+O to save the file, press enter to verify the filename, then press CTRL+X to exit nano. Now we are ready to compile it! When you have typed in this command, prepare to wait for a while, maybe grab a good book or go to the denarius gitter chat to socialize. Compiling took 63 minutes on my Pi, it will depend on your swapfiles read/write performance and if you have overclocked your Pi. make -f makefile.unix -j4 LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" Now since we are using a custom library, we need to tell the operating system to let programs use that. To do that, we need to edit the file /etc/ld.so.preload: nano /etc/ld.so.preload Add the following line to the file, then save and exit, like before: /usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.so and reboot: sudo reboot Now, your denariusd is ready to run and you set it up like you always would.
×
×
  • Create New...