Shakiba Moshiri
  • Shakiba Moshiri (شکیبا مشیری)
  • opt
    • high traffic site optimization
      • infrastructure check
      • infrastructure test
  • tools
    • Cryptsetup
      • Container encryption using cryptsetup
    • curly
      • ftp
      • ssl
      • http
      • dns
      • ip
      • email
    • SSH
      • ssh password-less login
        • Untitled
    • volumes and FS
      • installing Gluster fs on Ubuntu 18.04 server
      • Accessing Gluster FS from the client machine
  • CDN
    • How does a CDN work
  • Server Panel
  • DirectAdmin
    • DirectAdmin through a reverse proxy
  • Web Server
    • Nginx
      • Live Steaming with Nginx and FFMPEG
  • Security
  • Container
    • Docker Networking 101
      • why docker networking is important?
      • type of networking in docker
    • Docker
      • How to run gitlab-runner with docker
      • using vim inside any container without installing it
      • Cannot connect to the Docker daemon at unix:///var/run/docker.sock
      • moving docker images around using ssh and pipe
      • How can I make docker-compose pull images using a socks5 proxy?
  • Stack Overflow
  • Github
  • vmware
    • tools
      • how to install vmware CLI govc on Linux
  • Windows
    • How to Erase a Recovery Partition in Windows
Powered by GitBook
On this page
  • head over the project page and download the binary file
  • Extract the .tar.gz file and install it
  • Assign related variables
  • run the command govc

Was this helpful?

  1. vmware
  2. tools

how to install vmware CLI govc on Linux

learn how to install vmware CLI govc on Linux

PrevioustoolsNextHow to Erase a Recovery Partition in Windows

Last updated 3 years ago

Was this helpful?

head over the project page and download the binary file

  1. project link

  2. release page

  3. find a binary file according to your OS's need

  4. for me

  5. wget -c "link you have"

Extract the .tar.gz file and install it

  1. tar -xzf govc_Linux_x86_64.tar.gz

  2. chmod +x govc

  3. sudo install -o root -g root -m 0755 gove /usr/local/bin/govc

Assign related variables

  1. export GOVC_URL=https://192.168.1.252 your EXSi endpoint

  2. export GOVC_USERNAME=root the user name we have access with

  3. export GOVC_PASSWORD=4NQbHZtBmCkfYqR9 our password

  4. export GOVC_INSECURE=true disable SSL validation , useful when we run ESXi locally

we can have these for variables in /etc/environment

run the command govc

govc ls
https://github.com/vmware/govmomi/tree/master/govc
https://github.com/vmware/govmomi/releases
govc_Linux_x86_64.tar.gz