Installing workstations

From Powers Wiki

Workstations in the group are 64-bit (a.k.a. x86_64 or amd64) machines set up to run both Windows 7 and one of the many various flavors of Linux. When you came into the group, odds are a preconfigured workstation was placed in front of you, ready to rock. But how was it configured, you ask? Read on...

FIRST, I recommend that you read this like a book, a manual of steps that you will follow in linear order. Failure to do so will make things difficult, if not impossible.

Second, please understand that this process never goes the same way on any two workstations. I can't prepare you for every tiny little problem you may run into, but only set the most important, critical steps before you as a skeletal framework. Good luck, starfighter.

-Eli

Beginning

It should be fairly obvious that you'll need an assembled PC to work with. Not so obvious is the software you'll need:

  • Windows 10 x64
  • Opensuse Tumbleweed x86_64 (or another distro if you are feeling dangerous)

Other than operating system discs/ISOs, you'll need the following Windows software:

  • Microsoft Office 32-bit (can be downloaded by users after setup through their husker email)
  • CorelDRAW Graphics Suite X4
  • EndNote X8 (These have machine-specific license keys! Ask the sysadmin if you need access to one.)

Finally, you'll need the administrator flash drive. You know the drive of which I speak. Keep it secret. Keep it safe. It is precious and holds the key to vast untold riches. And possibly, graduation.

Windows

This section details installing the Windows 7 OS and software.

OS

Place the Windows 7 DVD into the drive and reboot the system. This will require the BIOS to be configured to boot optical discs before the hard drive. Once the prompt comes up, choose 'Install now'. Accept the license agreement and choose 'Custom' on the next screen.

You should now arrive at a screen that shows the current partition state of the drive. First, click on 'Drive options (advanced)'. If partitions exist, delete them by selecting the partition in the list and then clicking 'Delete'. Now, click 'New' and enter a partition size (in MB) that equals about half the total drive space. It doesn't have to be exact; the partitioner will round to the nearest sector anyways. The installer will give you some garbage about creating extra special partitions for Windows system files, and that's fine. Once the Windows partition was made, proceed.

All the other options (time zone, language, etc.) will be self-explanatory. For automatic updates, choose 'Use recommended settings'. The installer will at some point ask for a user account and password; make this your cluster username and password, or the cluster username and password of whoever will use the system most.

Updates

