diff --git a/installer/README.md b/installer/README.md index 80e31802e..aac63f6db 100644 --- a/installer/README.md +++ b/installer/README.md @@ -11,16 +11,24 @@ The SODA Delfin supports two types of installation ### Install steps +Ensure no ansible & docker installed, OR Lastest ansible and docker tools are installed with versions listed below or later. If ansible & docker is not installed in the OS, script `install_dependencies.sh` will install it. + ```bash -sudo apt-get update && sudo apt-get install -y git make curl wget libltdl7 libseccomp2 libffi-dev gawk +sudo apt-get update && sudo apt-get install -y git git clone https://github.com/sodafoundation/delfin.git -# git checkout +# git checkout cd delfin/installer -chmod +x install_dependencies.sh && ./install_dependencies.sh +chmod +x install_dependencies.sh && source install_dependencies.sh cd ansible export PATH=$PATH:/home/$USER/.local/bin sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts -v ``` + +**NOTE:** *Tools version used for verification of Delfin under Ubuntu 20.04* +* ansible version: 5.10.0 +* docker version: 20.10.21 +* docker compose version: 2.12.2 + ### Uninstall ```bash sudo -E env "PATH=$PATH" ansible-playbook clean.yml -i local.hosts -v diff --git a/installer/install_dependencies.sh b/installer/install_dependencies.sh old mode 100644 new mode 100755 index f2f26abb1..d225632b3 --- a/installer/install_dependencies.sh +++ b/installer/install_dependencies.sh @@ -14,13 +14,13 @@ sudo apt-get update # Install dependencies echo Installing dependencies -sudo apt-get install -y apt-transport-https ca-certificates curl gnupg gnupg-agent lsb-release software-properties-common sshpass pv gawk +sudo apt-get install -y make curl wget libltdl7 libseccomp2 libffi-dev gawk apt-transport-https ca-certificates curl gnupg gnupg-agent lsb-release software-properties-common sshpass pv # Install python dependencies echo Installing Python dependencies sudo apt-get install -y python3-distutils sudo apt-get install -y python3-pip -sudo python3 -m pip install -U pip setuptools +python3 -m pip install -U pip setuptools # Install ansible if not present if [ "`which ansible`" != "" ]; then