Social Icons

Saturday, May 02, 2020

Installation Bitcoin core on UBuntu 18.0.4 LTS : Bitcoin Mechanics -1

With this first post special to Bitcoin core,over next few months I intend to do some exploring on the bitcoin mechanics part.This basically means playing with the blocks and blockchain vide few python based scripts.Will start from the installation part followed by other posts on extracting info from bitcoin blockchain. This post basically is straight forward installation with the following commands.Screen shots for info :

Firstly install snapd with the following commands

sudo apt update
sudo apt install snapd

 
 click green button install

after this installation of snapd,one single command as follows:

sudo snap install bitcoin-core

The effected screenshots are seen below :


Once installed ,you can check on the terminal...should see three bitcoin applications by tabbing


While the GUI shows as below


When you run for the first time,the GUI notification pops for asking for location of default directory for storing blocks.


Thereafter the blocks start getting downloaded with status of files downloaded visible....


Blocks downloaded status is seen below...this downloading around 287 GB as on date will take time as per download speed available.


The location of the blocks being downloaded will be at /home/bitcoin_scripts/snap/bitcoin-core/common/.bitcoin/blocks where bitcoin_scripts is the user name.

Next post we will see whats inside the block....

Thursday, April 30, 2020

How to Install Microsoft office 2007 on Ubuntu 18.04 LTS ?

This post will bring out steps on how to install Microsoft office 2007 or any version upto Office 2016 on a Ubuntu 18.04 LTS. Few of the commands one will require are given below followed by the screenshots of installation steps :

Installing XTERM

sudo apt-get update -y

sudo apt-get install -y xterm


Installing PlayOnLinux which relies on the WINEHQ Project

wget -q "http://deb.playonlinux.com/public.gpg" -O- | apt-key add -

wget http://deb.playonlinux.com/playonlinux_stretch.list -O /etc/apt/sources.list.d/playonlinux.list

sudo apt-get update

sudo apt-get install playonlinux


The related screen shots are enclosed below for reference :

Installing playonlinux...terminal shots































Here we see the Microsoft office 2007 running....

Wednesday, April 29, 2020

Reset Ubuntu 18.04 LTS to original state

Invariably for Ubuntu users there are times when there is a need felt to get back to the original state of Ubuntu as it was at the time of fresh install.This post shares steps and screen shots to achieve the same with the help of a small tool known as RESETTER.


- After download,just double click the file which is most likely downloaded in the Downloads folder unless otherwise configured.

After double clicking it will take few minutes to install.

After installing just go to the terminal and type sudo resetter

That's all...the above steps have been shown below as screen shots..step wise

The site from where the file to be downloaded named resetter_3.0.0-stable_all.deb
 File seen in the downloads folder
 Double click the same and we get the software install notification window
 Installing after punching password as aksed

 At the terminal type sudo resetter
 There comes the resetter GUI...and u r ready to go
 Thanks

Sunday, March 01, 2020

Install "golang-github-gorilla-mux-dev" package :Ubuntu 18.04 LTS

Single line command at terminal

sudo apt-get install -y golang-github-gorilla-mux-dev

 

Install "golang-github-joho-godotenv-dev" package: Ubuntu 18.04 LTS

Single line command

sudo apt-get install -y golang-github-joho-godotenv-dev


Installing GO in Ubuntu 18.04 LTS

M sharing here only the terminal commands for installing GO in Ubuntu 18.04...followed by checking whether it is working or not....

Commands as follows in yellow :


Download the recent tar...herein it is go1.14.linux-amd64.tar.gz

Further to this untar the same...and move the files to /usr/bin

sudo tar -xvf go1.14.linux-amd64.tar.gz
sudo mv go /usr/local
cd /usr/local/
sudo chown -R root:root ./go

Using gedit or any other vi/vim editor, open the ~/.profile file and append the following lines at the bottom :

export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

Save and load the commands vide the following command

source ~/.profile

Now create a new directory

mkdir GOLA

Within this create /src/welcome and within that directory copy and paste the contents of the file below

mkdir -p GOLA/src/welcome && cd GOLA/src/welcome
touch welcome.go
gedit welcome.go 

add the following lines here in this file

package main
import "fmt"
func main() {
    fmt.Printf("welcome to go world\n")
}
 

and save above followed by build and running the file

go build

./welcome
message should be displayed welcome to the go world

Saturday, February 29, 2020

CAPT Bhopal Conference Presentation : BLOCKCHAIN-BITCOIN-CRIMES INTRODUCTION & What's it all about?

A copy of the presentation and talk that I gave at Central Academy for Police Training(CAPT) at Bhopal on 29 Feb 2020.The presentation covers a brief overview of what blockchain and bitcoin mean,how they work concluded by the crimes happening around them.


Few pics from the conference below




Powered By Blogger