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:
MemTrimRate = "0"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
Updating
To update:
- Change the VM's network settings to bridged
- Start/restart the VM
- Under System, Administration, Network, "Edit" the eth0 device and set to DHCP instead of static address
- Under System, Administration, Server Settings, Services, go to Network and restart
- To Add or Remove, go to Applications, Add/Remove Software
- To Update, go to Applications, System Tools, Software Updater
- Change back to static IP (System, Administration, Network, "Edit" the eth0 device)
- Change the VM settings back to Host-Only, restart