Unknown command: `mkdir'
Comment thread started by ail on vSphere HTML5 Web Client
Hi,
The auto configuration script works only on Linux VC. For windows there are manual configuration steps:
Steps for Windows VC:
1.) Copy the provided 'server-configure.bat' to any directory on the vCenter for Windows. (This file is one of the Fling downloads on the top left from https://flings.vmware.com/vsphere-html5-web-client)
2.) NOTE: If you have installed vCenter into any folder other than default (%PROGRAMFILES%), the script may not find the appropriate files.
You will need to edit the file and replace the two references to %PROGRAMFILES% with the appropriate path so that the “KEYTOOL” and “VECS_CLI” paths line up.
These two variables are at the top of the file.You may also need to change this at the end of the file to the correct path (this is for the ds.properties file):
SET CLIENT_DIR=%PROGRAMDATA%\VMware\vCenterServer\cfg\vsphere-client
3.) Open an Administrator Command Prompt and run the 'server-configure.bat' script. The following files will get generated:
i) store.jks
ii) ds.properties
iii) webclient.properties
4.) In webclient.properties change
keystore.jks.path=/etc/vmware/vsphere-ui/store.jks
5.) Login to the appliance and create the following folders:
/etc/vmware/vsphere-ui and /etc/vmware/vsphere-ui/config
6.) Copy "store.jks" and "webclient.properties" from the vCenter for Windows to folder "/etc/vmware/vsphere-ui" at the appliance.
7.) Copy "ds.properties" from the vCenter for Windows to folder "/etc/vmware/vsphere-ui/config" at the appliance.
8.) At the appliance change the owner of folder "/etc/vmware/vsphere-ui" to user vsphere-ui:
chown -R vsphere-ui /etc/vmware/vsphere-ui
9.) Restart the vsphere-ui service:
service-control --restart vsphere-ui
Getting this when trying to connect to vc
Unknown command: `scp'
Configuration process was not successful
Configuration unsuccessful: could not connect to SSO