Month: June 2018

  • Blog
  • Month: June 2018

Step By Step Guide to Build Monero in Ubuntu – Latest version above 0.12

Building latest version of Monero is getting a bit tuff and many errors occur on the go. This article explains to Build Monero in Ubuntu. Please follow each step since missing a package may lead to an error. This article assumes that you are using ubuntu 16.04 , well most of the step will even work for ubuntu 14 , but you will have to compile certain packages to Build Monero in Ubuntu. If its a fresh installation of Ubuntu please execute following commands sudo apt-get update sudo apt-get install build-essential  1. Step 1 Install cmake to Build Monero in Ubuntu Here you should build cmake from source simple reason is version  if you install the camke via command “sudo apt-get install cmake”  version 3.5 will be installed which throws error while compiling monero. Best way would be to install cmake version atleast 3.10.1 , below commands will help you with installation of cmake version 3.10.1 . wget http://www.cmake.org/files/v3.10/cmake-3.10.1.tar.gz tar -xvzf cmake-3.10.1.tar.gz cd cmake-3.10.1/ ./configure make sudo make install sudo update-alternatives –install /usr/bin/cmake cmake /usr/local/bin/cmake 1 –force 2. Step 2 Install dependencies to Build Monero in Ubuntu To build monero some packages are required , this packages mostly inlcue boost , ssl etc. Below command will install all the required dependencies for Boost. You can always contact Techaroha if you want to clone a new currency from Monero. Please contact us here. sudo apt-get install pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libminiupnpc-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libgtest-dev doxygen graphviz libpcsclite-dev  3. Step 3 , Clone the repository of Monero recursively This is most important and it has to be done in right way. I got stuck for 2 days because of this. You should clone the repository recursively , other wise all the files won’t be getting downloaded you will face many issues again and again , mostly like  undefined reference to `explicit_bzero’ , undefined reference to `memset_s’ or undefined reference to `pthread_create’. Best way to avoid any such error is to clone the repository recursively using this command. git clone –recursive https://github.com/monero-project/monero.git  4. Step 4 , Clone the repository of Monero recursively Now the final make command , go to directory of monero  and fire the make command , it will stall building , its gonna take some time so just be patience. Use the following commands cd monero make Techaroha team a Block Chain development company based in Mumbai(India) has experience block chain development team and can help you in all phases of coin development for Coin Development to Listing. To get the details of our service please go through the following link To Launch Cryptocurrency , please click here. You want help with ICO please click here.

Install Node Js from Ubuntu Packages

Install Node Js from Ubuntu Packages Introduction Node.js is a JavaScript platform for general-purpose programming that allows users to build network applications quickly. By leveraging JavaScript on both the front- and back-end, development can be more consistent and designed within the same system. Node JS is required to run the UI of the Explorer and interact with coin to fetch the data and insert the same into Mongo DB. There are several ways to install node js 1. Binary Installation. To install Node JS from Binary  click here 2. Installation from Source Code. To install Node JS from Source Code Click Here 3. Installation from Ubuntu Packages. we are going to install Node JS from Installation from Ubuntu Packages.  Install Node.js with Ubuntu Package Manager Step 1: To install Node.js, execute the following command in your terminal sudo apt-get install nodejs Step 2: install the Node package manager sudo apt-get install npm Step 3: Create a symbolic link for a node sudo ln -s /usr/bin/nodejs /usr/bin/node Step 4: Check the version $ node -v v0.10.25 $ npm -v 1.3.10 Install Node.js with Maintained Ubuntu Packages Step 1: Add the Node.js-maintained repositories to your Ubuntu package source list curl -sL https://deb.nodesource.com/setup | sudo bash – Step 2: install Node.js with apt-get sudo apt-get install nodejs Step 3: create a symbolic link for the node sudo ln -s /usr/bin/nodejs /usr/bin/node Step 4:  Check the version $ node -v v0.10.44 $ npm -v 2.15.0 If you see the versions displayed for node and npm, you have successfully compiled Node.js with npm from Packages.

Pointing domain to an Cryptocoin explorer

