-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created Install Script for Debian #3041
Open
fabrinasr
wants to merge
25
commits into
ProvableHQ:testnet3
Choose a base branch
from
fabrinasr:testnet3
base: testnet3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
c58d00b
Add files via upload
fabrinasr 671ef05
Update README.md
fabrinasr 80f69fa
Update build_debian.sh
fabrinasr 77b6461
Update README.md
fabrinasr 29c8967
Merge branch 'AleoHQ:testnet3' into testnet3
fabrinasr a2af37a
Update README.md
fabrinasr 55bc637
Update build_debian.sh
fabrinasr 3077024
Update README.md
fabrinasr 028f8ec
Update build_debian.sh
fabrinasr 03caca1
add Official LLVM install script
fabrinasr b0ac998
Update README.md
fabrinasr 9b69972
Delete llvm.sh script - add link to readme instead
fabrinasr eb3a462
Update README.md
fabrinasr 5ab57c9
Merge branch 'AleoHQ:testnet3' into testnet3
fabrinasr aad5b9e
Update README.md
fabrinasr 96fd863
Update build_debian.sh
fabrinasr 72205d5
Update README.md
fabrinasr 9bbd58d
Update README.md
fabrinasr 192f095
Update README.md
fabrinasr 889bd1e
Made file executable
fabrinasr a4a9648
Update build_debian.sh
fabrinasr 73fa27c
Update build_ubuntu.sh
fabrinasr 17a9066
Update README.md
fabrinasr 990023d
Update build_debian.sh
fabrinasr 4a0d47f
Merge branch 'testnet3' into testnet3
fabrinasr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,40 @@ | ||
#!/bin/bash | ||
echo "================================================" | ||
echo " Attention - Building snarkOS from source code." | ||
echo " This will request root permissions with sudo." | ||
echo "================================================" | ||
|
||
# Install Debian dependencies | ||
|
||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
build-essential \ | ||
curl \ | ||
gcc \ | ||
libssl-dev \ | ||
make \ | ||
pkg-config \ | ||
sudo \ | ||
tmux \ | ||
xz-utils \ | ||
fabrinasr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# Install Rust | ||
|
||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
source $HOME/.cargo/env | ||
|
||
# Install snarkOS | ||
# cargo clean | ||
cargo install --locked --path . | ||
|
||
echo "==================================================" | ||
echo " Attention - Please ensure ports 4130 and 3030" | ||
echo " are enabled on your local network." | ||
echo "" | ||
echo " Cloud Providers - Enable ports 4130 and 3030" | ||
echo " in your network firewall" | ||
echo "" | ||
echo " Home Users - Enable port forwarding or NAT rules" | ||
echo " for 4130 and 3030 on your router." | ||
echo "==================================================" | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ sudo apt-get install -y \ | |
llvm \ | ||
make \ | ||
pkg-config \ | ||
sudo \ | ||
tmux \ | ||
xz-utils \ | ||
ufw | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get rid of port recommendations. Also these are not even the defaults? 🤔