File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ Recommended - change the name of the machine to easily identify it.
42
42
43
43
sudo hostname {SERVER-NAME}
44
44
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
+
45
52
# start.sh
46
53
47
54
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
68
75
69
76
Download the snapshot from https://terra.quicksync.io/
70
77
78
+ sudo apt-get install -y liblz4-tool aria2
71
79
aria2c -x5 https://get.quicksync.io/{SNAPSHOT_FILE_URL}
72
80
81
+ E.g.
82
+
83
+ aria2c -x5 https://get.quicksync.io/columbus-4-pruned.20210630.0310.tar.lz4
84
+
73
85
After downloading, verify the integrity of the file by using the checksum.sh file provided by the service.
74
86
75
87
```
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
77
89
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
78
91
wget https://raw.githubusercontent.com/chainlayer/quicksync-playbooks/master/roles/quicksync/files/checksum.sh
79
92
bash checksum.sh {SNAPSHOT_FILE} check
80
93
```
Original file line number Diff line number Diff line change @@ -39,14 +39,12 @@ sudo apt-get install -y jq
39
39
# System configuration
40
40
echo " Configuration"
41
41
echo " ============="
42
- echo -n " Extending limits"
43
- sudo cp sample/terrad.limit /etc/security/limits.d/terrad.conf
44
- echo " - done"
45
42
echo -n " Updating bash profile"
46
43
echo " export GOROOT=/usr/local/go" >> ~ /.profile
47
44
echo " export GOPATH=$HOME /go" >> ~ /.profile
48
45
source ~ /.profile
49
46
echo " export PATH=$GOPATH /bin:$GOROOT /bin:$PATH " >> ~ /.profile
47
+ source ~ /.profile
50
48
echo " - done"
51
49
52
50
echo " Software installation"
You can’t perform that action at this time.
0 commit comments