-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGear
More file actions
81 lines (60 loc) · 1.97 KB
/
Gear
File metadata and controls
81 lines (60 loc) · 1.97 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
sudo apt update && sudo apt upgrade -y
sudo apt install -y git clang curl libssl-dev llvm libudev-dev
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
(press 1)
reboot
rustup toolchain add nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
wget https://builds.gear.rs/gear-nightly-linux-x86_64.tar.xz && \
tar xvf gear-nightly-linux-x86_64.tar.xz && \
rm gear-nightly-linux-x86_64.tar.xz && \
chmod +x gear-node
apt install make
git clone https://github.com/gear-tech/gear.git
cd gear
make node-release
cd /etc/systemd/system
touch gear-node.service
sudo nano gear-node.service
[Unit]
Description=Gear Node
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/
ExecStart=/root/gear-node --execution wasm --log runtime --telemetry-url 'ws://telemetry-backend-shard.gear-tech.io:32001/submit 0' --name NODENAME
Restart=always
RestartSec=3
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
ctrl+s , ctrl+x
sudo systemctl restart systemd-journald
sudo systemctl daemon-reload
sudo systemctl enable gear-node
sudo systemctl restart gear-node
Проверяем
sudo journalctl -n 100 -f -u gear-node
Telemetry
https://telemetry.gear-tech.io/
sudo systemctl start gear-node
sudo systemctl stop gear-node
sudo systemctl restart gear-node
sudo systemctl status gear-node
sudo journalctl -n 100 -f -u gear-node
Update
wget https://builds.gear.rs/gear-nightly-linux-x86_64.tar.xz && \
tar xvf gear-nightly-linux-x86_64.tar.xz && \
rm gear-nightly-linux-x86_64.tar.xz && \
chmod +x gear-noar-node
sudo systemctl restart gear-node
The testnet continues, we are working to promote the project.
Nodes updated for the new stage: Gemini.
We conduct an external third-party security audit.
23.06.22 Node update
Update the node with the new version:
wget https://builds.gear.rs/gear-nightly-linux-x86_64.tar.xz
sudo tar -xvf gear-nightly-linux-x86_64.tar.xz -C /root
rm gear-nightly-linux-x86_64.tar.xz
sudo systemctl restart gear-node