diff --git a/README.md b/README.md index c8300c5..0fdde03 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,10 @@ After first run, when you need to reach your node, you need to run only; **Autoinstaller Script for Quilibrium as a Service** + Use below command to install v1.4.21.1 + wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/install/install_quilibrium_service.sh | bash @@ -27,6 +29,7 @@ Use below command to install v1.4.21.1 If you need to update your node from previous version to 1.4.21.1, apply below command + wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/update/update.sh | bash For easy management of your nodes I created some shortcodes. You can import .profile or .bash_profile (Some Debian installations) file and source. Then you can easily query node related infos. diff --git a/install/Install_prerequisites.sh b/install/Install_prerequisites.sh index c223958..15da23b 100644 --- a/install/Install_prerequisites.sh +++ b/install/Install_prerequisites.sh @@ -1,8 +1,10 @@ #!/bin/bash # Set the version number + VERSION="1.4.21.1" + # Determine the ExecStart line based on the architecture ARCH=$(uname -m) OS=$(uname -s) diff --git a/install/install_docker.sh b/install/install_docker.sh index 858c767..066bafd 100644 --- a/install/install_docker.sh +++ b/install/install_docker.sh @@ -60,8 +60,10 @@ git checkout release-cdn # Step 7:Build Docker Container echo "⏳Building Ceremonyclient Container" sleep 2 # Add a 2-second delay + docker build --build-arg GIT_COMMIT=$(git log -1 --format=%h) -t quilibrium:1.4.21.1 .1.4.21.1 + # Step 8:Run Ceremonyclient Container echo "✅Running Ceremonyclient Container" sleep 2 # Add a 2-second delay diff --git a/install/install_quilibrium_service.sh b/install/install_quilibrium_service.sh index 1df3138..e552786 100644 --- a/install/install_quilibrium_service.sh +++ b/install/install_quilibrium_service.sh @@ -1,6 +1,8 @@ #!/bin/bash # Set the version number + VERSION="1.4.21.1" + cd ~ # Step 0: Welcome echo "This script is made with ❤️ by 0xOzgur.eth @ https://quilibrium.space " diff --git a/profile/.profile b/profile/.profile index bf1a328..f24737b 100644 --- a/profile/.profile +++ b/profile/.profile @@ -28,9 +28,9 @@ alias drestart='cd ~/ceremonyclient/ && docker compose down && docker compose up alias dstop='cd ~/ceremonyclient/ && docker compose down && cd ~' # Shortcuts for Service alias peer-count="cd ~/ceremonyclient/node && grpcurl -plaintext -max-msg-sz 150000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerManifests | grep peerId | wc -l && cd ~" -alias node-info="cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 -node-info && cd ~" -alias db-console="cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 --db-console && cd ~" -alias balance="cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 -balance && cd ~" +alias node-info="cd ~/ceremonyclient/node && ./node-1.4.21-linux-amd64 -node-info && cd ~" +alias db-console="cd ~/ceremonyclient/node && ./node-1.4.21-linux-amd64 --db-console && cd ~" +alias balance="cd ~/ceremonyclient/node && ./node-1.4.21-linux-amd64 -balance && cd ~" alias nlog="sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat" alias increment="sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat | grep time_taken" alias nstart="service ceremonyclient start" diff --git a/quilibrium_for_dummies.sh b/quilibrium_for_dummies.sh index 301c407..5dd4148 100644 --- a/quilibrium_for_dummies.sh +++ b/quilibrium_for_dummies.sh @@ -6,8 +6,10 @@ source ~/.bashrc clear # Set the version number + VERSION="1.4.21.1" + # Determine the ExecStart line based on the architecture ARCH=$(uname -m) OS=$(uname -s) diff --git a/update/update.sh b/update/update.sh index b4a4c1c..3207a31 100644 --- a/update/update.sh +++ b/update/update.sh @@ -1,5 +1,7 @@ #!/bin/bash + VERSION="1.4.21.1" + # Step 0: Welcome echo "This script is made with ❤️ by 0xOzgur.eth @ https://quilibrium.space" echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v$VERSION!" diff --git a/update/updateDocker.sh b/update/updateDocker.sh index 9266f91..ae03217 100644 --- a/update/updateDocker.sh +++ b/update/updateDocker.sh @@ -2,7 +2,9 @@ # Step 0: Welcome echo "This script is made with ❤️ by 0xOzgur.eth" + echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v1.4.21.1!" + echo "⏳Processing..." sleep 10 # Add a 10-second delay @@ -10,7 +12,9 @@ sleep 10 # Add a 10-second delay service ceremonyclient stop # Step 1:Download Binary + echo "⏳ Downloading New Release v1.4.21.1" + cd ~/ceremonyclient git pull git checkout release-cdn @@ -18,8 +22,10 @@ git checkout release-cdn # Step 7:Build Docker Container echo "⏳Building Ceremonyclient Container" sleep 2 # Add a 2-second delay + docker build --build-arg GIT_COMMIT=$(git log -1 --format=%h) -t quilibrium -t quilibrium:1.4.21.1 . + # Step 8:Run Ceremonyclient Container echo "✅Running Ceremonyclient Container" sleep 2 # Add a 2-second delay