-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom scripts, web terminal, welcome message
- Loading branch information
Showing
13 changed files
with
128 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Cryptotux is a Linux image preconfigured with tools for crypto development and education. | ||
|
||
Cryptotux is currently supplied as .ova images that can be directly imported into Virtualbox (6.X+). | ||
Cryptotux is currently supplied as .ova images that can be directly imported into Virtualbox (6.X+) and VMWare. | ||
It is particularly suited for workshops. Username is *bobby*, password is *bricodeur*. | ||
|
||
![screenshot](screenshot.png) | ||
|
@@ -24,7 +24,8 @@ To launch only nodes or tooling you can use the server version. | |
* Install [virtualbox](https://virtualbox.org) | ||
* Download the latest "Server image" on [cryptotux.org](https://cryptotux.org) | ||
* Click on the file or on "↶ import appliance" in virtualbox | ||
* Connect via ssh `ssh [email protected] ` (add `-o IdentitiesOnly=yes` if you have many keys) <!-- or have a preview by opening a browser at http://192.168.33.10:3030 --> | ||
* Connect via ssh `ssh [email protected] ` (add `-o IdentitiesOnly=yes` if you have many keys) | ||
* Or open a browser at http://192.168.33.10:7681/ | ||
|
||
For ease you can also sync a local folder, let's call it 'remote', and the internal user folder of the machine with `sshfs -o IdentitiesOnly=yes [email protected]:/home/bobby ~/remote` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
mkdir ~/Projects/ | ||
cd ~/Projects/ | ||
git clone https://github.com/libra/libra.git | ||
cd libra | ||
git checkout testnet | ||
yes | ./scripts/dev_setup.sh | ||
./scripts/cli/start_cli_testnet.sh | ||
libraAlias="alias libra=~/Projects/libra//scripts/cli/start_cli_testnet.sh" | ||
$libraAlias | ||
echo $libraAlias >> ~/.bashrc | ||
echo -e '\033[1mLibra installed\033[0m' | ||
libra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
mkdir -p ~/Projects/ | ||
cd ~/Projects/ | ||
git clone https://github.com/bitcoin/bitcoin.git Bitcoin | ||
|
||
go get -u github.com/golang/dep/cmd/dep | ||
go get -d github.com/lightningnetwork/lnd | ||
cd $GOPATH/src/github.com/lightningnetwork/lnd | ||
make && make install | ||
make check | ||
# TODO add better configuration and walktrough | ||
echo -e '\033[1mBitcoin source and Lightning node installed\033[0m' | ||
echo -e 'launch \033[1mbitcoind \033[0min one terminal and in another one' | ||
echo -e '\033[1mlnd --bitcoin.active --bitcoin.testnet --debuglevel=debug --bitcoin.node=bitcoind --bitcoind.rpcuser=bobby --bitcoind.rpcpass=bricodeur --bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333\033[0m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
echo export GO111MODULE=on >> ~/.bash_profile | ||
mkdir -p $GOPATH/src/github.com/tendermint | ||
cd $GOPATH/src/github.com/tendermint | ||
git clone https://github.com/tendermint/tendermint.git | ||
cd tendermint | ||
make tools | ||
make install | ||
echo -e '\033[1mTendermint is ready to be used.\033[0m' | ||
echo "Version : $(tendermint version)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
tezosHome="~/Projects/Tezos" | ||
mkdir -p $tezosHome | ||
cd $tezosHome | ||
wget -O carthagenet.sh https://gitlab.com/tezos/tezos/raw/latest-release/scripts/tezos-docker-manager.sh | ||
chmod +x carthagenet.sh | ||
tezosAlias="alias tezos=$tezosHome/carthagenet.sh" | ||
$tezosAlias | ||
echo $tezosAlias >> ~/.bashrc | ||
tezos start | ||
cd | ||
echo -e '\033[1mNode is launched and syncing to Tezos testnet \e[92mCarthagenet\e[39m \033[0m' | ||
echo "Next steps:" | ||
echo "- Claim some testnest tezzies on https://faucet.tzalpha.net/" | ||
echo -e "- \033[1mtezos client\033[0m to connect to the node (tezos-client in the documentation)" | ||
echo -e "- \033[1mtezos node stop \033[0mto stop the node" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
/home/bobby/.cryptotux/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
As this is your first run, let me introduce available commands: | ||
Blockchain nodes: bitcoind (locally), bitcoin-cli, geth | ||
Programming languages: go, node, rust, gcc | ||
Text editors: vim, nano, micro | ||
|
||
General commands: | ||
cryptotux-update: update everything | ||
cryptotux-desktop: install a light desktop environment | ||
cryptotux-versions: display the current version of the main toolings | ||
cryptotux-help: display this help | ||
|
||
To install specific blockchains tools and nodes | ||
cryptotux-lightning,cryptotux-tendermint, cryptotux-tezos, cryptotux-libra... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters