-
Notifications
You must be signed in to change notification settings - Fork 24
Detailed installation commands
Felipe Vicens edited this page Aug 9, 2018
·
4 revisions
SP VM
- Cpu: 4 cores
- Ram: 8 GB
- Hdd: 80 GB
VnV VM
- Cpu: 1 cores
- Ram: 4 GB
- Hdd: 60 GB
sudo adduser tango
sudo usermod -a -G sudo tango
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
sudo apt-get install -y git
sudo apt-get install python3
sudo apt install python3-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo pip3 install docker
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo docker network create tango
git clone https://github.com/sonata-nfv/tng-devops.git
cd tng-devops
- For SP:
sudo ansible-playbook roles/sp.yml -i environments -e target=localhost --ask-vault-pass
- For VnV:
sudo ansible-playbook roles/vnv.yml -i environments -e target=localhost --ask-vault-pass
Password is: sonata
After these steps, the installation is finished.