Domain Pointing DNS (Domain Name System) allows us to reference computers by easy-to-remember domain names, like example.com  instead of IP addresses. DNS records define which IP addresses map to which domain names and how to handle other kinds of requests a domain might receive. To set up a domain name, you need to do two things. First, you need to purchase a domain name from a domain name registrar. Second, you need to set up DNS records for your domain by using a DNS hosting service. Domain Pointing using Godaddy.com Step 1: Login to Godaddy.com Step 2: My Products – > My Domains Step 3: Select Your Domain -> Manage DNS Step 4: Edit Your domain Step 5: Change Points To IP address and save Configuring Apache Step 1: Create yourDomainName.conf file. vim /etc/apache2/sites-available/yourDomainName.conf Step 2: Add following code And change the Domainname.com with your domain name. <VirtualHost *:80> ServerAdmin webmaster@yourDomainName ServerName yourDomainName ServerAlias yourDomainName DocumentRoot /var/www/html/blogs/techaroha_wordpress/yourDomainName ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> <Directory /var/www/html/blogs/techaroha_wordpress/yourDomainName> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all </Directory> Step 3: Execute following commands. sudo a2ensite yourDomainName.conf sudo service apache2 restart installing SSL certificate on a Domain Step 1: Create a directory name yourDomainName on following path /etc/ssl/certs/ Step 2: Navigate to /etc/ssl/certs/yourDomainName Step 3: Go to Website https://www.sslforfree.com/ And login Step 4: Enter Domain Name then Click on Manual Verification and Verify Your Domain. Step 5: You will get 3 files 1- Certificate 2- Private Key 3- ca-bundle Step 6: Create three files with extensions .key, .crt , .ca-bundle in yourDomainName directory. /etc/ssl/certs/yourDomainName/yourDomainName.key /etc/ssl/certs/yourDomainName/yourDomainName.crt /etc/ssl/certs/yourDomainName/yourDomainName.ca-bundle Step 7: Add following code And change the yourDomainName.com.conf with your domain name. <VirtualHost *:443> ServerName yourDomainName ServerAdmin webmaster@yourDomainName ServerAlias yourDomainName DocumentRoot /var/www/html/blogs/techaroha_wordpress/yourDomainName ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/ssl/certs/yourDomainName/yourDomainName.crt SSLCertificateKeyFile /etc/ssl/certs/yourDomainName/yourDomainName.key SSLCertificateChainFile /etc/ssl/certs/yourDomainName/yourDomainName.ca-bundle </VirtualHost> Step 8: Execute the commands sudo a2ensite yourDomainName.conf sudo a2enmod rewrite sudo a2enmod ssl sudo service apache2 restart Step 9: Create a .htaccess file to force https and Place below code in the file RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yourDomainName.com/$1 [R,L] proxy Server Step 1: to enable proxy execute following commands sudo a2enmod proxy sudo a2enmod proxy_http sudo a2enmod proxy_balancer sudo a2enmod lbmethod_byrequests sudo systemctl restart apache2 Step 2: Add following code in yourDomainName.com.conf  file <VirtualHost *:80> ProxyPreserveHost On ProxyRequests Off ServerName yourDomainName ServerAlias yourDomainName ProxyPass / http://localhost:3001/ ProxyPassReverse / http://localhost:3001/ </VirtualHost> Step 3: save file and execute the following command sudo service apache2 restart

Install MongoDB in Ubuntu Step by Step Guide

Install MongoDB  in Ubuntu Introduction Mongo DB serves as a back-end to  Explorer. All the transaction in blockchain is also stored in Mongo DB. MongoDB is a free and open-source NoSQL document database used commonly in modern web applications. This tutorial will help you set up MongoDB. Install MongoDB step 1: Reload local package database. sudo apt-get update step 2: Install the MongoDB packages. sudo apt-get install -y mongodb-org step 3: Install a specific release of MongoDB. To install a specific release, you must specify each component package individually along with the version number, as in the following example: sudo apt-get install -y mongodb-org=3.6.0 mongodb-org-server=3.6.0 mongodb-org-shell=3.6.0 mongodb-org-mongos=3.6.0 mongodb-org-tools=3.6.0 step 4: Start MongoDB. sudo service mongod start Once Mongo DB is installed we need to create the database which will be by iquidus explorer and set up the credentials for that. Please click here to create the database  and  set up the credentials