Unverified Commit a9ed4ce1 authored by RoninDojo's avatar RoninDojo Committed by GitHub
Browse files

Merge pull request #29 from RoninDojo/development

1.2 
parents 06ecc698 8b04a3a8
# Hardware
Choose one of the following:
* [Raspberry Pi4 4gb](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/)
* [Odroid N2 4gb](https://forum.odroid.com/viewtopic.php?t=33781)
A model with 4gb RAM is required to run all of the features of the Ronin Dojo stack. You will also need atleast a 16gb SD Card, 1tb storage space, and an Ethernet cable. Below are some suggestions, but please do your own research.
## Hardware Suggestions
### Raspberry Pi4
* LABISTS Raspberry Pi 4 4gb Complete Starter Kit-$99.99 [Amazon Affiliate Link](https://amzn.to/2DPNkpX)
### Odroid N2
* HARDKERNEL Odroid N2 4gb - [$70.00](https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram/)
## Case
### Active cooling
<p align='center'>
<a href='https://thecryptocloak.com/product/samourai/'>
<img src='https://thecryptocloak.com/wp-content/uploads/2019/10/IMG_20191029_061006.jpg' alt='screenshot' />
</a>
</p>
* Pi4 Cryptocloak Samourai Dojo Shell-[$60+](https://thecryptocloak.com/product/samourai/)
* *Max drive size (140mm x 100mm x 52mm/5.5inch x 4inch x 2.1inch)*
* Pimoroni Fan Shim required ([installation instructions](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-fan-shim))-$12.99+$4.07 shipping [Amazon Affiliate Link](https://amzn.to/2OVt5NS)
* Pi4 Jun-Electron Dual Cooling Fan, Enclosure Aluminum Alloy Case with Heatsink Pillar-$18.99 [Amazon Affiliate Link](https://amzn.to/2DSbeAX)
* Pi4 Jun-Electron case w/3.5 inch Touchscreen & fan-$29.99 [Amazon Affiliate Link](https://amzn.to/2s7Jplt)
### Passive cooling
* Pi4 Flirc-$15.95 [Amazon Affiliate Link](https://amzn.to/2RrOBLS)
* Pi4 Geekworm CNC Ultra-Thin Aluminum Alloy Metal Passive Cooling Case-$26.89 [Amazon Affiliate Link](https://amzn.to/36eP2wX)
* N2 KSSB Case - [$22.95](https://ameridroid.com/products/kksb-odroid-n2-case)
* N2 Original Case - [$5.95](https://ameridroid.com/products/odroid-n2-case)
### External SSD
* VectoTech Rapid 1TB External SSD-$129 [Amazon Affiliate Link](https://amzn.to/2PiFz13)
* Samsung T5 Portable SSD 1TB-$184.99 [Amazon Affiliate Link](https://amzn.to/2Lrm7hm)
### Internal SSD
* Samsung 860 QVO 1TB SSD-$109 [Amazon Affiliate Link](https://amzn.to/2OW8tot)
* Crucial MX500 1TB SSD-$107.49 [Amazon Affiliate Link](https://amzn.to/2rYYvdh)
### External HDD
* Toshiba Canvio Basics 1TB Portable External HDD-$47.99 [Amazon Affiliate Link](https://amzn.to/2rZd8gG)
### SATA->USB adapter
* ORICO External Drive Enclosure-$7.99 [Amazon Affiliate Link](https://amzn.to/2DU5jeO)
* UGREEN External Drive Enclosure-$9.89 [Amazon Affiliate Link](https://amzn.to/2YqoiXR)
## Hardware Tiers
Need a general idea of build quality and price? Which Tier suits you wants and needs?
### Tier 1
**Entry level Dojo-$216.98**
*If your just looking to open your Dojo and begin financial self sovereignty this is the kit for you!*
* LABISTS Raspberry Pi 4 4gb Complete Starter Kit-$99.99 [Amazon Affiliate Link](https://amzn.to/2DPNkpX)
* Samsung 860 QVO 1TB SSD-$109 [Amazon Affiliate Link](https://amzn.to/2OW8tot)
* ORICO External Drive Enclosure-$7.99 [Amazon Affiliate Link](https://amzn.to/2DU5jeO)
### Tier 2
**Passive cooling Dojo-$244.94**
*If your looking for a silent Dojo this is a great choice!*
* LABISTS Raspberry Pi 4 4gb Complete Starter Kit-$99.99 [Amazon Affiliate Link](https://amzn.to/2DPNkpX)
* Flirc-$15.95 [Amazon Affiliate Link](https://amzn.to/2RrOBLS)
* VectoTech Rapid 1TB External SSD-$129 [Amazon Affiliate Link](https://amzn.to/2PiFz13)
### Tier 3
**Samourai Ronin Dojo w/screen-$313.02 w/o screen-$294.04**
* LABISTS Raspberry Pi 4 4gb Complete Starter Kit-$99.99 [Amazon Affiliate Link](https://amzn.to/2DPNkpX)
* Samsung 860 QVO 1TB SSD-$109 [Amazon Affiliate Link](https://amzn.to/2OW8tot)
* ORICO External Drive Enclosure-$7.99 [Amazon Affiliate Link](https://amzn.to/2DU5jeO)
* Pimoroni Fan Shim for Raspberry PI-$12.99+$4.07 shipping [Amazon Affiliate Link](https://amzn.to/2OVt5NS)
* kuman for Raspberry LCD Display, 3.5 Inch-$18.98 [Amazon Affiliate Link](https://amzn.to/2PhmBYy)
* Cryptocloak Samourai Dojo Shell-[$60+](https://thecryptocloak.com/product/samourai/)
### Tier 4
**Geekworm Dojo-$314.55**
* LABISTS Raspberry Pi 4 4gb Complete Starter Kit-$99.99 [Amazon Affiliate Link](https://amzn.to/2DPNkpX)
* Samsung 860 QVO 1TB SSD-$109 [Amazon Affiliate Link](https://amzn.to/2OW8tot)
* Geekworm X825 Metal Case+Power Switch+Cooling Fan-$29.89 [Amazon Affiliate Link](https://amzn.to/2Rppc5g)
* Geekworm X735 Power Management with Safe Shutdown Auto Cooling Expansion Board-$29.89 [Amazon Affiliate Link](https://amzn.to/2LvPGhR)
* Geekworm mSATA SSD Expansion Board X855 USB3.0 Shield-$27.89 [Amazon Affiliate Link](https://amzn.to/2s025Um)
* Geekworm DC 5V 4A Power Adapter-$17.89 [Amazon Affiliate Link](https://amzn.to/33XvED6)
# Manjaro Minimal Installation
Download and verify using gpg. If you are unsure about verifying, please watch this [playlist](https://www.youtube.com/playlist?list=PLmoQ11MXEmajkNPMvmc8OEeZ0zxOKbGRa).
[Manjaro Minimal Installation
Video guide](https://youtube.com/watch?v=ozAWczLqsB4)
[Manjaro Minimal Raspberry Pi 4](https://manjaro.org/download/arm/raspberry-pi-4/arm8-raspberry-pi-4-minimal/)
[Manjaro Minimal Odroid N2](http://167.71.58.234/osimages/)
## Flash OS Image on SD Card
* Once you have the image on your computer, you need to flash it on an SD card. If you are not familiar with this, here are the steps you have to follow:
* Download and install [Balena Etcher](https://www.balena.io/etcher/). It’s a tool to flash an operating system image to an SD card.
* Start Etcher, on the left select the image file corresponding to Manjaro Minimal *(Manjaro-ARM-minimal-rpi4-xx.xx.img.xz)*
* Then insert an SD card.
**Everything on it will be erased!**
* Finally click on **“Flash!”** to start the SD card flashing. After a few minutes, the SD card is ready. You can eject it.
## Manjaro Installation and Configuration
* Insert the now "flashed" SD card into your device, make sure the SSD is plugged and, and power on the device.
__**To setup remotely via SSH open up terminal and input `root@"Ip.address"`, this can only be done via an ethernet connection**__
* After a few seconds, the system boot is complete and the wizard appears.
* Enter the username you want to use and confirm. Then you can add additional groups for additional users but it can be kept blank as well.
* Then, you need to answer the following questions:
* User
* Name
* User password
* Root password (Root user available)
### __*You can enter the first letter to navigate these menus quicker.*__
* Timezone
You can use [this](https://worldtimezone.com/) site to help with selecting your correct timezone.
* Locale
Locale names are typically in the form of:
*language[_territory][.codeset][@modifier]*
For example, *en_US.UTF-8* for American-English
For more info reference:
[ArchLinux Locale](https://wiki.archlinux.org/index.php/Locale)
* Keyboard layout
There's a multitude of keyboard layouts, choose *US* for standard English keyboard.
For more info reference:
[ArchLinux Keyboard Configuration](https://wiki.archlinux.org/index.php/Linux_console/Keyboard_configuration#Creating_a_custom_keymap)
* Device host name
* Finally, the wizard gives you a list of all the information entered above. Confirm if everything is OK.
* The basic configuration takes a few seconds. Then the system resizes the SD card partition and reboots. After the reboot, the system is ready to use with your settings.
## Network Configuration
* Ethernet
An ethernet connection is really the best way to get Internet access.
* Wifi
*In progress*
### Using SSH
**SSH is a must-have on a minimal system**
If your not running a Linux distro. To access terminal, so you can SSH into your device. You can use these options:
### Windows
- Ubuntu [Windows Store](https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6#activetab=pivot:overviewtab)
- Putty [Putty.org](https://putty.org/)
### Mobile
- Termux [Google Play store](https://play.google.com/store/apps/details?id=com.termux)
- ConnectBot [Google Play store](https://play.google.com/store/apps/details?id=org.connectbot)
### Once you've accessed terminal
For system setup:
`ssh root@"ip.address"`
Once completed:
`ssh "username"@"ip.address"`
## Useful Commands
Now Manjaro Minimal is setup, you are ready to begin the Ronin/Dojo install process. Your going to need a few commands off the bat to get you going. I'll cover a couple below and add a link to the Pacman/Rosetta wiki.
* To install a new package:
`pacman -S < package >`
* To search a package name:
`pacman -Ss < search >`
* To update the system:
`pacman -Syu`
## Find Device's IP Address:
* ifconfig is not available by default, you need to install it with:
`pacman -S net-tools`
* Now you can use it by typing:
`ifconfig`
For more commands reference:
[ArchLinux Pacman/Rosetta](https://wiki.archlinux.org/index.php/Pacman/Rosetta)
# Ronin UI Guide
Once your device is powered on and Manjaro is setup, it is time to get started the UI.
Report any issues that you are having. Thank you for trying Ronin UI!
Please enter following commands to update your system, reboot, install git, download the RoninDojo repository, change directory, and finally run Ronin UI.
1. ``` sudo pacman -Syu ```
2. ``` sudo reboot ```
3. ``` sudo pacman -S git ```
4. ``` git clone https://github.com/RoninDojo/RoninDojo.git ```
5. ``` cd RoninDojo```
6. ``` ./ronin ```
After you choose to setup the system, you will be directly placed into Ronin UI Menu at each login. Click Cancel or press Ctl+C to exit Ronin UI, and return to the Terminal. You can also type `ronin` into the Terminal at any time to access the UI.
## Support
If you appreciate our work and wish to support our continued efforts in providing free, unencumbered, open source code that enhances your sovereignty please consider a donation.
### Address
bc1ql06r3jjx3hmd09eexs7mawczayfqxpx7r3l20hvs3cuq5suv5hvswspdaz
[![address](http://api.qrserver.com/v1/create-qr-code/?color=000000&bgcolor=FFFFFF&data=bc1qma3vyljvz0n3n0e7czaewx8tq5heugv2kvrcq2&qzone=1&margin=0&size=200x200&ecc=L)](https://oxt.me/address/bc1ql06r3jjx3hmd09eexs7mawczayfqxpx7r3l20hvs3cuq5suv5hvswspdaz)
# Welcome to Ronin Dojo!
<img src="https://github.com/Crazyk031/RoninDojo/blob/Images/RoninDojo%20Images/RoninDojo-01b.png" width="300" height="300" />
Ronin Dojo is the RPi4 and Odroid N2 installation variant of Samourai Wallet's Dojo. This is not a change to their code or application, rather the installation process modified specifically for RPi4/Odroid.
# RoninDojo
An Installation Assistant and UI for Samourai Wallet's Dojo. Runs on a Raspberry Pi4 or Odroid N2.
Ronin should help regular users get a Dojo running farily quickly and easily. Our Mission is to bring full on-chain self-sovereignity at an afforable price.
Guides, information, and more can be found on the RoninDojo Wiki page.
“I dreamt of worldly success once.”
> Miyamoto Musashi, also known as Shinmen Takezō, Miyamoto Bennosuke or, by his Buddhist name, Niten Dōraku, was a Japanese swordsman, philosopher, strategist, writer and rōnin. Musashi, as he was often simply known, became renowned through stories of his unique double-bladed swordsmanship and undefeated record in his 61 duels.
“It is said the warrior's is the twofold Way of pen and sword, and he should have a taste for both Ways. Even if a man has no natural ability he can be a warrior by sticking assiduously to both divisions of the Way.”
> A Ronin was a samurai warrior in feudal Japan without a master or lord — known as a daimyo. A samurai could become a ronin in several different ways: his master might die or fall from power or the samurai might lose his master's favor or patronage and be cast off.
“Know your enemy, know his sword.”
Be Your own master!
# What is Samourai Dojo?
As stated by the Samourai Team:
>Samourai Dojo is the backing server for Samourai Wallet. Provides HD account & loose addresses (BIP47) balances & transactions lists. Provides unspent output lists to the wallet. PushTX endpoint broadcasts transactions through the backing bitcoind node.
This implementation connects to your wallet via Tor for increased privacy and allowing for connectivity anywhere without forwarding ports and exposing your home IP address.
For more information on Samourai Wallet, Dojo, and Whirlpool visit the [Samourai Wallet Github](https://github.com/Samourai-Wallet).
For FAQs about all things Samourai Wallet, check out @PuraVida's [FAQ wiki](https://github.com/PuraVlda/samourai-wallet-android/wiki/Frequently-Asked-Questions).
## Hardware
The Full Dojo installation, which includes a fresh sync of the Bitcoin blockchain, requires a little over 3GB of RAM during the initial sync. Then it drops to a little less than 2GB after sync is complete. The setup will require about 350GB of data storage and growing daily.
[Hardware Guide](https://github.com/RoninDojo/RoninDojo/blob/master/Guides/Hardware.md)
## Operating System
The Ronin UI is intended for the Manjaro ARM Minimal OS. Once you have your hardware ready, you can go ahead and flash Manjaro on to an SD Card in just a few minutes time.
[Manjaro Guide](https://github.com/RoninDojo/RoninDojo/blob/master/Guides/Manjaro-Minimal-Installation.md)
## Ronin UI
Using the UI fairly simple. Some reading required, a few clicks, input values when asked, and get Dojo started within ~30 minutes.
[Ronin UI Guide](https://github.com/RoninDojo/RoninDojo/blob/master/Guides/Ronin-UI-Guide.md)
## Contributors
This list is continuously growing, I will do my best to update as much as I can. If you would like to contribute please feel free to pull or DM me to help!
@GuerraMoneta @BTCxZelko @Burcakbaskan @k3tan @kdmukai @crazyk031 @jaimefoo - Ronin UI
@romanz - Electrs
@openoms @rootzoll @stadicus @bavarianledger - Raspiblitz/Raspibolt teams for inspiration and Electrs implementation.
If we missed you please let us know.
## Support
If you appreciate our work and wish to support our continued efforts in providing free, unencumbered, open source code that enhances your sovereignty please consider a donation.
## Address
bc1ql06r3jjx3hmd09eexs7mawczayfqxpx7r3l20hvs3cuq5suv5hvswspdaz
[![address](http://api.qrserver.com/v1/create-qr-code/?color=000000&bgcolor=FFFFFF&data=bc1qma3vyljvz0n3n0e7czaewx8tq5heugv2kvrcq2&qzone=1&margin=0&size=200x200&ecc=L)](https://oxt.me/address/bc1ql06r3jjx3hmd09eexs7mawczayfqxpx7r3l20hvs3cuq5suv5hvswspdaz)
All donations will go to providing the team with more hardware for implementating new features.
## A huge thank you to the Samourai Wallet Dev team.
### As long they continue to build we will continue to support!
Questions, discussion, etc? Check out the Telegram groups:
[Samourai Wallet](https://t.me/SamouraiWallet)
[Dojo](https://t.me/samourai_dojo)
[Whirlpool](https://t.me/whirlpool_trollbox)
[Off Topic](https://t.me/samouraifunny)
[**RoninDojo Wiki Home**](https://github.com/RoninDojo/RoninDojo/wiki)
......@@ -40,7 +40,7 @@ sleep 5s
# start dojo setup
echo -e "${RED}"
echo "***"
echo "Downloading and extracting latest Dojo release."
echo "Downloading and extracting latest Dojo release..."
echo "***"
echo -e "${NC}"
cd ~
......@@ -51,7 +51,7 @@ git clone -b master https://github.com/Samourai-Wallet/samourai-dojo.git
echo -e "${RED}"
echo "***"
echo "Making ~/dojo and copying data."
echo "Making ~/dojo and copying data..."
echo "***"
echo -e "${NC}"
sleep 2s
......@@ -60,7 +60,7 @@ cp -rv samourai-dojo/* ~/dojo
echo -e "${RED}"
echo "***"
echo "Removing all the files no longer needed."
echo "Removing all the files no longer needed..."
echo "***"
echo -e "${NC}"
sleep 2s
......@@ -68,7 +68,7 @@ rm -rvf samourai-dojo/
echo -e "${RED}"
echo "***"
echo "Editing the bitcoin docker file, using the aarch64-linux-gnu.tar.gz source."
echo "Editing the bitcoin docker file, using the aarch64-linux-gnu.tar.gz source..."
echo "***"
echo -e "${NC}"
sed -i '9d' ~/dojo/docker/my-dojo/bitcoin/Dockerfile
......@@ -81,7 +81,7 @@ sleep 2s
echo -e "${RED}"
echo "***"
echo "Editing mysql dockerfile to use a compatible database."
echo "Editing mysql dockerfile to use a compatible database..."
echo "***"
echo -e "${NC}"
sed -i '1d' ~/dojo/docker/my-dojo/mysql/Dockerfile
......@@ -92,13 +92,13 @@ sleep 2s
echo -e "${RED}"
echo "***"
echo "Editing the Tor dockerfile, using the aarch64-linux-gnu.tar.gz source."
echo "Editing the Tor dockerfile, using the aarch64-linux-gnu.tar.gz source..."
echo "***"
echo -e "${NC}"
sed -i '12d' ~/dojo/docker/my-dojo/tor/Dockerfile
sed -i '12i ENV GOLANG_ARCHIVE go1.13.5.linux-arm64.tar.gz' ~/dojo/docker/my-dojo/tor/Dockerfile
sed -i '13d' ~/dojo/docker/my-dojo/tor/Dockerfile
sed -i '13i ENV GOLANG_SHA256 227b718923e20c846460bbecddde9cb86bad73acc5fb6f8e1a96b81b5c84668b' ~/dojo/docker/my-dojo/tor/Dockerfile
sed -i '13i ENV GOLANG_ARCHIVE go1.13.5.linux-arm64.tar.gz' ~/dojo/docker/my-dojo/tor/Dockerfile
sed -i '14d' ~/dojo/docker/my-dojo/tor/Dockerfile
sed -i '14i ENV GOLANG_SHA256 227b718923e20c846460bbecddde9cb86bad73acc5fb6f8e1a96b81b5c84668b' ~/dojo/docker/my-dojo/tor/Dockerfile
sleep 2s
# creating a 1GB swapfile
......@@ -128,7 +128,7 @@ echo "***"
echo "NOTICE:"
echo "Enter any value that you want."
echo "Use high entropy for these values. Use weak passwords at your own risk!!!"
echo "Alphanumerical values only. No special characters such as (*&^%$#@!)."
echo "Alphanumerical values ONLY. No special characters such as (*&^%$#@!)."
echo "Be sure that you record this information! Store it in a safe place you will not forget."
echo "***"
echo -e "${NC}"
......@@ -199,7 +199,7 @@ BITCOIND_MAX_MEMPOOL=400
# Db cache size in MB
# Type: integer
BITCOIND_DB_CACHE=1024
BITCOIND_DB_CACHE=700
# Number of threads to service RPC calls
# Type: integer
......@@ -282,6 +282,41 @@ BITCOIND_ZMQ_RAWTXS=9501
BITCOIND_ZMQ_BLK_HASH=9502
" | sudo tee -a ~/dojo/docker/my-dojo/conf/docker-bitcoind.conf.tpl
#Password COnfiguration for BTC-Explorer
echo -e "${RED}"
echo "Installing your Dojo-backed Bitcoin Explorer"
sleep 1s
echo -e "${YELLOW}"
echo "This password should be something you can remember and is alphanumerical"
sleep 1s
echo -e "${NC}"
if [ ! -f /home/$USER/dojo/docker/my-dojo/conf/docker-explorer.conf ]; then
read -p 'Your Dojo Explorer password: ' EXPLORER_PASS
sleep 1s
echo -e "${YELLOW}"
echo "----------------"
echo "$EXPLORER_PASS"
echo "----------------"
echo -e "${RED}"
echo "Is this correct?"
echo -e "${NC}"
select yn in "Yes" "No"; do
case $yn in
Yes ) break;;
No ) read -p 'New Dojo Explorer password: ' EXPLORER_PASS
echo "$EXPLORER_PASS"
esac
done
echo -e "${RED}"
echo "$EXPLORER_PASS"
else
echo "Explorer is already installed"
fi
sed -i '16i EXPLORER_KEY='$EXPLORER_PASS'' ~/dojo/docker/my-dojo/conf/docker-explorer.conf.tpl
sed -i '17d' ~/dojo/docker/my-dojo/conf/docker-explorer.conf.tpl
sleep 1s
#Password Configuration that will be used to access DOJO MAINTENANCE TOOL at dojo/docker/my-dojo/conf/docker-node.conf.tpl
echo -e "${RED}"
echo "****"
......@@ -316,7 +351,7 @@ echo "NOTICE:"
echo "Enter any value that you want."
echo "The Node Admin Key is the password you will enter in the Maintenance Tool."
echo "Use high entropy for these values. Use weak passwords at your own risk!!!"
echo "Use alphanumerical value only! No special characters such as (*&^%$#@!)."
echo "Use alphanumerical value ONLY! No special characters such as (*&^%$#@!)."
echo "Be sure that you record this information! Store it in a safe place you will not forget."
echo "***"
echo -e "${NC}"
......@@ -404,7 +439,7 @@ MYSQL_PASSWORD=$MYSQL_PASSWORD
echo -e "${RED}"
echo "***"
echo "See documentation at https://github.com/Samourai-Wallet/samourai-dojo/blob/master/doc/DOCKER_setup.md"
echo "See documentation at https://github.com/Samourai-Wallet/samourai-dojo/blob/master/doc/DOCKER_setup.md for more info."
echo "***"
echo -e "${NC}"
sleep 2s
......
......@@ -27,7 +27,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
rustup install 1.37.0 --force
rustup override set 1.37.0
sudo pacman -S clang -y
sudo pacman -S --noconfirm clang
sleep 2s
# Make electrs database dir and give permissions
......@@ -139,21 +139,27 @@ sudo systemctl start electrs
sleep 2s
TOR_ADDRESS=$(sudo cat /mnt/usb/tor/hidden_service/hostname)
echo -e "${RED}"
echo "The Tor Hidden Service address for electrs is:"
echo -e "${NC}"
echo "$TOR_ADDRESS"
sleep 5s
echo -e "${RED}"
echo "Electrum Wallet: To connect through Tor, open the Tor Browser, and start with the following options:"
sleep 5s
echo "\`electrum --oneserver --server=$TOR_ADDRESS:50001:s --proxy socks5:127.0.0.1:9050\`"
echo "***"
echo -e "${NC}"
sleep 5s
echo -e "${RED}"
echo "Electrum Wallet: To connect through Tor Daemon, start with the following options:"
sleep 5s
echo "\`electrum --oneserver --server=$TOR_ADDRESS:50001:s --proxy socks5:127.0.0.1:9050\`"
sleep 5s
echo "For pairing with GUI see full guide: https://github.com/BTCxZelko/Ronin-Dojo/blob/master/RPi4/Manjaro/Minimal/Electrs.md"
echo -e "${NC}"
sleep 5s
echo -e "${RED}"
......@@ -162,3 +168,4 @@ echo "Complete!"
echo "***"
echo -e "${NC}"
sleep 2s
bash ~/RoninDojo/ronin
......@@ -61,7 +61,9 @@ sudo cp ~/RoninDojo/ronin /usr/local/bin
echo "" >> ~/.bashrc
echo "~/RoninDojo/Scripts/.logo" >> ~/.bashrc
# place logo ~/.bashrc
echo "" >> ~/.bashrc
echo "~/RoninDojo/ronin" >> ~/.bashrc
# place logo and ronin main menu script ~/.bashrc to run at each login
sudo chmod +x ~/RoninDojo/Scripts/Install/*
sudo chmod +x ~/RoninDojo/Scripts/Menu/*
......@@ -107,7 +109,7 @@ EOF
echo -e "${RED}"
echo "***"
echo "Using ext4 format, for /dev/sda1"
echo "Using ext4 format for /dev/sda1 partition..."
echo "***"
echo -e "${NC}"
sleep 2s
......@@ -116,7 +118,7 @@ sudo mkfs.ext4 /dev/sda1
echo -e "${RED}"
echo "***"
echo "Editing /etc/fstab to input UUID for sda1 and adjust settings."
echo "Editing /etc/fstab to input UUID for sda1 and adjust settings..."
echo "***"
echo -e "${NC}"
sleep 2s
......@@ -141,7 +143,7 @@ rm ~/uuid.txt
echo -e "${RED}"
echo "***"
echo "Created a /mnt/usb directory."
echo "Creating /mnt/usb directory..."
echo "***"
echo -e "${NC}"
sudo mkdir /mnt/usb
......@@ -158,7 +160,7 @@ sudo mount -a
echo -e "${RED}"
echo "***"
echo "Displaying the name on the external disk."
echo "Displaying the name on the external disk..."
echo "***"
echo -e "${NC}"
lsblk -o UUID,NAME,FSTYPE,SIZE,LABEL,MODEL
......@@ -167,7 +169,7 @@ sleep 2s
echo -e "${RED}"
echo "***"
echo "Check output for /dev/sda1"
echo "Check output for /dev/sda1 and make sure everything looks ok."
echo "***"
echo -e "${NC}"
df -h
......@@ -214,7 +216,7 @@ sudo systemctl enable docker
# ufw setup starts
echo -e "${RED}"
echo "***"
echo "Setting up UFW."
echo "Setting up UFW..."
echo "***"
echo -e "${NC}"
sleep 2s
......@@ -279,7 +281,7 @@ sudo ufw reload
echo -e "${RED}"
echo "***"
echo "Checking UFW status."
echo "Checking UFW status..."
echo "***"
echo -e "${NC}"
sleep 2s
......@@ -291,13 +293,27 @@ echo "Take a moment to check the UFW rule that was just created."
echo "***"
echo -e "${NC}"
sleep 5s
echo -e "${RED}"
echo "***"
echo "Any computer connected to the same local network as your Dojo will have SSH access."
echo "***"
echo -e "${NC}"
sleep 2s
echo -e "${RED}"