Search the Community
Showing results for tags 'linux'.
Found 5 results
-
Official Denarius QT / daemon Snap is available at https://snapcraft.io/denarius To install sudo apt update sudo apt install snapd sudo snap install denarius To run QT denarius To run the daemon denarius.daemon chaindata stored in ~/snap/denarius/common/.denarius cd ~/snap/denarius/common/.denarius Sample daemon command denarius.daemon getinfo stop daemon denarius.daemon stop
-
How to build denarius cryptocurrency in snapcraft. I used Ubuntu 18.04 Bionic as the OS for this process, but the build is done in 16.04 Xenial. https://github.com/buzzkillb/d-snapcraft We are going to build in LXD, which I ended up using a combination of the below guides. https://forum.snapcraft.io/t/how-to-create-a-lxd-container-for-snap-development/4658 https://forum.snapcraft.io/t/build-on-lxd/4157 Install LXD from snap sudo snap install lxd initialize LXD (I used all the default settings) sudo lxd init Give permissions so we can run without root sudo usermod -a -G lxd ${USER} Bring the setting through newgrp lxd Building Manually in Xenial lxc launch ubuntu:16.04 mysnapcraft Bring your snapcraft.yaml in from your PC and bring into LDX lxc file push snap/snapcraft.yaml mysnapcraft/home/ubuntu/ Open up a shell and install snapcraft lxc exec mysnapcraft -- /bin/bash snap install snapcraft --classic Lets build our snapcraft.yaml cd /home/ubuntu snapcraft prime snapcraft You will get a file like this denarius_master_amd64.snap Bring the snap into your PC, open up another terminal and type below and stay on that terminal for the remaining. sudo lxc file pull mysnapcraft/home/ubuntu/denarius_master_amd64.snap denarius_master_amd64.snap Install the snap sudo snap install denarius_master_amd64.snap --dangerous Run denarius QT denarius Should be ready to mess around with this.
-
This guide is updated for MAINNET, mainnet goes live (from block 645,000, approx. 14th March). OVERVIEW: While it is possible to set up a “hot node” in which the masternode stores the 5000 DNR collateral, it is more secure and safer to set up a “cold node” in which the masternode runs on a VPS (Virtual Private Server) and the coins stay local in your Windows/Linux wallet. In this way, the IP address associated with the Masternode (which is clearly visible by anyone) is not the IP address where the coins are kept, making a more secure setup. This type of set-up also allows for the controller (local) wallet to be shut down without affecting the masternode. REQUIREMENTS: 5,000 DNR A main computer (Your everyday computer used for browsing the Internet or your hardcore gaming PC) Masternode Server (This need to be switched on and connected to the internet 24/7 running on any Linux distro) 2GB of RAM is recommended or 1GB of RAM and 1GB of swap - VPS can hang if the masternode RAM is not enough, your are advised to upgrade the current server package if this occurs. A different IP address for EACH masternode (only applicable if you plan to run more than one DNR masternode) (Guide will use Windows as main wallet and Ubuntu Server 16.04 LTS for the VPS) I am using Alpharacks, they offer cheap servers along with great service! Check them out for completive offers. Please use my referral link. For this guide, I’m going to refer to the main computer’s wallet as the main wallet, and the VPS’s wallet as the masternode wallet. The main wallet will hold all Denarius used to run the masternode. Ensure you open the main wallet in cmd and use -testnet! Sending masternode collateral and configuring .conf files - Main wallet 1. Make sure your wallet is fully synced before proceeding further. Using the main wallet, enter the debug console (Help > Debug window). This step will generate a masternode private key, please note this down and this will be required later. Type the following command: masternode genkey 2. Get masternode address for your masternode. Replace masternodename with your desired masternode name. getaccountaddress masternodename 3. Send from your wallet exactly 5,000 DNR to the address you generated from step 2. Ensure you get 20 confirmation before proceeding. 4. Get the outputs of the transaction of the 5,000 DNR send to your masternode address. The long hash is your Transaction Hash and the number after is the Transaction Index. Please note this down and this will be required later. masternode outputs 5. Navigate to your users Roaming folder. Copy and paste %AppData% This should show you the Roaming folder and find Denarius folder. 6. In the denarius folder we will create a denarius.conf file, if it is has not been created already. Copy and paste the configuration below to your denarius.conf file. Make sure to replace the values that are unique to your node without “< >”. daemon=1 testnet=0 staking=0 listen=0 logtimestamps=1 maxconnections=256 port=9999 masternode=1 masternodeprivkey=<private key generated in step 1> 7. Create and save another configuration file called masternode.conf in the same location as denarius.conf. <Alias name of your choice> <VPS IP address>:9999 <Private Key from step 1> <TransactionHash from step 4> <Transaction Index from step 4> Example: MNDNR 31.14.125.27:9999 DF92WPpkqbr7s6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1 8. Ensure you close or restart your main wallet. Compile Denarius daemon test masternode on VPS - Masternode wallet Ensure your VPS is secured; here is a few steps you can take to secure your VPS. There are plenty more way to ensure your VPS is watertight, research via google. this cold node setup will also ensure your coins are not on VPS. 9. Ensure the required dependencies for compiling the masternode daemon are installed: sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get -y install libdb4.8++-dev sudo apt-get install build-essential libssl-dev libdb++-dev libboost-all-dev libminiupnpc-dev libqrencode-dev -y Any issues or difficulties with dependencies - see @KawaiiCrypto comments. 10. Download the relevant files and initiate the compile commands, this can take some time depending on the performance of your VPS (up to 30mins): git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix 11. Once the compiling is complete and you should be still in the "~/denarius/src” directory. Denarius daemon will need to be started. This ensures that the ~/.denarius/ folder and required files are setup. Beware - Denarius daemon will not start up because the denarius.conf file has not been configured. ./denariusd 12. Ignore the message about unable to start, as this is normal and we will specify the configuration information now. Edit the denarius.conf file on the masternode wallet, you can use any linux text editor. I use vi in the example below. vi ~/.denarius/denarius.conf 13. Copy and paste the configuration below to your denarius.conf file. Make sure to replace the values that are unique to your node without “< >”. Ensure that rpcuser and rpcpassword are different than you had specified in the main wallet. rpcuser=<rpc_user> rpcpassword=<rpc_password> daemon=1 testnet=0 staking=0 listen=1 logtimestamps=1 maxconnections=256 port=9999 masternode=1 masternodeprivkey=<private key generated in step 1> 14. Start your Denarius daemon. cd ~/denarius/src ./denariusd Start masternode remotely - Main wallet 15. From your main computer, go to the debug console and verify masternode.conf file is setup properly. masternode list-conf Make sure the data output here matches the information entered in the masternode.conf file. If not, edit the file and correct the data. You will have to restart the main wallet, if you update the masternode.conf file. If the masternode configuration matches then we can finally start the masternode. 16. Start the masternode by executing the following: masternode start-alias <alias name specified in masternode.conf> 17. If the output says “masternode is stopped” then run the following command: masternode start Verify on VPS masternode - Masternode wallet 18. To ensure the masternode is running properly you can use the debug and status commands: ./denariusd masternode debug If there are no issues, there should be a message returned with no problems found. ./denariusd masternode status You should get a status 1 if the masternode is active and there is no issue! 19. You can see if your masternode is listed on the main wallet - Masternode Icon > Denarius Network tab. If it does not appear straight away, give it 30mins and restart the wallet to check if your masternode shows up on the list. Note: You do not need to leave your main wallet (windows QT) open. The Denarius daemon/masternode will run independently once remotely activated from main wallet. Congratulations! That's it, your cold node setup is successfully complete! Thanks to @buzzkillb whose "hot node" guide I have brought from DNR Masternode Setup.
-
Compile and Run Denarius-QT or denariusd on Ubuntu Linux! Run the following commands in order on a fresh Ubuntu 14.04/16.04 To compile/run the graphical Denarius wallet (QT) on Ubuntu: Update Ubuntu sudo apt-get update Install required deps sudo apt-get install git build-essential libboost-all-dev libqrencode-dev libminiupnpc-dev libssl-dev libdb++-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools Clone the repo git clone https://github.com/carsenk/denarius CD into the cloned repo cd denarius Now build your makefiles qmake "USE_UPNP=1" "USE_QRCODE=1" denarius-qt.pro Now compile make -j8 (-j8 (8 is the number of cores of your processor to compile on, this speeds up the compilation process) To run and start Denarius after compiling, run ./Denarius To run Denarius in headless daemon mode (denariusd), use this guide to compile on Ubuntu or VPSs: sudo apt-get update Install required deps sudo apt-get install git build-essential libboost-all-dev libqrencode-dev libminiupnpc-dev libssl-dev libdb++-dev Clone the repo git clone https://github.com/carsenk/denarius CD into the cloned repo cd denarius CD into the /src folder cd src Now compile make -f makefile.unix -j8 (-j8 (8 is the number of cores of your processor to compile on, this speeds up the compilation process) To run and start denariusd after compiling, run ./denariusd
-
- 1
-
- build_unix
- guide
- (and 7 more)
-
Community developed Linux distribution for mining Denarius. Suggestions in here please. Development will be done in https://github.com/jarleven/DenariOS Short term goals: Script for setting up miner and GPU drivers Long term goals: ISO liveCD with disk less support (USB). Web interface or other options to configure miner settings (no keyboard mouse screen required) Unattended install: https://askubuntu.com/questions/122505/how-do-i-create-a-completely-unattended-install-of-ubuntu http://www.zerodev.it/automating-centos-netinstall-with-kickstart-and-remastering.html Some things to look into : https://www.linux.com/learn/roll-your-own-customized-ubuntu-uck https://help.ubuntu.com/community/InstallCDCustomization GPU drivers: http://www.webupd8.org/2016/06/how-to-install-latest-nvidia-drivers-in.html https://askubuntu.com/questions/335285/how-to-change-proprietary-video-driver-using-the-command-line https://askubuntu.com/questions/830983/how-to-winstall-nvidia-drivers-to-use-cuda-without-also-installing-x11