![]() $ sudo vim /etc/systemd/system/rviceĪnd put the content below into that file 1ĮxecStart=/usr/local/bin/dogecoind -daemon \ For that create a systemd configuration file 1 Launching process manually and maintaining screen sessions might be a bit unconvenient, so we want a deamon to start on system startup and to be restarted in case of any issues. Here -ls option lists all active session and -r flag restores a session specified by it’s name. $ screen -r doge # connect back to our shell ![]() Will create a named doge session and Ctrl A, D sequence will deattach from it keeping everything in the background. It will keep your shell alive as well as the processes spawned within it in case of connection loss or other issues with ssh. The process on blockchain synchronization might take a while, so if you are using remote instance it’s better to run everything using screen utility. ![]() If you skip that you can still get logs later with tail -f /mnt/data/dogecoindata/debug.log (or /home/doge/.dogecoin/debug.log for default location). printtoconsole allows for the output to be displayed right back to console instead of being written to the file. conf parameter needed to specify configuration file which will be created within the abovementioned data directory, so we override that back to default location. datadir is a path to a directory (possibly on a separate volume) where all the blockchain data will be stored. If you are ok to store everything within home directory you can omit both -conf and -datadir options. $ dogecoind -printtoconsole -conf= "/home/doge/.dogecoin/nf" -datadir= "/mnt/data/dogecoindata" $ which dogecoind # make sure executable is reachable In order to accomplish this we need to pass extra flags prior to launch 1 Optionally you can run tests to confirm that everything works properly for the codebase downloaded 1ĭaemon will start downloading full blockchain, so confirm that you have enough space on your disk by running df -h.Īdditionally you might want to store the data on a separate volume to isolate from the rest of the system and that’s exactly what I’ll be doing here. Installation is finished, so run this command to install executables and make them available within PATH 1 without-gui flag from instructions above. In case you want to have UI to interact with your wallet you have to include these steps and remove Note: We are not installing graphical user interface here which requires Qt and other dependencies to be installed. configure LDFLAGS= "-L $/include/" -without-gui If you are not sure you can always check by typing 1Ĭompile binaries from source code with steps below 1 Make sure you have already exported variable for the BDB_PREFIX in current shell. In case you want to have a full control over the process you can do that manually by following these steps from build docs. $ export BDB_PREFIX= "/home/doge/dogecoin/db5" The easiest way to install it is by using this automation script 1 Although you can install different version of it 5.1 is recommended in order to maintain portability of the wallet between the standard Dogecoin Core distributions. $ export DOGECOIN_ROOT=/home/doge/dogecoinĪnother dependency is Berkeley DB which is used to store wallet data. Clone source code and define a shell variable to be used within build process 1 We’ll be working from home directory /home/doge, so make sure you have navigated to your target dir if you plan to install everything elsewhere. $ sudo apt install git build-essential libtool autotools-dev \Īutomake pkg-config libssl-dev libevent-dev bsdmainutils \ First of all we need to ensure all the dependencies required are in place 1 Now we are ready to proceed with installation. if you are root currently) type this command 1 The rest of the article assumes that we are working as a doge user. It’s always a good idea due to security reasons to create separate user that will be running the daemon process and will be isolated from the rest of the system. Reach to the official build notes to adjust commands if needed. Setup should also apply for previous versions of Ubuntu but I have verified it only for Focal Fossa, so there is no guarantees for these exact commands to work. Your instance should have at least 2Gb of memory and 80-100Gb of free disk space (current blockchain size is about 50Gb). create transaction, send/receive coins, validate network addresses) or just help community providing your server to make network stable and operable. This might be useful if you want to interact directly with blockhain (e.g. ![]() In this article I’ll be showing how to setup a full Dogecoin network node on Ubuntu 20.04. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |