Versions Compared

Key

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

A virtual machine ("VM") is software that runs an operating system within a computer. For MRI analyses, we run Linux software on a windows computer. We install the virtual machine software (VMware), and that software runs Linux. The shorthand is "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.

...

Setting up Windows with LinuxVM

VMware

#Get and install "VMware Player" (free)#Enable "Virtualization Technology"#In the BIOS, you must make sure the option to run "Intel Vistualization Technology" (or similar in AMD) is enabled; here are some instructions:www.microsoft.com/windows/virtual-pc/support/configure-bios.aspx Microsoft Virtual PC pageYou will also need a 64-bit machine running 64-bit Windows.

Virtual Machine

Get the copy of the virtual machine (VM) you will use (or create your own using "VMware Workstation"). You will need the MRI software, the account name and password, and sshd service. There is a copy ("clone") on the Share drive:
LinuxCloneVM

...

To test:
Start ("Play") the virtual machine
In the Centos 6 version (as of October 2013), the password is "data" (there is only one user, which you click). In the old Centos 5 version, the usual username/password is Paul/kokako
You'll usually need to start a terminal (see icon on top toolbar).
Type FSL to get FSL

Anchor
sharedfolder
sharedfolder
Shared folder

Choose a shared folder; I use one on the network, but something simple is good (e.g., "V:\LinuxShare\"). Avoid spaces in any Linux path.

...