Merge branch 'v2.0' of https://github.com/0xOzgur/QuilibriumAutoInstaller into v2.0
This commit is contained in:
commit
159dc19467
@ -20,13 +20,16 @@ After first run, when you need to reach your node, you need to run only;
|
||||
|
||||
Use below command to install v2.0
|
||||
|
||||
|
||||
wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/install/install_quilibrium_service.sh | bash
|
||||
|
||||
|
||||
**Autoupdater**
|
||||
|
||||
|
||||
If you need to update your node from previous version to 2.0, 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.
|
||||
|
||||
@ -145,9 +145,6 @@ else
|
||||
echo "ceremonyclient.service file does not exist. No action taken."
|
||||
fi
|
||||
|
||||
CPU_THREADS=$(nproc)
|
||||
CPU_QUOTA=$(( CPU_THREADS * 90 ))
|
||||
|
||||
sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <<EOF
|
||||
[Unit]
|
||||
Description=Ceremony Client Go App Service
|
||||
|
||||
@ -60,8 +60,11 @@ 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:2.0 .2.0
|
||||
|
||||
|
||||
|
||||
# Step 8:Run Ceremonyclient Container
|
||||
echo "✅Running Ceremonyclient Container"
|
||||
sleep 2 # Add a 2-second delay
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Set the version number
|
||||
|
||||
VERSION="2.0.0.1"
|
||||
|
||||
cd ~
|
||||
# Step 0: Welcome
|
||||
echo "This script is made with ❤️ by 0xOzgur @ https://quilibrium.space "
|
||||
|
||||
@ -28,6 +28,7 @@ OS=$(uname -s)
|
||||
# Determine the node binary name based on the architecture and OS
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
if [ "$OS" = "Linux" ]; then
|
||||
|
||||
NODE_BINARY='node-2.0-linux-amd64'
|
||||
elif [ "$OS" = "Darwin" ]; then
|
||||
NODE_BINARY='node-2.0-darwin-amd64'
|
||||
|
||||
@ -6,8 +6,10 @@ source ~/.bashrc
|
||||
clear
|
||||
|
||||
# Set the version number
|
||||
|
||||
VERSION="2.0.0.1"
|
||||
|
||||
|
||||
# Determine the ExecStart line based on the architecture
|
||||
ARCH=$(uname -m)
|
||||
OS=$(uname -s)
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
VERSION="2.0.0.1"
|
||||
|
||||
|
||||
# Step 0: Welcome
|
||||
echo "This script is made with ❤️ by 0xOzgur @ https://quilibrium.space"
|
||||
echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v$VERSION!"
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Step 0: Welcome
|
||||
|
||||
echo "This script is made with ❤️ by 0xOzgur"
|
||||
echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v2.0!"
|
||||
|
||||
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 v2.0"
|
||||
|
||||
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:2.0 .
|
||||
|
||||
|
||||
# Step 8:Run Ceremonyclient Container
|
||||
echo "✅Running Ceremonyclient Container"
|
||||
sleep 2 # Add a 2-second delay
|
||||
|
||||
Loading…
Reference in New Issue
Block a user