Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

These pages are principally designed for the system administrator who will be creating the LinuxVM. If you are a user, you would typically start off with a large set of files that compose the LinuxVM.

Technical Note: For text files to be used in Linux, open as "t" to avoid the DOS double-charater CR+LF at the end of each line (CR = carriage return /r, LF = line feed /n). (http://www.mathworks.com/support/solutions/en/data/1-15HVX/index.html?product=SL&solution=1-15HVX link]
e.g., id = fopen(newfile.bat,'wt+');
The Linux command dos2unix will remove CR characters.

See bottom of page for updating.

...

In Windows, change the folder permissions so that all users can modify, read and write.

Troubleshooting high disk usage

In 2015, the LinuxVM's started going crazy access the disk constantly, and killing the whole system. Here are some changes suggested:

Open the .vmx (configuration) file for the affected virtual machine while it is powered off. Add the following lines to the file using a text editor. For more information, see  Editing the .vmx file of a VMware Workstation and VMware Player virtual machine (2057902)
MemTrimRate = "0"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"

Updating

To update:

  1. Change the VM's network settings to bridged
  2. Start/restart the VM
  3. Under System, Administration, Network, "Edit" the eth0 device and set to DHCP instead of static address
  4. Under System, Administration, Server Settings, Services, go to Network and restart
  5. To Add or Remove, go to Applications, Add/Remove Software
  6. To Update, go to Applications, System Tools, Software Updater
  7. Change back to static IP (System, Administration, Network, "Edit" the eth0 device)
  8. Change the VM settings back to Host-Only, restart