Versions Compared

Key

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

Centos is an open-source version of a Redhat linux enterprise server operating system. The page describes creating a new virtual machine with Centos 7. The advantage of Centos 7 over earlier versions is some level of support for parallel processing, which FSL or FreeSurfer may take advantage of. The GUI has changed quite a bit from Centos 6.

...

  • Got to Software updates

  • Update everything
  • For VM Tools, you will need to install gcc software and kernel headers; got to terminal, and log in as root ("su"):
[root@localhost user]# yum install gcc
[root@localhost user]# yum install kernel-devel

Customizing

  • In VMware settings, set time to sync with host

...

  • Add a terminal icon to to Desktop and top bar; drag from Applications => System Tools menu

Image Removed

  • Turn off Screen Lock from Settings (you can also turn off Location Services and Usage & History)

Image Added

  • Under Power, set Power Saving, Blank Screen to Never
  • Add Text Editor to Desktop (From Applications => Accessories).
  • (optional) Remove any software not needed (System => Administration => Add/Remove Software).
  • Note this menu includes an "Update Software" entry, to manually update software when the VM is temporarily connected to the network.
  • Add gedit and File Browser icons to Desktop (Under System submenus).
  • Open the File BrowserOpen the File Browser ("Home" or "Files"), navigate to /mnt/hgfs/LinuxShare, and add as a bookmark (Bookmark => Add Bookmarkdrag to above "Other Locations")); you will now be able to nativage there direction from the File Browser, and from under the "Places" top bar menunavigate there directly.
    • If LinuxShare does not appear, reinstall VMtools by selecting this option from the Workstation menu, and running through the steps within Linux (copy DVD files to temp folder, unpack (tar xvzf ...), and run script within folder created).
    Turn off the screensaver and screensaver lock: System => Preferences => Background.
  • Set the file browser to have a path address, not breadcrumbs: 
    gsettings set org.gnome.nautilus.preferences always-use-location-entry true
  • To allow normal users to install software (FSL, FreeSurfer), change the permissions on the /usr/local folder to allow writing: su,
chmod 777 /usr/local
  • Install mricron; download, extract, and save in /usr/local. Drag shortcut to desktop.
  • Add the GUI for user administration:
yum install system-config-users
  • Change the default login to tsch: System => Administration => Users and Groups; enter the password, select user, and change the login shell to "/bin/tcsh".
  • To allow "sudo" commands, edit the /etc/sudoers file with EDITOR=nano visudo; add the user by entering another line in the "MACHINE=COMMANDS" section:

...

Display customization

Add top bar

yum install gnome-shell-extension-dash-to-dock

Restart , then go to Tweaks and enable Dash to dock

Image Added

Ideas from here.

yum install dconf-editor


After Installing FSL and FreeSurfer

Install graphics libraries:

yum install mesa-libGLU
yum install libXScrnSaver


Reset the network connection to Host-only, under the VM Settings in Workstation (VM => Settings => Harware, Network adapter). If you want to run updates, change temporarily to NAT. You will likely need to edit the connection settings when you change back to Host-only

...