Post

Visualizzazione dei post con l'etichetta docker

ScryptaChain - How to create a masternode with docker

Immagine
INTRODUCTION Scryptachain is a POS blockchain, forked by PIVX, supported by staking and masternode. Into Scryptachain you can reward using staking or installing a masternode. This guide allow you to create a masternode using docker . Are you ready? PREPARE ENVIRONMENT First step: install docker  and buy 15.000 LYRA from cryptobridge or mercatox exchange Into our desktop dowload and install official wallet . Note: You can use this site  to download blockchain bootstrap and speedup wallet initialization phase! GENERATE MASTERNODE KEY AND PREPARE ADDRESS To generate the masternode key, we must have 15.000 LYRA into specific address. So open the  Debug Window  (from  Help  menu) and digit: masternode genkey  (copy it into separated txt file) and getnewaddress Now we can send the 15.000 LYRA to this address! The address must be locked, so open Settings > Options > Wallet and click Enable coin control features Go ...

Hadoop, how to create a single node cluster using docker

Immagine
INTRODUCTION Hadoop is an open-source sofware utilities that uses a computer cluster to solve problems involving massive amounts of data (BigData) The Apache Hadoop framework is composed by follow modules: Common HDFS YARN MapReduce All this modules are included into single docker image (only for accademic use) created by sequenceiq INSTRUCTION Requirements: Docker CE Follow steps will help you to create a single node cluster into your computer !!! First pull the image from official repo docker pull sequenceiq/hadoop-docker:2.7.1 Now you can create a docker container named hadoop-local docker run --name hadoop-local -d -t -i  \     -p 50010:50010  -p  50020:50020  -p  50070:50070  -p  50075:50075  -p  50090:50090 \     -p  8020:8020  -p  9000:9000  -p  19888:19888  -p  8030:8030  -p  8031:8031 \      -p  8032:8032  ...

How to install IOTA node with docker

Immagine
INTRODUCTION IOTA has a official full node project named iri . It is a java open-source project ( github ) Today there are 2 versions of iri: 1.5.x STABLE with full snapshot feature 1.6.x RELEASE CANDIDATE with local snapshot feature Into this tutorial we will install STABLE version REQUIREMENTS There are two common solutions to install IOTA node: playbook docker I prefer docker installation. So you must have docker into your 64-bit system. Docker official installation guide links: Windows Linux (Ubuntu) Mac OsX After that you must install  docker compose  tool DOCKER-COMPOSE Docker compose is a yaml file with docker container declarations, we must use follow file named docker-compose.yml : version: "2" services: iri: image: iotaledger/iri:latest restart: unless-stopped volumes: - ./data/iri/iri.ini:/iri/conf/iri.ini:ro - ./data/iri/ixi:/iri/ixi:rw - ./data/iri/db:/iri/data:rw - /etc/localtime:/etc/...

IoTeX: How To create a full testnet node

Immagine
INTRODUCTION Hello everyone, last week developers team publicated IoTeX testnet , it is an IoT centred blockchain. Unlike other blockchains, a full node IoTeX can be install into lowenergy devices (raspberry). Now its database is 1.6 GB large This guide help you to deploy a testnet node REQUIREMENTS The iotex-core is packaged into a docker image. So you must have docker into your 64bit system. Official installation guide links: Windows Linux (Ubuntu) Mac OsX After that you must install docker compose  tool INSTALLATION I create a github repository to deploy a full node quickly. Below a sequence of commands: repository download git git clone https://github.com/Fabryprog/iotex-core-compose.git zip https://codeload.github.com/Fabryprog/iotex-core-compose/zip/master copy the file  config.template.yml  into  config.yml edit the file  config.yml. You must put your public IP execute start command docker-compose up...

IoTeX: Creare un full node su rete testnet

Immagine
INTRODUZIONE Ciao a tutti, settimana scorsa è uscita la testnet di IoTeX, una blockchain dedicata al mondo IoT di cui già mi sono occupato intervistando Simone Romano ( link ) A differenza di altre blockchain, un full node IoTeX è possibile installarlo in dispositivi low-energy (esempio raspberry) ed il database attualmente occupa 1.6 GB Per chi volesse costruire un proprio nodo casalingo e provare a scrivere qualche smart contract di seguito trovate una guida facile e snella che vi seguirà passo dopo passo. REQUISITI Il software core del nodo è impacchettato su immagine docker , quindi occorre avere un sistema operativo a 64 bit con docker installato. Ecco i link per installare docker: Windows Linux (Ubuntu) Mac OsX Una volta installato occorre scaricare un tool chiamato docker compose INSTALLAZIONE Per agevolare l'operazione di installazione ho creato  questo repository github. Sequenza di comandi da eseguire: scaricare il repository  us...

Gestione della memoria immagini DOCKER con JAVA

Immagine
INTRODUZIONE JAVA Tutti oramai conoscono java sia perchè quando è nato, alla fine degli anni 90, fu una rivoluzione e sia perchè è stato il precursore dei moderni telefoni cellulari (spero che pochi di hanno avuto il dispiacere di scrivere sofware in J2ME!).  La rivoluzione principale è stata inserire una Virtual Machine dove far girare i software astraendosi dalla reale struttura hardware della macchina. CONTAINER DOCKER Il concetto di "container" nasce già intorno al 1979 con il "chroot UNIX", un sistema in grado di fornire ai processi degli spazi isolati all'interno della macchina in uso.  Dal 2013 Docker inizia a prendere piede ed essere il sistema più utilizzato in campo IT.  Nato principalmente per simulare ambienti controllati e asettici in ambito di sviluppo software fin da subito l'attenzione dell'intera comunità si sposta negli ambienti di produzione dato che viene intuita la potenza di avere un sistema isolato che fu...