Geezil

Notes

Multiple terminal windows

They are possible: right-click the terminal launcher button and select "New Terminal".

Install Updates When Available

Ubuntu will periodically ask to install updated software. If it's not inconvenient, please install the update with the normal password.

Permission Denied Error

When opening DS9 through the terminal and being confronted with a permission denied error, this means the old broken Ureka has loaded by default. To change to the new working Ureka install, so that it loads every time a terminal is opened, one has to edit the .bashrc file. Navigate to the home directory and open .bashrc with vi or gedit and put in the following at the bottom of the file:

ur_setup common secondary (replaces ur_setup)

This will loads the common variant of Ureka and the new install that is called secondary.

Now the .bashrc needs to be sourced for the changes to take effect in the current terminal. Run the following command in the home directory:

mro@gweezil:~$ source .bashrc

If for some reason the error still is appearing despite the .bashrc edit already being there, one will have to run the following command EVERY TIME a new terminal is opened:

ur_setup common secondary

Restoring computer to defaults

Right now you have to follow the instructions below, but apparently there's a 'snapshot' feature to save a backup of initial configuration. Will check out in my abundant free time. =)

Current Install Log

Operating System

Ubuntu 14.04 LTS (supported through April 2019). Default installation, except cleaned up the launcher and added a button for a terminal. Note that you have to right-click that button to get additional terminals.

Installed the "Unity Tweak Tool" via the GUI (which is called Unity), Select "Additional" under "Window Manager", and select Focus mode: Mouse. YES

Added the additional search domains "mro.cwu.edu, astro.washington.edu" to IPv4 Settings (found under System Settings, Network, Options...), and:

sudo apt-get install emacs

IRAF, Python, and everything

Installed STScI's "everything" 64 bit Linux package, Ureka, version 1.5.1 (released March 2015). Downloaded the tar ball to home and,

mro@gweezil:~$ mkdir Ureka2

mro@gweezil:~$ mv Ureka_linux-rhe5_64_1.0.tar.gz Ureka2

mro@gweezil:~$ cd Ureka2

mro@gweezil:~/Ureka2$ guznip Ureka_linux-rhe5_64_1.0.tar.gz

mro@gweezil:~/Ureka2$ tar -xvf Ureka_linux-rhe5_64_1.0.tar

mro@gweezil:~/Ureka2$ ./Ureka/bin/ur_normalize (answered "yes" to both questions and put "secondary" as the name of this new install)

Added the command to setup the Ureka environment to the end of .bashrc:

ur_setup

Turns out Ubuntu doesn't support the old (32 bit) architecture of IRAF until, as Ureka recommends, you install these libraries:

sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0

At this point Ureka's built-in test package reported:

mro@gweezil:~/data$ ur_test  Running tests...    (several minutes go by)  Your operating system supports 32-bit executables.  pass=85 fail=0 error=0

To finish setting up IRAF put a login.cl in ~/iraf so pyraf can see it from anywhere.

mro@gweezil:~$ mkdir iraf  mro@gweezil:~$ cd iraf/  mro@gweezil:~/iraf$ mkiraf

Select xgterm, and afterward edit login.cl to set stdimage = imt1024.

in ~/Ureka2/Ureka/iraf/noao/imred/ccdred/ccddb/kpno/ i created the file mro.dat, containing the following text:

subset filter

bias zero object object flat flat

in the same directory, i added the following text to instruments.men:

mro Manastash Ridge Observatory

in ~/Ureka2/Ureka/iraf/noao/lib/obsdb.dat, i added the following:

observatory = "mro"      name = "Manastash Ridge Observatory"      longitude = 120:43.668      latitude = 46:57.168      altitude = 1198      timezone = 8

Integrating with Popeye and GTCC

We need to mount popeye and the gtcc, so first make directories in /mnt and install the helper programs:

$ cd /mnt /mnt$ mkdir popeye /mnt$ mkdir gtcc

sudo apt-get install cifs-utils sudo apt-get install nfs-common 

Then mount the shares manually to test them:

mount -t cifs "//72.233.250.80/My Documents" /mnt/popeye/ mount -t nfs chivens.mro.cwu.edu:/var/www/html/logfiles /mnt/gtcc/

The Windows share mounted after asking for a password.

Mount shares automatically by putting the following two lines in /etc/fstab (should be able to test w/o rebooting with mount gtcc):

chivens.mro.cwu.edu:/var/www/html/logfiles /mnt/gtcc/ nfs auto,ro 0 0 #//72.233.250.80/My\040Documents /mnt/popeye/ cifs auto,ro,username=mro,password=mrouser 0 0

Finally, create symbolic links in ~/data to the popeye and gtcc's mounted locations:

$ cd ~/data ~/data$ ln -s /mnt/popeye popeye ~/data$ ln -s /mnt/gtcc/ logs

Old Install Logs

The old logs are geezil_install_log and asgard_install_log.