Skip to content

Commit 7328250

Browse files
committed
Made some corrections and updates.
1 parent e6d6075 commit 7328250

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

terra/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ Recommended - change the name of the machine to easily identify it.
4242

4343
sudo hostname {SERVER-NAME}
4444

45+
Extend the limits for the server by appending the following to /etc/security/limits.conf
46+
47+
```
48+
* soft nofile 65535
49+
* hard nofile 65535
50+
```
51+
4552
# start.sh
4653

4754
This script is to be run as a user in server. It downloads and sets up the software that is needed to get the validator running.
@@ -68,13 +75,19 @@ For a new server, a snapshot of the blockchain needs to be downloaded for quick
6875

6976
Download the snapshot from https://terra.quicksync.io/
7077

78+
sudo apt-get install -y liblz4-tool aria2
7179
aria2c -x5 https://get.quicksync.io/{SNAPSHOT_FILE_URL}
7280

81+
E.g.
82+
83+
aria2c -x5 https://get.quicksync.io/columbus-4-pruned.20210630.0310.tar.lz4
84+
7385
After downloading, verify the integrity of the file by using the checksum.sh file provided by the service.
7486

7587
```
76-
wget {SNAPSHOT_FILE_URL}.checksum
88+
wget {SNAPSHOT_FILE_URL}.checksum # E.g. https://get.quicksync.io/columbus-4-pruned.20210630.0310.tar.lz4.checksum
7789
curl -s https://lcd.terra.dev/txs/`curl -s https://get.quicksync.io/$FILENAME.hash` | jq -r '.tx.value.memo' | sha512sum -c
90+
# E.g. curl -s https://lcd.terra.dev/txs/7E4FEEEAD0BCF5FEA016BA2CAD2E8175F019C87324FAB5208D34E6EFD44EFEC3 | jq -r '.tx.value.memo' | sha512sum -c
7891
wget https://raw.githubusercontent.com/chainlayer/quicksync-playbooks/master/roles/quicksync/files/checksum.sh
7992
bash checksum.sh {SNAPSHOT_FILE} check
8093
```

terra/start.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ sudo apt-get install -y jq
3939
# System configuration
4040
echo "Configuration"
4141
echo "============="
42-
echo -n "Extending limits"
43-
sudo cp sample/terrad.limit /etc/security/limits.d/terrad.conf
44-
echo " - done"
4542
echo -n "Updating bash profile"
4643
echo "export GOROOT=/usr/local/go" >> ~/.profile
4744
echo "export GOPATH=$HOME/go" >> ~/.profile
4845
source ~/.profile
4946
echo "export PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >> ~/.profile
47+
source ~/.profile
5048
echo " - done"
5149

5250
echo "Software installation"

0 commit comments

Comments
 (0)