From 239b6f88e1027bf4b25e4ad5b4f3aae9f9ab2acb Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Sun, 19 May 2024 14:52:20 +0300 Subject: [PATCH] Added system upgrade at firs stage --- install_binary.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/install_binary.sh b/install_binary.sh index b671acc..e5dcde7 100644 --- a/install_binary.sh +++ b/install_binary.sh @@ -7,27 +7,33 @@ echo "Enjoy and sit back while you are building your Quilibrium Ceremony Client! echo "Processing..." sleep 10 # Add a 10-second delay +# Step 1: Update and Upgrade the Machine +echo "Updating the machine" +echo "Processing..." +sleep 2 # Add a 2-second delay +apt-get update +apt-get install -y -# Download Ceremonyclient +# Step 2:Download Ceremonyclient echo "Downloading Ceremonyclient" sleep 2 # Add a 2-second delay git clone https://github.com/QuilibriumNetwork/ceremonyclient.git cd ~/ceremonyclient/node -# Download Binary +# Step 3:Download Binary echo "Downloading Binary" sleep 2 # Add a 2-second delay wget https://github.com/QuilibriumNetwork/ceremonyclient/releases/download/v1.4.17/node-1.4.17-linux-amd64.bin ls mv node*.bin node -# Make the file executable +# Step 4:Make the file executable echo "Making the Binary executable" sleep 2 # Add a 2-second delay chmod +x node -# Create Ceremonyclient Service +# Step 5:Create Ceremonyclient Service echo "Creating Ceremonyclient Service" sleep 2 # Add a 2-second delay sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <