Skip to content

Commit

Permalink
Update initialization.sh amd64
Browse files Browse the repository at this point in the history
removed duplicated apt-get update lines leaving one at beginning and one at end
  • Loading branch information
gainesaw authored Jul 5, 2023
1 parent 90c4951 commit a85ee1f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configuration/amd64/initialization.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

# update and upgrade commands to update linux OS
sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt update -y && sudo apt upgrade -y

#installing necessary and useful apps
Expand All @@ -28,17 +27,15 @@ rm sql_root_pass.txt && rm sql_pass.txt
#AMD64 initialzation
cd ..
sudo apt-get -y remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io
sudo apt -y install python3-pip
sudo pip3 install docker-compose
sudo docker-compose pull
sudo apt update -y && sudo update -y
sudo docker-compose up -d
sudo apt-get update -y && sudo apt update -y

#create v2xhub user
cd mysql
Expand Down

0 comments on commit a85ee1f

Please sign in to comment.