Ubuntu version 20.04 LTS with the latest updates
CPU = 4 vCPU or greater
Memory = 8 Gig or greater
Disk size = 100 Gig or greater
Name = netdev-01
Domain = yourdomain.com
Register the server in DNS or update the host file
Login as a user
git version
sudo apt-get update -y
sudo apt-get install git-lfs -y
sudo apt-get install git -y
python3 --version
sudo apt --only-upgrade install python3
sudo apt update && sudo apt upgrade –y
sudo apt install python3
sudo apt install python3-pip -y
sudo apt install python3-venv -y
sudo apt -y install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
Hit Enter to continue
sudo apt-get install ansible -y
pip install ansible-pylibssh
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
systemctl status docker
sudo usermod -a -G docker $USER
docker ps
cloud_user@ed26757f4b1c:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
sudo apt-get install docker-compose -y
docker-compose version
bash -c "$(curl -sL https://get.containerlab.dev)"
sudo apt install samba -y
sudo nano /etc/samba/smb.conf
[share]
comment = Shared Folder
path = /home/$USER/network-automation
writeable = yes
browseable = yes
public = no
Ctrl + O to save Ctrl + X to exit
sudo service smbd restart
sudo smbpasswd -a $USER
Replace a.b.c.d with the IP address of Server 1 |
Ubuntu version 20.04 LTS with the latest updates
CPU = 4 vCPU or greater
Memory = 8 Gig or greater
Disk size = 100 Gig or greater
Name = netdev-02
Domain = yourdomain.com
Register the server in DNS or update the host file
Login as a user
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
systemctl status docker
sudo usermod -a -G docker $USER
docker ps
cloud_user@ed26757f4b1c:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
sudo apt-get install docker-compose -y
docker-compose version
Not required for acloudguru servers or any servers that will have a FQDN
127.0.0.1 localhost 10.1.1.11 lab-server-1.domain.com (1) 10.1.1.10 lab-server-2.domain.com (2) # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix
1 | Modify to reflect your IP addresses and hostnames for Server 1 |
2 | Modify to reflect your IP addresses and hostnames for Server 2 |
Be sure you can log in to your instances. If you can’t log in start shouting, loudly, and waving your hands! |