CentrioHost Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


HOW TO SET UP A FULL LITECOIN NODE IN CENTOS 7

Litecoin was launched by Charles Lee in 2011 and it is a top 5 cryptocurrency. It is a P2P crypto and it has gained immense popularity in the recent past. In a similar fashion to BTC, Litecoin is a form of digital money that uses blockchain technology to maintain a public ledger of all transactions. It is an open source software project released under the MIT/X11 license.

Litecoin has gained popularity due to its-

  • Increased speed
  • Number of coins
  • Market cap

In brief, the differences between BTC and LTC is-

PARAMETERSBITCOINLITECOIN
Coin limit21 Million84 Million
AlgorithmSHA-256Scrypt
Mean block time10 minutes2.5 minutes
Initial reward50 BTC50 LTC
Current block reward25 BTC50 LTC
Created bySatoshi NakamotoCharles Lee
Creation date20092011
Market cap as of Nov 2017$10,467,596,650.78$540,274,528.26

Having already published a tutorial on setting up an Ethereum node in your server, in this tutorial we will walk you through setting up a Litecoin node in your CentOS 7 server.

 

PREREQUISITES

  • CentOS 7 server
  • Root access

 

STEPS TO SETUP A FULL LITECOIN NODE IN CENTOS 7

We will install the latest version of Litecoin from the official website. First log into your CentOS 7 server with root access and navigate to home directory using the command – cd ~ or any download directory.  Use wget to download Litecoin using the command- wget https://download.litecoin.org/litecoin-0.14.2/linux/litecoin-0.14.2-x86_64-linux-gnu.tar.gz

Once the download is complete, you will be able to see a console message as shown below-

You can verify that the download has been successful by using the command- ls -ltr : 

Once downloaded, you can extract the directory using the command- tar -zxvf litecoin-0.14.2-x86_64-linux-gnu.tar.gz

Now we are ready to install all needed packages. To install use the command- sudo install -m 0755 -o root -g root -t /usr/local/bin ~/litecoin-0.14.2/bin/*

This completes our initial installation. Once installed you will be able to use commands – litecoind and litecoin-cli from anywhere in your command prompt. To verify you can try using the litecoin -cli command on the console as shown below-

We now need to configure the LTC node. First, create a folder using the command- mkdir .litecoin

Please note this is a hidden folder and will not be visible if you use the command ls-ltr. Instead, to verify, you can use ls-ltra. This will list your folder on the screen:

Navigate to the newly created folder using the command- cd .litecoin/ as shown below-

Create a new config file with vim using the command- vi litecoin.conf

Add the following entries (but make sure to modify the password) to the config file:

rpcuser=litecoinrpc
rpcpassword=Test123
txindex=1
server=1
daemon=1
rpcbind=127.0.0.1
bind=127.0.0.1

A snapshot of the file is shown below-

Make sure you’ve changed the rpcuser and rpcpassword values and save the file. With this, we complete our litecoin configuration.

To start your new Litecoin node use the command- litecoind. To verify that it is downloading blocks, use the command- litecoin-cli getinfo.

That’s it!! Assuming you followed the steps outlined above, you now have a full Litecoin node running on your CentOS 7 server.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 123456
78910111213
14151617181920
21222324252627
28293031 

Over 20000 Satisfied Customers!

  • web hosting reviewer
    Valerie Quinn
    CTO, Acteon Group

    Centriohost staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue! ~ . . . Read more

  • Joomla hosting reviewer
    Collin Bryan
    Photographer, Allister Freeman

    I'm using centrio for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly. ~ . . . Read more

  • dedicated server reviewer
    Harry Collett
    Actor, A&J Artists

    Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all. ~ . . . Read more

  • vps web hosting reviewer
    Porfirio Santos
    Technician, Diageo PLC

    Centrio support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Centriohost have been amazingly responsive and helpful to any of my queries 👍👍👍 ~ . . . Read more

  • wordpress hosting plans reviewer
    Catherine Auer
    Doctor, SmartClinics

    Anytime I've had a problem I can't solve, I've found Centriohost to be diligent and persistent. They simply won't let an issue go until the client is happy. ~ . . . Read more

  • reseller hosting reviewer
    Effectivo Social
    Freelancer, Fiverr

    Recommend their shared hosting for all my SME web design clients. Their cloud or VME offerings are too great to deal with. Pricing is perfect and suitable for all users (͠≖ ͜ʖ͠≖) 👌 ~ . . . Read more

Top