Skip to content

Commit

Permalink
Update node alone auto install
Browse files Browse the repository at this point in the history
  • Loading branch information
EggPool committed Nov 12, 2019
1 parent 6fff5bb commit 40f5560
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions auto-install/bis-node-alone-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# BEWARE: check configure_firewall to activate.

VERSION="0.1.1"
VERSION="0.1.2"

create_swap() {
if [ -d /swapfile ]; then
Expand Down Expand Up @@ -36,7 +36,7 @@ config_os() {
fi
if ! cat /etc/sysctl.conf | grep "vm.vfs_cache_pressure = 50"; then
echo "vm.vfs_cache_pressure = 50" >> /etc/sysctl.conf
fi
fi
sysctl -p
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
}
Expand Down Expand Up @@ -83,14 +83,14 @@ configure_firewall() {
download_node() {
echo "Fetching Node"
cd
if [ -f ./v4.3.0.1-beta.1.tar.gz ]; then
rm v4.3.0.1-beta.1.tar.gz
if [ -f ./master.zip ]; then
rm master.zip
fi
wget https://github.com/bismuthfoundation/Bismuth/archive/v4.3.0.1-beta.1.tar.gz
tar -zxf v4.3.0.1-beta.1.tar.gz
mv Bismuth-4.3.0.1-beta.1 Bismuth
wget https://github.com/bismuthfoundation/Bismuth/archive/master.zip
unzip master.zip
mv Bismuth-master Bismuth
cd Bismuth
echo "Configuring node"
echo "Configuring node"
echo "ram=False" >> config_custom.txt
echo "full_ledger=True" >> config_custom.txt
echo "mempool_ram=False" >> config_custom.txt
Expand Down

0 comments on commit 40f5560

Please sign in to comment.