-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_ubuntu.sh
executable file
·42 lines (35 loc) · 1.03 KB
/
build_ubuntu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
echo "======================================================"
echo " Attention - Building amareleo-chain from source code."
echo " This will request root permissions with sudo."
echo "======================================================"
# Install Ubuntu dependencies
sudo apt-get update
sudo apt-get install -y \
build-essential \
curl \
clang \
gcc \
libssl-dev \
llvm \
make \
pkg-config \
tmux \
xz-utils \
ufw
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
# Install amareleo-chain
# cargo clean
cargo install --locked --path .
echo "=================================================="
echo " Attention - Please ensure port 3030 is enabled "
echo " on your local network."
echo ""
echo " Cloud Providers - Enable port 3030 in your"
echo " network firewall"
echo ""
echo " Home Users - Enable port forwarding or NAT rule"
echo " for 3030 on your router."
echo "=================================================="