Social Icons

Sunday, September 22, 2019

Installation Cupcarbon : Smart City and Internet of Things Wireless Sensor Network simulator

1.    CupCarbon is a Smart City and Internet of Things Wireless Sensor Network (SCI-WSN) simulator. Its objective is to design, visualize,debug and validate distributed algorithms for monitoring,environmental data collection, etc., and to create environmental scenarios such as fires, gas, mobiles, and generally within
educational and scientific projects. Not only it can help to visually explain the basic concepts of sensor networks and how they work; it also supports scientists to test their wireless topologies, protocols, etc.

2.   Although otherwise an easy installation,but with the Java changes effecting 16 Apr 2019 wherein the release of Oracle Java 8 update 211 / 212 – also known as Oracle’s first ‘not free for production use’ patchset,the installation instructions are little changed.

3.   This post will bring you simple set of commands executed with screenshots to run this awesome simulator CUPCARBON.The simulator is available for download at http://cupcarbon.com/download.html .

4.  Once downloaded the following commands will get you the desktop with cupcarbon running. My friend Ayaz helped me out in these.

$ sudo apt-get update
 $ sudo apt-get upgrade
 next we need to check if java is installed by checking the version by the following command :

$ java -version

If there is no java installed we need to install by typing the following :

$ sudo apt install openjdk-11-jre-headless
 Once installed check the output and we should get the following :

 Now we need to install javafx with the following command :

$ sudo apt install openjfx
 Once installed,we can query with the following command and get the expected output as seen below :
$ dpkg-query -L openjfx

/usr
/usr/share
/usr/share/doc
/usr/share/doc/openjfx
/usr/share/doc/openjfx/TODO.Debian
/usr/share/doc/openjfx/changelog.Debian.gz
/usr/share/doc/openjfx/copyright
/usr/share/openjfx
/usr/share/openjfx/lib
/usr/share/openjfx/lib/javafx.properties
/usr/share/openjfx/lib/javafx.base.jar
/usr/share/openjfx/lib/javafx.controls.jar
/usr/share/openjfx/lib/javafx.fxml.jar
/usr/share/openjfx/lib/javafx.graphics.jar
/usr/share/openjfx/lib/javafx.media.jar
/usr/share/openjfx/lib/javafx.swing.jar
/usr/share/openjfx/lib/javafx.web.jar

Now move to the location where you have downloaded the cupcarbon.jar file.Unzip the same and change the execution properties as

$ chmod +x cupcarbon.jar

Once done,we need to execute and run the carbon.jar file by defining the route and javafx

$ java --module-path /usr/share/openjfx/lib --add-modules=javafx.controls,javafx.fxml,javafx.base,javafx.media,javafx.web,javafx.swing -jar '/home/smartbuilding/Downloads/cupcarbon/CupCarbon/cupcarbon.jar'

Here in the above command you need to define and enter the path which is being used in ur PC.In my case the path is home/smartbuilding/Downloads/cupcarbon/CupCarbon/cupcarbon.jar

The above should run successfully and give you the below screen that runs the cupcarbon simulator



Thanks Ayaz bhai....for the inputs.He is available at https://ayaztechy.blogspot.com/

Friday, September 06, 2019

BLOCKCHAIN BASICS & CRYPTOCRIMES CASE TAKES : Central Academy for Police Training(CAPT) Bhopal

Sharing my presentation on "BLOCKCHAIN BASICS & CRYPTOCRIMES CASE TAKES",taken at CAPT(Central Academy of Police Training),Bhopal on 31Aug 2019. The presentation after building upon basics of Blockchain and Cryptocurrencies takes on few known case studies including the Mt Gox Exchange theft and the role played by Kim Nilsson



Wednesday, July 17, 2019

Truffle Suite: Tools for Smart Contracts installation in UBUNTU 18.04 LTS

The following sets of screen shots show the Ubuntu installation part and a sample smart contract execution of Truffle,a personal blockchain for Ethereum development one can use to deploy contracts, develop  applications, and run tests.:

First command is to install npm
 The next screen shows installation of npm
 now we use npm to install truffle
 make a directory...I made a directory truffleproject as seen below:
 We also need to install atom...a code editor..available at atom.io
 In case of Ubuntu,download the .deb file from site
 Install atom

 Now download a sample smart code project metacoin
 Run Atom
 Open project
 Contracts...click
 choose Metacoin
 Run the code...
 

Wednesday, June 05, 2019

Astra Linux: Russian Linux-based computer operating system

Astra Linux is a Russian Linux-based computer operating system developed to meet the needs of the Russian army, other armed forces and intelligence agencies.It provides data protection up to the level of "top secret" in Russian classified information grade. It has been officially certified by Russian Defense Ministry, Federal Service for Technical and Export Control and Federal Security Service.I downloaded the iso image from https://astralinux.ru/products/astra-linux-special-edition/

Few screen shots during the installation :



















Cryptocurrency crimes and Blockchain Technology : Central Academy for Police Training(CAPT) Bhopal

The presentation was given at the Central Academy for Police Training(CAPT) Bhopal on 30 May 2019.The presentation covers an overview of what Blockchain technology is and how cryptocrimes are emerging off late with challenges to Law enforcement agencies.











Powered By Blogger