Created
January 1, 2021 20:34
-
-
Save mry/058de7cf95a89e5519c6bd0400f5437d to your computer and use it in GitHub Desktop.
Make and install vmware open-tools on Ubuntu 20.04 arm64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt update -y && apt upgrade -y | |
apt install -y git automake make gobjc++ libtool pkg-config libmspack-dev libglib2.0-dev libpam0g-dev libssl-dev libxml2-dev libxmlsec1-dev libx11-dev libxext-dev libxinerama-dev libxi-dev libxrender-dev libxrandr-dev libxtst-dev libgdk-pixbuf2.0-dev libgtk-3-dev libgtkmm-3.0-dev | |
git clone https://github.com/vmware/open-vm-tools.git | |
cd open-vm-tools/open-vm-tools/ | |
autoreconf -i | |
./configure --disable-dependency-tracking | |
make | |
make install | |
ldconfig | |
cat > /etc/systemd/system/vmtoolsd.service << EOF | |
[Unit] | |
Description=Service for virtual machines hosted on VMware | |
Documentation=http://github.com/vmware/open-vm-tools | |
After=network-online.target | |
[Service] | |
ExecStart=/usr/local/bin/vmtoolsd | |
Restart=always | |
TimeoutStopSec=5 | |
[Install] | |
WantedBy=multi-user.target | |
EOF | |
systemctl enable vmtoolsd.service | |
systemctl start vmtoolsd.service | |
systemctl status vmtoolsd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment