consortium-wiki/3d-on-linux.md
... ...
@@ -1,128 +0,0 @@
1
-# 3D on Linux
2
-
3
-## Stereo (3D) for Structural Biology Workstations
4
-
5
-_Last update: October 11, 2013_
6
-
7
-Stereo technology has fully transitioned from using CRT monitors with emitters
8
-and shutter glasses to LCDs with either shutter glasses or passive image
9
-polarization. Whereas CRT stereo technology sprouted from the demands in
10
-engineering and research, LCD stereo is being targeted largely towards the
11
-gaming community. This, combined with the fact that LCD support is relatively
12
-new to the consumer market, means we can't be certain to what extent the
13
-stereo LCD technology will develop for Linux research workstation purposes.
14
-Regardless, we'll continue to test the latest options available and advise
15
-structural biologists that recognize a benefit in stereo 3D imaging.
16
-
17
-### What are our LCD Stereo Options?
18
-
19
-There are two recommended stereo LCD configurations. The technology you choose
20
-is largely dependent on your budget, workstation type (Mac/Linux) and desired
21
-application support.
22
-
23
-
24
-
25
-## Active LCD Stereo
26
-
27
-Active stereo is provided through LCDs that offer a high refresh rate (120Hz).
28
-This allows LCDs to provide a similar stereo experience as the old CRTs. And
29
-like the CRT stereo solution, it requires the purchase of an NVIDIA quadro
30
-card and an emitter/glasses (the NVIDIA 3D Vision kit). This solution is
31
-Linux-only.
32
-
33
-Nvidia maintains a list of monitors compatible with their 3D Vision
34
-technology. [Click here to access their list](http://www.nvidia.com/object/3d-
35
-vision-displays.html "http://www.nvidia.com/object/3d-vision-displays.html" ).
36
-
37
-
38
-### Notes on select 120Hz monitors:
39
-
40
- * The [Asus VG278H](http://www.asus.com/Display/LCD_Monitors/VG278H/ "http://www.asus.com/Display/LCD_Monitors/VG278H/" ) and VG236H have been working great for us and are our current recommended monitors.
41
-
42
-
43
-
44
-### Required graphics cards:
45
-
46
- * [NVidia Quadro FX 3700 or higher graphics card](http://www.nvidia.com/object/quadro_pro_graphics_boards_linux.html "http://www.nvidia.com/object/quadro_pro_graphics_boards_linux.html" ). Linux support requires the card to have a 3-pin DIN output. According to the NVIDIA driver documentation, you can**not** use USB emitters without the 3-pin cable for Linux stereo. The latest NVIDIA drivers are required for the best Linux support. Newest drivers support dual monitors, where one is in 3D and one in 2D.
47
-
48
-
49
-
50
-### Required emitter/glasses:
51
-
52
- * [NVIDIA 3D Vision Kit](http://www.nvidia.com/object/product_GeForce_3D_VisionKit_us.html "http://www.nvidia.com/object/product_GeForce_3D_VisionKit_us.html" )
53
-
54
-
55
-
56
-## Passive LCD Stereo
57
-
58
-Passive LCD monitors superimposes two images onto the same screen through
59
-different polarizing filters. As each filter passes only that light which is
60
-similarly polarized and blocks the light polarized in the opposite direction,
61
-each eye sees a different image. Despite its overall lower cost, passive
62
-stereo is qualitatively lower quality than the NVIDIA solution and in stereo
63
-mode, you have half the monitor's vertical resolution available to you due to
64
-the underlying polarization technology. Because it doesn't require specific
65
-graphics cards / drivers, this solution is the only viable stereo for Mac
66
-users.
67
-
68
-We don't have much recent experience with passive monitors as most of our
69
-stereo users on using Linux workstations.
70
-
71
-### Available Passive LCD Monitors:
72
-
73
- * LG DM2352D-PZ
74
- * ASUSVG27AH
75
-
76
-### Previous Passive LCD Monitor Recommendation:
77
-
78
- * [Zalman ZM-M240W](http://www.zalman.com/eng/product/Product_Read.php?Idx=391) \- The Zalman requires software to be explicitly configured to support the monitor. PyMOL and a few other applications do have support (email us for the latest list of SBGrid software with support).
79
-
80
-### Required graphics card:
81
-
82
- * No special graphics card is required, so you can use this monitor with Macs as well as Linux workstations.
83
-
84
-### Required emitter/glasses:
85
-
86
- * No emitter is required for passive LCD stereo. Polarized glasses are included with the monitor.
87
-
88
-## Can We Stick With CRT?
89
-
90
-The problem with CRTs is that they are only available as used/remanufactured
91
-from 3rd party vendors and the Quadro cards required to drive them are
92
-becoming increasingly expensive. That said, if you have a CRT monitor (or can
93
-find one) that's capable of sufficient refresh rates and a Quadro NVIDIA card
94
-with a 3-pin stereo DIN, you can continue to use them for your stereo needs.
95
-
96
-### What you need for CRT stereo:
97
-
98
- 1. NVidia Quadro FX 3700 graphics card or one of the cards in their “Ultra-High-End” product line. Or, if you search for older models, any Quadro FX with the 3-pin Mini DIN stereo output.
99
- 2. CRT display capable of at least 100Hz refresh rate @ 1280×1024+. These are becoming very hard to find. The latest model we saw produced with these specs was the ViewSonic G225fB, but it is no longer available. Try searching eBay for ”[SGI 061-0061-001](http://shop.ebay.com/?_nkw=sgi+061-0061-001)”. Visit <http://pymol.sourceforge.net/stereo3d.html> for some more recommendations. Note that at this point, if a CRT has problems or fails, it may be very difficult to replace or repair.
100
- 3. CRT Stereo emitter and glasses ([http://www.reald.com](http://www.reald.com/ "http://www.reald.com" ): E2 emitter and CrystalEyes 3 glasses)
101
-
102
-
103
-
104
-## Software configuration required
105
-
106
- 1. Install the latest [NVidia "Linux AMD64"](http://www.nvidia.com/object/unix.html "http://www.nvidia.com/object/unix.html" ) binary drivers
107
- 2. **For CRT stereo displays only:**
108
- * Edit the “Screen” section of /etc/X11/xorg.conf to include:
109
-
110
- Option "Stereo" "3" Option "AllowDFPStereo" "1" Option "UBB" "1"
111
-
112
- 3. **For LCD stereo displays only:**
113
- * Edit the “Screen” section of /etc/X11/xorg.conf to include:
114
-
115
- Option "Stereo" "10" Option "AllowDFPStereo" "1" Option "UBB" "1"
116
-
117
- 4. Add the following to the end of your xorg.conf:
118
-
119
- Section "Extensions" Option "Composite" "Disable" EndSection
120
-
121
-
122
-
123
-## For more information
124
-
125
- * <http://pymolwiki.org/index.php/Stereo_3D_Display_Options>
126
- * <http://en.wikipedia.org/wiki/LCD_shutter_glasses>
127
- * <http://en.wikipedia.org/wiki/Polarized_3D_glasses>
128
-
consortium-wiki/global-overrides-for-sbgrid-sites.md
... ...
@@ -1,51 +0,0 @@
1
-# Global Overrides for SBGrid sites
2
-
3
-## Administrator Software Blacklist
4
-
5
-Site administrators can prevent the shell initialization files from
6
-configuring software on a host by creating an empty file at
7
-**/programs/local/conf/disabled-hosts/&lt;hostname&gt;**, where
8
-**&lt;hostname&gt;** is the output of the _hostname -s_ command. This is
9
-useful for encouraging users not to run jobs on bastion hosts, file servers,
10
-etc.
11
-
12
-## Administrator Software Version Overrides
13
-
14
-Most of the software titles installed in the SBGrid Suite have several
15
-versions available. Typically, we try to provide at least three versions of
16
-each software package, although very old or very new applications may have
17
-fewer versions.
18
-
19
-There are two methods for site admins to configure version overrides using
20
-files placed in a **/programs/local/conf/** directory.
21
-
22
-### Site-wide Version Overrides
23
-
24
-A file named **site.conf** will be read when any SBGrid shell is initialized
25
-from the installation.
26
-
27
-### Per-host Version Overrides
28
-
29
-A file named **&lt;hostname.conf&gt;**, where **&lt;hostname&gt;** is the
30
-output of the _hostname -s_ command, will be read after the site.conf on the
31
-host matching that hostname.
32
-
33
-### Precedence
34
-
35
-There are three files that will be examined for version overrides during shell
36
-initialization. In order from lowest to highest precedence:
37
-
38
- * /programs/local/conf/site.conf
39
-
40
- * /programs/local/conf/&lt;hostname.conf&gt;
41
-
42
- * $HOME/.sbgrid.conf
43
-
44
-The overrides are reported during shell initialization:
45
-
46
-
47
- Configuration options in effect for this shell: Variable Setting Configuration SPIDER_L 18.10 site CNS_L 1.21 machine CCP4_L 6.1.2 personal
48
-
49
-See [this
50
-page](https://sbgrid.org/wiki/usage/versions#overriding-software-versions_overriding-default-versions ) for details on the override syntax.
51
-
consortium-wiki/images/sbgrid_small_logo.gif
... ...
Binary files a/consortium-wiki/images/sbgrid_small_logo.gif and /dev/null differ
consortium-wiki/install-sbgrid-software-on-your-Mac-from-the-sbgrid-central-server.md
... ...
@@ -1,4 +0,0 @@
1
-# Install SBGrid software on your Mac from the SBGrid Central Server
2
-
3
-Download instructions as a [PDF](https://dl.dropboxusercontent.com/u/5977164/Laptop_Installation_Script.pdf) presentation
4
-and see the [YouTube tutorial](https://www.youtube.com/watch?v=B1orLccn1GA#t=4m17s), starting at 4'17" for additional information.
... ...
\ No newline at end of file
consortium-wiki/launching-remote-schrodinger-jobs-from-maestro.md
... ...
@@ -1,30 +0,0 @@
1
-# launching remote schrodinger jobs from maestro
2
-
3
-The maestro GUI supports running jobs on remote systems (usually ones with
4
-more computational resources). Setting this up requires 3 things: [set up SSH with keys](faq-setting-up-key-based-ssh)
5
-to the remote system; configuring `schrodinger.hosts` for the system; and
6
-launching the jobs on the appropriate system.
7
-
8
-## Configuring `schrodinger.hosts`
9
-
10
-The `schrodinger.hosts` file should be located (or created) in your home
11
-directory; in `$HOME/.schrodinger`.
12
-
13
-An example `schrodinger.hosts` file:
14
-
15
- name: localhost
16
- tmpdir: /tmp/
17
-
18
- # remote system
19
- name: sbgrid-zorin
20
- user: my_remote_username
21
- host: zorin.sbgrid.org
22
- tmpdir: /tmp
23
- processors: 32
24
-
25
-## launching jobs on the remote system
26
-
27
-To launch a job on a remote system, the name under "Host" should match the
28
-`name` line for the remote system in your `schrodinger.hosts`.
29
-
30
-![](../images/launching-remote-schrodinger-jobs-from-maestro-1.png)
consortium-wiki/overriding-software-versions.md
... ...
@@ -1,81 +0,0 @@
1
-# Overriding Software Versions
2
-
3
-## Overview
4
-Most of the software titles installed in the SBGrid software collection have
5
-several versions available. We try to provide at least three versions of each
6
-software package, although very old or very new applications may have fewer
7
-versions.
8
-
9
-## Display Available Software Versions
10
-
11
-You can display a list of available software versions for your particular
12
-platform using the  sbgrid utility:  _s_bgrid -l. From a Linux machine, a
13
-search for CCP4 versions looks like this:
14
-
15
- $ sbgrid -l ccp4 Version information for: /programs/x86_64-linux/ccp4
16
- Default version: 6.4.0
17
- In-use version: 6.4.0
18
- Other available versions: 6.3.0 6.2.0
19
- Overrides use this shell variable: CCP4_X
20
-
21
-Running sbgrid -L will display the available versions for the three current
22
-platforms (OS X PowerPC and Intel, Linux). The output below uses the gnuplot
23
-application as an example:
24
-
25
- $ sbgrid -L gnuplot Version information for: /programs/x86_64-linux/gnuplot
26
- Default version: 4.6.4
27
- In-use version: 4.6.4
28
- Other available versions: 4.6.0 4.4.3 4.2.6
29
- Overrides use this shell variable: GNUPLOT_X
30
-
31
- Version information for: /programs/i386-linux/gnuplot
32
- Default version: 4.6.0
33
- Other available versions: 4.4.3 4.2.6
34
- Overrides use this shell variable: GNUPLOT_L
35
-
36
- Version information for: /programs/i386-mac/gnuplot
37
- Default version: 4.6.4
38
- Other available versions: 4.4.3 4.2.6 4.6.0
39
- Overrides use this shell variable: GNUPLOT_M
40
-
41
-## Overriding Default Versions
42
-
43
-To override the default version of a software title, you will need to create
44
-an override file. The shell configuration scripts will read this file and
45
-override the default version.
46
-
47
-The override file is named .sbgrid.conf and should be found in your `$HOME`
48
-directory. The syntax for overrides is a simple key=value pair. E.G. it should
49
-look like this:
50
-
51
- APPLICATION_X=1.2
52
-
53
-APPLICATION_X is the name of the application followed by an underscore and the
54
-shorthand initial for the architecture. The last field on the line is the
55
-software version number you want to use. The initials for each software branch
56
-are:
57
-
58
-Software Directory| Shorthand Initial
59
----|---
60
-powermac | `_P`
61
-x86_64-linux | `_X`
62
-i386-mac | `_M`
63
-
64
-
65
-
66
-To open the overrides file in your default $EDITOR, run this command:_
67
-_sbgrid-overrides -e.
68
-
69
-When you open a new shell, you will see a message about the overridden
70
-version. Note that a site administrator can create site-wide or machine-
71
-specific overrides as well.
72
-
73
-The example output below shows a default version change for CCP4 on Linux:
74
-
75
- Configuration options in effect for this shell: Variable Setting Configuration CCP4_M 6.3.0 personal
76
-
77
-## Disabling a Software Package
78
-
79
-To disable a specific software package, set its version to “disable” in your
80
-~/.sbgrid.conf file.
81
-
consortium-wiki/preparing-linux-workstation-to-run-sbgrid-software.md
... ...
@@ -1,42 +0,0 @@
1
-# Preparing Linux Workstations to run SBGrid Software
2
-
3
-All Linux machines need installations of a recent version (6.17+) of csh/tcsh. Red Hat Enterprise Linux 6 and other recent distributions usually have an up to date version.
4
-
5
-There are RPMs for Red Hat/CentOS/Scientific Linux 5.x in the software tree in the architecture specific directories:
6
-
7
-* /programs/i386-linux/system/RPMs
8
-* /programs/x86_64-linux/system/RPMs
9
-
10
-## SELinux
11
-SELinux must be disabled.
12
-
13
-## 64-Bit Machines
14
-64-bit machines need a number of 32-bit compatibility packages installed **even when using the 64-bit software branch**.
15
-
16
-This is due to a number of binary-only and legacy packages that are only available as 32-bit applications. Additional fonts for Tcl/Tk, Motif and Xview applications are also encouraged.
17
-
18
-### RHEL/CENTOS/Scientific Linux 5
19
-Packages for RHEL 5 and compatible machines:
20
-
21
-```
22
-yum install glibc.i686 libgcc.i386 libX11.i386 libXaw.i386 libXext.i386 ncurses.i386 redhat-lsb.i386 xorg-x11-fonts-75dpi xorg-x11-fonts-100dpi xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-misc
23
-```
24
-
25
-### RHEL/CENTOS/Scientific Linux 6
26
-Packages for RHEL 6 and compatible machines:
27
-```
28
-yum install glibc.i686 libgcc.i686 libX11.i686 libXaw.i686 libXext.i686 ncurses-libs.i686 redhat-lsb.i686 xorg-x11-fonts-75dpi xorg-x11-fonts-100dpi xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-misc
29
-```
30
-
31
-### Debian/Ubuntu
32
-
33
-The same 32-bit requirement applies for 64-bit Debian and Ubuntu machines. This is supported via the [Multiarch](https://wiki.debian.org/Multiarch/HOWTO "https://wiki.debian.org/Multiarch/HOWTO" ) system.
34
-
35
-You'll need at least the following packages to run most of the software. Please email us if you discover we have left some out.
36
-
37
-```
38
-apt-get install libc6-i386 lsb tcsh gawk libjpeg62 curl libx11-6:i386 libxext6:i386
39
-```
40
-
41
-For more information, please check our wiki page
42
-[here](https://sbgrid.org/wiki/workstation_setup "SBGrid Wiki" ):
consortium-wiki/preparing-macs-for-sbgrid-installation.md
... ...
@@ -1,6 +0,0 @@
1
-# Preparing Macs for SBGrid Installation
2
-
3
-Prior to OS X 10.8, the stock X11 has better compatibility than the Xquartz development version available from MacOSForge.
4
-
5
-With the OS X 10.8 release, X11 is no longer included by Apple, and you'll need to install the latest Xquartz version offered on the MacOSForge site to run X11-based applications.
6
-
consortium-wiki/recommended-hardware.md
... ...
@@ -1,16 +0,0 @@
1
-# Recommended Hardware
2
-
3
-## Linux Workstations
4
-
5
-SBGrid's preferred hardware vendor is [ThinkMate](http://thinkmate.com/
6
-"http://thinkmate.com" ) and we have some [recommended
7
-configurations](http://www.thinkmate.com/sbgrid
8
-"http://www.thinkmate.com/sbgrid" ) for structural biology computing.
9
-
10
-## Apple Workstations
11
-
12
-Any Apple machine can be a capable computer for structural biology. The basic
13
-Apple educational discount is available through their online web store, and
14
-your institution may have negotiated an even better deal with their Apple
15
-representative. SBGrid has several labs that run exclusively on Macs and OS X.
16
-
consortium-wiki/sbgrid-computing-resources.md
... ...
@@ -1,8 +0,0 @@
1
-# SBGrid Computing Resources
2
-
3
-SBGrid currently has a 64 core 512G RAM compute system `heron.sbgrid.org` available to consortium members for use in running computationally intensive
4
-jobs.
5
-
6
-`heron.sbgrid.org` is accessable over `ssh`; please contact use at
7
-[help@sbgrid.org](mailto:help@sbgrid.org) to arrange access.
8
-
consortium-wiki/supported-operating-systems.md
... ...
@@ -1,63 +0,0 @@
1
-# Supported Operating Systems
2
-
3
-The SBGrid Software Suite can run on Linux, OS X and IRIX machines.
4
-
5
-## Linux
6
-
7
-We build and test software under 64-bit Red Hat 6. The majority of our Linux
8
-users are using the Red Hat/CentOS/Scientific Linux or Fedora distributions,
9
-but we also have labs using the software with Ubuntu, Debian and OpenSuSE. We
10
-don't explicitly test the software on these distributions, but it is known to
11
-work, and we will work to resolve problems reported by users of these Linux
12
-distributions.
13
-
14
-We officially support the two most recent releases of Red
15
-Hat/CentOS/Scientific Linux (currently 6 and 7) and the two most recent
16
-releases of Fedora Linux. At this time, only 64-bit versions of linux are
17
-fully supported. As of January 2015, we are no longer updating the 32-bit
18
-software branch, though we will work to resolve reported problems.
19
-
20
-
21
-### Linux Currently Supported
22
-
23
- * Red Hat Enterprise Linux 6.x and 7.x and the community supported versions: CentOS and Scientific Linux.
24
- * Fedora releases actively supported by the Fedora community. Check  <https://fedoraproject.org/wiki/Releases>  for the current list.
25
- * We are no longer building software for RHEL 5.x, but compatible applications will remain in the software tree. We will respond to support requests for these and we will resolve problems where possible. RHEL5 users may not receive the latest versions of software, but RHEL5 systems will continue to be functional and supported with existing titles
26
-
27
-
28
-
29
-## OS X Intel
30
-
31
-We build and test the programs under the most four most recent OS X releases.
32
-
33
-Currently Supported:
34
-
35
- * OS X Intel 10.9 - 10.11
36
-
37
-## OS X PowerPC
38
-
39
-The OS X PowerPC branch is currently frozen. The applications are stable and
40
-work well on our PowerPC hardware, but they are not being updated.
41
-
42
-Currently Supported:
43
-
44
- * OS X PowerPC 10.4 - 10.5
45
-
46
-## IRIX
47
-
48
-The IRIX programs branch is currently frozen. The applications are stable and
49
-work well on our SGI hardware, but they are not being updated.
50
-
51
-Currently Supported:
52
-
53
- * IRIX 6.5.26 + bugfix releases
54
-
55
-
56
-Please check [here](https://sbgrid.org/wiki/ "SBGrid Wiki" ) for the
57
-latest information :
58
-
59
-
60
-* <https://sbgrid.org/wiki/>
61
-
62
-
63
-
consortium-wiki/updating-sbgrid-software-on-your-mac-from-sbgrid-central-server.md
... ...
@@ -1,12 +0,0 @@
1
-### Download instructions as a
2
-[PDF](https://dl.dropboxusercontent.com/u/5977164/Laptop_Installation_Script.pdf)
3
-presentation
4
-
5
-### and
6
-
7
-### see the  [ YouTube
8
-tutorial](https://www.youtube.com/watch?v=B1orLccn1GA&list=PLVetO1F9gm_pYNk5VcwUMfpNWI3xGOM90
9
-"SBGrid TV" ), starting at 4'17" for additional information.
10
-
11
-
12
-
consortium-wiki/updating-sbgrid-software-on-your-mac-from-your-local-server.md
... ...
@@ -1,172 +0,0 @@
1
-# Updating SBGrid software on your mac from your local server
2
-
3
-If you run a machine that is frequently disconnected from the network, like a
4
-laptop, or don't want to set up an NFS-shared software installation, it is
5
-possible to install the software to the hard disk on your local machine.
6
-
7
-There are two scripts in the programs tree that can be used to create a copy
8
-of the software on your local hard disk. The `sbgrid-laptop` script allows you
9
-to select individual applications from the software distribution for
10
-installation on your laptop. By default only the latest version of the
11
-selected applications will be installed. The `localsync` script allows you to
12
-copy an entire operating system software branch to your local machine. This
13
-script can be used on laptops, but each branch is quite large in terms of disk
14
-space usage.
15
-
16
-## Laptop Script
17
-
18
-You can create a customized local installation of the software using the
19
-`sbgrid-laptop` script located at `/programs/share/bin/sbgrid-laptop`. This
20
-script requires you to have an SSH login to a computer that has access to an
21
-SBGrid software installation and will let you specify which packages you want
22
-to install.
23
-
24
- sbgrid-laptop: a tool for creating a local installation of the
25
- SBGrid software on a laptop.
26
-
27
- Usage: sbgrid-laptop [-ituv] [-e list|config]
28
-
29
- -d Debug mode creates a log file for troubleshooting purposes.
30
- -e [list|config]
31
- Edit the software download list.
32
- -i Initial set up and installation of the SBGrid software.
33
- -s Re-run SSH key set up process.
34
- -t Test your current configuration.
35
- -u Update an existing installation using the current
36
- configuration.
37
- -v Verbose option for the file transfer.
38
-
39
- You need an SSH login to a machine with the SBGrid software installed
40
- to use this script. The script will create an SSH key and run an SSH
41
- agent process to handle authentication for the file transfers.
42
-
43
-Copy the script the machine you want to install the software on, and then run
44
-it in install mode: `./sbgrid-laptop -i`. Follow the prompts on the screen to
45
-create your configuration file, your software installation list and to enable
46
-logins using an SSH key for authentication.
47
-
48
-## Sync Script
49
-
50
-There is a script in the programs tree that can be used to copy the
51
-appropriate branch from a shared installation to your laptop or workstation.
52
-
53
-Copy /programs/share/bin/localsync from the machine that has the software to
54
-your home directory on the standalone machine:
55
-
56
- scp your.server.name:/programs/share/bin/localsync ~/
57
-
58
-Then run the script like this:
59
-
60
- chmod 755 ~/localsync
61
- ~/localsync [yourusername@your.server.name](mailto:yourusername@your.server.name)
62
-
63
-The script will prompt you for your sudo (admin) password in order to create
64
-the programs directory, and then it will prompt you for your login password to
65
-the server that hosts your programs installation.
66
-
67
-Here is an example run on my workstation:
68
-
69
- $ ./localsync [bene@developer.sbgrid.org](mailto:bene@developer.sbgrid.org)
70
- Running 'sudo mkdir /programs && sudo chown bene /programs'
71
- [sudo] password for bene:
72
- Copying the software from the i386-mac branch on your server to your local
73
- hard disk. Enter your ssh login password below for [bene@developer.sbgrid.org](mailto:bene@developer.sbgrid.org):
74
-
75
- receiving file list ...
76
-
77
-This will copy the entire branch for your architecture to your local hard
78
-drive. For the OS X branch, this will use approximately 100 GB of disk space.
79
-
80
-You should use a network cable for the initial download, since the download is
81
-fairly large. Subsequent runs of the 'localsync' script are differential; they
82
-will only copy new or changed files, so they can be run over a wireless
83
-connection. The script can be run at any time to make your local installation
84
-match the installation on your local server.
85
-
86
-## Sharing a Software Installation without NFS
87
-
88
-While we recommend that sites export their software installation via NFS to
89
-their workstations, it is possible to use rsync to copy the master
90
-installation to each workstation. This method has the drawback that it
91
-requires manual intervention on the part of the local sysadmin, and updates
92
-will not be instantaneous or simultaneous for all machines.
93
-
94
-On each client machine, you'll need an 'sbgrid' user. That user will have a
95
-passphraseless ssh key that lets it log into the machine that hosts your
96
-primary installation. Each client machine will have a cron job for that sbgrid
97
-user that runs at 2 AM that will sync the programs from the master
98
-installation to the client machine.
99
-
100
-Here is a basic command run down. 'server1' holds the programs installation
101
-and 'client1' is what will be connecting to it.
102
-
103
-* Login as root/administrator on client1
104
-* Create the 'sbgrid' user on client1
105
-* Check the free space on /.
106
-* If there's enough free space, set up the programs directory:
107
-
108
- ```
109
- mkdir /programs
110
- chown -R sbgrid:sbgrid /programs
111
- ```
112
-
113
-* If there is not enough free space on the root volume, you'll need to find space on a local volume.
114
-* Login as 'sbgrid' on client1.
115
-* Create the passphraseless ssh key:
116
-
117
- ``` ssh-keygen -d ```
118
-
119
-(hit enter to confirm default file location, no passphrase, etc)
120
-
121
-* Copy the ssh key to server1:
122
-
123
- ``` cat ~/.ssh/id_dsa.pub | ssh server1 'cat - >> ~/.ssh/authorized_keys' ```
124
-
125
-* Copy the localsync script from server1 to client1. From client1:
126
-
127
- ``` scp sbgrid@server1:/programs/share/bin/localsync . ```
128
-
129
-(May prompt to accept the host key. If you can't login without a password, the
130
-ssh key stuff above has failed, and you'll need to troubleshoot that.)
131
-&lt;/code&gt; chmod 755 localsync ./localsync sbgrid@server1 &lt;/code&gt;
132
-(This will take a while depending on the speed of the machines/network.)
133
-
134
-* Test the installation
135
- * tcsh
136
-
137
- ``` source /programs/sbgrid.cshrc ```
138
-
139
- * bash
140
-
141
- ``` source /programs/sbgrid.shrc ```
142
-
143
-(You should get a message like this: )
144
-
145
-
146
-
147
- Welcome to SBGrid!
148
- ********************************************************************************
149
- Your use of the applications contained in the /programs directory constitutes
150
- acceptance of the terms of the SBGrid License Agreement included in the file
151
- /programs/share/LICENSE. The applications distributed by SBGrid are licensed
152
- exclusively to member laboratories of the SBGrid Consortium.
153
-
154
- To hush this license message, run 'touch ~/.agree2sbgrid'.
155
- ********************************************************************************
156
- Please submit bug reports and help requests to: <[bugs@sbgrid.org](mailto:bugs@sbgrid.org)> or
157
- <[http://sbgrid.org/bugs>](http://sbgrid.org/bugs>)
158
- This installation last updated: 20110411
159
- ********************************************************************************
160
- Total time to initialize: 1 second(s)
161
-
162
-
163
-* Add a cronjob for the updates. As the 'sbgrid' user on client1:
164
-
165
- ``` echo "0 2 * * * ~/localsync sbgrid@server1" | crontab ```
166
-
167
-* Check the cronjob:
168
-
169
- ``` crontab -l ```
170
-
171
-You're done!
172
-