Install terraform on ubuntu
Last updated:
Install terraform on Ubuntu server
- Add the HashiCorp GPG key.
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
- Add the official HashiCorp Linux repository.
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
- Add the official HashiCorp Linux repository.
sudo apt-get update && sudo apt-get install terraform
export HTTP_PROXY=http://172.21.21.5:3128
export HTTPS_PROXY=https://172.21.21.5:3128
VM Config
Extend LVs
- Check physical volumes.
pvs
- Extend partition to fill available space. Use growpart.
growpart /dev/sda 3
- Resize physical volume. Use pvresize
pvresize /dev/sda3
- List logical volumes.
lvs
- Extend logical volumes.
lvextend ubuntu-vg/homelv -L 3GB -r
references: