The default inactivity timeout for the web client on ESXi 6.5 is 900s or 15mins. To increase the timeout, go to Manage / System / Advanced Settings and search for ‘HostClient.SessionTimeout’:
Thanks to this post for the tip.
Articles, notes and random thoughts on Software Development and Technology
The default inactivity timeout for the web client on ESXi 6.5 is 900s or 15mins. To increase the timeout, go to Manage / System / Advanced Settings and search for ‘HostClient.SessionTimeout’:
Thanks to this post for the tip.
I’ve been meaning to take a look at some Big Data analysis tools for a while, particularly Apache Spark, and deeplearning4j. If I’m going to use Spark to ingest a large dataset, I thought it would be worthwhile to write a regular Java app to crunch some numbers on a dataset first as a benchmark. Looking around for some publicly available datasets, I’ve know for a while that Project Gutenburg has publicly available texts of many classic novels available. I wondered what it would take to do a simple word count on all words in a typical novel.
It turns out a typical novel, say Alice in Wonderland, is actually pretty small, at around 150kb. Not exactly ‘big’ at all in today’s meaning of ‘big data’, in fact trivial. Anyway, I wrote a simple Java app to count word occurrences and then order by number of occurrences, you can see my code here. I didn’t attempt to optimize the code at all, this was my first attempt at writing a word count app – the surprising thing is how quick it executes. On my i7 Macbook Pro with an SSD, it complete the count and sort in 100ms. I was hoping to have something with more siginficant number crunching than this, so clearly I need to set my sights higher in terms of larger data sets.
If you Google ‘public big data sets’ you’ll find many collections, for example this list. Some of these are collections of publicly available data, some are data shared by organizations who are asking the community for input on analyzing their data. The Yelp data set is interesting in this category – they offer a dataset that’s 5.79GB of json data for example, for researchers to analyze and provide feedback in a ‘Dataset challenge‘. Almost 6GB of data is significantly larger than my 150k, so if I’m going to do anything interesting with Spark this might be a good place to start.
Data set downloaded, off I go 🙂
From here, edit /etc/yum.repos.d/vmware-tools.repo , add:
[vmware-tools] name = VMware Tools baseurl = http://packages.vmware.com/packages/rhel7/x86_64/ enabled = 1 gpgcheck = 1
To install:
sudo yum install open-vm-tools-deploypkg
On my freshly installed CentOS 7, this gave the error:
[kev@unknown000C2960F639 ~]$ sudo yum upgrade Loaded plugins: fastestmirror You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have any GPG public keys installed. You need to download the keys for packages you wish to install and install them. You can do that by running the command: Â Â rpm --import public.gpg.key Alternatively you can specify the url to the key you would like to use for a repository in the 'gpgkey' option in a repository section and yum will install it for you. For more information contact your distribution or package provider. Problem repository: vmware-tools
It doesn’t say how to import the GPG keys, but this page mentions they are in this location:Â Â /etc/pki/rpm-gpg
So to import,
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Then I could update:
sudo yum update
Then install the vmware-tools:
sudo yum install open-vm-tools-deploypkg
By default after a new install of CentOS 7, the eth0 interface is not enabled at boot. To enable, edit /etc/sysconfig/network-scripts/ifcfg-eth0
Find this line at the bottom:
ONBOOT=no
and change to yes. Reboot, now eth0 should be active.
More info here.