Installation de Ethereum.
Distribution : Ubuntu 14.04 64 bits LTS (HVM)
1) Connexion sur le serveur en ssh :
[~] ➔ ssh admin@92.243.66.66 admin@92.243.66.66's password: Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.18.26-guest-4-4751b4a-x86_64 x86_64) [-----------------------------------------] Gandi - Welcome to your new OS image. Documentation : [EN] http://wiki.gandi.net/en/iaas [FR] http://wiki.gandi.net/fr/iaas Configuration file for Gandi : /etc/default/gandi or /etc/sysconfig/gandi [-----------------------------------------] Last login: Thu May 26 00:05:43 2016 from 92.130.108.666 admin@server04ether:~$
2) Utilisateur root :
admin@server04ether:~$ su Password: root@server04ether:/home/admin#
3) Mise-à-jour :
root@server04ether:/home/admin# apt-get update && apt-get upgrade
4) Installation des paquets de base :
root@server04ether:/home/admin# apt-get install unzip wget screen curl mc links sudo
5) Téléchargement du script d’installation :
root@server04ether:/home/admin# mkdir ETHEREUM root@server04ether:/home/admin# cd ETHEREUM/ root@server04ether:/home/admin/ETHEREUM# curl https://install-geth.ethereum.org -L > install-geth.sh
6) Exécution du script :
root@server04ether:/home/admin/ETHEREUM# bash ./install-geth.sh
7) Déconnection :
root@server04ether:/home/admin/ETHEREUM# exit admin@server04ether:~$
8) Lancement de geth :
(Lancer Screen)
admin@server04ether:~$ geth console I0526 00:11:43.173667 ethdb/database.go:82] Alloted 128MB cache and 1024 file handles to /home/admin/.ethereum/chaindata ... I0526 00:11:45.293765 node/node.go:298] IPC endpoint opened: /home/admin/.ethereum/geth.ipc instance: Geth/v1.4.5-stable/linux/go1.5.1 >
9) Premier lancement : Synchronisation avec la Blockchain
> ... I0526 00:14:31.185099 core/blockchain.go:959] imported 256 block(s) (0 queued 0 ignored) including 0 txs in 393.893038ms. #43298 [b2c897cb / f67faedd] I0526 00:14:31.706896 core/blockchain.go:959] imported 256 block(s) (0 queued 0 ignored) including 0 txs in 519.410728ms. #43554 [912c0684 / 41057029] I0526 00:14:32.390008 core/blockchain.go:959] imported 256 block(s) (0 queued 0 ignored) including 0 txs in 681.895659ms. #43810 [b6412db3 / 4841325a] I0526 00:14:32.933148 core/blockchain.go:959] imported 256 block(s) (0 queued 0 ignored) including 0 txs in 540.693484ms. #44066 [b26f1b22 / aeff3b85] ... I0526 16:13:16.293564 core/blockchain.go:959] imported 256 block(s) (0 queued 0 ignored) including 1271 txs in 7.86807893s. #1150258 [d2e9614a / fa1a7ca8] I0526 16:13:43.506227 core/blockchain.go:959] imported 256 block(s) (0 queued 0 ignored) including 3143 txs in 27.211006998s. #1150514 [58d455e0 / 5e44d229] ...
Le jeudi 26 mai à 16:16 :
– Nombre de block déjà traité : #1150514
– Sur etherchain.org : Nombre de block traité actuellement : 1588451
> eth.syncing { currentBlock: 1155375, highestBlock: 1588507, knownStates: 0, pulledStates: 0, startingBlock: 1149999 }
10) Lancement d’une autre console geth :
(Créer un autre screen )
admin@server04ether:~$ geth attach instance: Geth/v1.4.5-stable/linux/go1.5.1 >
11) Afficher l’état de la synchronisation :
> eth.blockNumber 68904 >
12) Lien :
http://www.bortzmeyer.org/ethereum.html
Comments are closed, but trackbacks and pingbacks are open.