Once you've logged into your account, don't think that Windows is installed. It will need at least two hours of babysitting while it installs the largest pile of updates you've ever witnessed. You will repeat the following process until no more updates exist:

  1. Click on the Windows icon (for old-timers, that's the 'Start' button)
  2. Click on 'Control Panel'
  3. Click on 'System and Security'
  4. Click on 'Check for Updates' under the 'Windows Update' heading
  5. Click on 'Check for Updates' in the left-hand pane
  6. Install all available updates
  7. Restart the computer after updates install
  8. Go back to Step 1.

Patience, grasshopper.

Configuration

You will have to configure a few things in Windows.

Power management

In Control Panel => System and Security => Power Options, select High performance from the list. You may have to click 'Show additional plans' to see this option.

Remote desktop access

In Control Panel => System and Security => System, select Remote settings in the left-hand pane. Under 'Remote Desktop', select Allow connections only from computers running Remote Desktop with Network Level Authentication (more secure).

Software

Typical members of this group need a plentiful plethora of packages installed onto their Windows systems in order to function as researchers. Here's what you'll need to install:

  • Google Chrome
  • Anti-virus
  • Adobe Reader
  • Microsoft Office
  • EndNote X4
  • CorelDRAW X4
  • ChemDraw
  • ACD/NMR 12
  • Java
  • NMRViewJ
  • PuTTY
  • Brother LaserJet drivers
  • Brother Color Laser drivers

Chrome

Open Internet Explorer. Click the Stop button about a billion times until IE actually stops loading the page. Navigate to Google. Take Google up on its recommendation to download Chrome. The rest is cake.

Anti-virus

Open Chrome and navigate to is.unl.edu. Under 'Quick Picks', click on 'Anti-virus'. Click on 'DOWNLOAD HERE'. Click on 'WINDOWS 64bit Version'. The rest is cake.

Adobe Reader

Open Chrome and navigate to get.adobe.com/reader. The rest is cake.

Microsoft Office

Insert the Office DVD and select 'Run autorun.exe' when the popup comes up. The rest is cake.

EndNote X4

Make sure any Microsoft Office programs are closed. Insert the EndNote X4 CD and select 'Run autorun.exe' when the popup comes up. The rest is cake. Now, restart Windows and log back in. Then, open Microsoft Word. Click on 'EndNote X4' in the top bar. Then click on 'Go to EndNote'. If you get the message, Invalid Class String, then go here to find the solution.

CorelDRAW X4

Insert the CorelDRAW DVD and follow the steps. The rest is cake.

Chemdraw

Point your web browser to sitelicense.cambridgesoft.com. When the page loads, go to the link for University of Nebraska, Lincoln and enter your huskers email address. You should then be able to download the software. The activation key should be sent to your email almost immediately.

ACD/NMR 12

ACD Labs offers a free version of their 1D and 2D NMR processor software for academics. Open Chrome and navigate to this address, then click 'Download'. You'll need to set up a user account to download the software. Once you've got the installer downloaded, just run it and follow the steps. Yep, the rest is cake.

Alternatively, you should be able to run nmrproc_academia12.exe from Z:\bworley\admin\software without having to download anything or make any accounts.

Java

Open Chrome and navigate to this address. Click on 'Free Java Download' and follow the steps. Cake.

NMRViewJ

This software is now non-free, but we have the last/latest available free version on the cluster. Run nvjinstall8_0_3.exe in Z:\bworley\admin\software\nmrviewj and follow the steps. Cake.

PuTTY

Best for last! Open Chrome and navigate to this address. Click on putty-0.62-installer.exe to download the installer. Run the installer; all the default options are fine.

Once PuTTY is installed, you'll need to insert the administrator flash drive. In the flash drive, go to ssh-rsa\clients\myusername, where myusername is the cluster username that you're setting the computer up for. In that directory, there is an id_rsa.ppk file. Copy that file somewhere that only the current user has read access to, such as C:\Users\myusername. Now, open PuTTY and type myusername@bionmr-c1.unl.edu into both the 'Host Name' and 'Saved Sessions' text boxes. In the left-hand pane, click the plus sign next to 'SSH' and click on 'Auth'. Click 'Browse' and open the id_rsa.ppk file in the location you copied it to. Finally, click back to 'Session' in the left-hand pane and click 'Save' under 'Saved Sessions'.

You're ready to rock. Return the administrator flash drive to its sacred resting place.

Brother printer drivers

The Brother printer driver CDs are available in the lab office. Use those CDs to install drivers (only drivers, no software suites) for the two Brother printers outside the office. The IP addresses of the printers will be requested by the installer software; you can get those addresses by printing off the printer status information from each printer via their front panel buttons. NOTE: If you try to discover the printers over the network and none are found, try temporarily disabling your firewalls. After the printer is installed, you should be able to bring the firewall back up without affecting the printer.

Linux

This section details installing and configuring the Linux OS.

OS

Insert the Debian DVD and reboot the computer. When the Debian boot prompt comes up, press the Tab key, type desktop=xfce, and hit enter. Most of the options will be self-explanatory until you get to the partitioning. You will select Use custom layout and click next.

The partitioning of linux systems in the group is done as follows:

  • 128 MB of ext2 mounted on /boot (made at the beginning of the free space)
  • All remaining space allocated as ext4 and mounted on /
  • 2048 MB of swap (made at the end of the free space)

Make the partitions in the above order. After making the boot partition, subtract 2048 MB from the remaining free space to get the size of the / partition. Then use the rest of the free space (about 2048 MB, but it will rarely be exact) as swap.

You should now have a partitioning scheme that spans the entire disk that looks something like this:

  • sda1: Windows system files (few hundred MB)
  • sda2: Windows partition (few hundred GB, about half the drive)
  • sda3: Linux boot partition (128 MB)
  • sda4: Extended partition
  • sda5: Linux root partition (few hundred GB, about half the drive)
  • sda6: Linux swap partition (roughly 2048 MB)

Everything else will be much more self-explanatory, and the defaults are A-OK for almost all the other options.

Configuration

You will have to configure the system a bit more to get it talking with the cluster and running properly. Once the system boots up, use Ctrl+Alt+F1 to navigate to the terminal and log in as root. Once you're logged in, insert and mount the system administrator flash drive, like so:

mkdir /mnt/flash
mount /dev/sdb1 /mnt/flash

Where the above example assumes that /dev/sdb1 is the flash drive device node. Once mounted, run the following commands:

cd /mnt/flash/admin-scripts/linux/workstations
./run

The script will ask if you're ready to proceed. As long as everything above went OK, it's safe to say 'yes' here. Hopefully, the script will complete without errors and your linux workstation will be properly configured. Unmount the flash drive:

cd
umount /mnt/flash
reboot