scratchpad:multiple_registrations_hack_with_hosts_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| scratchpad:multiple_registrations_hack_with_hosts_file [2008/01/24 12:32] – formatting phasefx | scratchpad:multiple_registrations_hack_with_hosts_file [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | This is PINES specific, but the concepts will work with any Evergreen installation, | ||
| + | --- | ||
| + | |||
| + | For those that are interested, there’s an neat Windows hack that you can use to register your workstation multiple times on the same computer. | ||
| + | |||
| + | Say, for example, you need to be able to login to a workstation registered to several different libraries in your system, such as ARL-ATH, ARL-BOG, and ARL-BKM, but you don’t want to have to use different Windows accounts, or, in the old EG version, different installations of the Staff Client. | ||
| + | |||
| + | You can edit your Windows “hosts” file to allow you to do this (note that you need to be logged in as a Windows administrator in order to do this). | ||
| + | |||
| + | “hosts” is usually located under “C: | ||
| + | |||
| + | < | ||
| + | # Copyright (c) 1993-1999 Microsoft Corp. | ||
| + | # | ||
| + | # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | ||
| + | # | ||
| + | # This file contains the mappings of IP addresses to host names. Each | ||
| + | # entry should be kept on an individual line. The IP address should | ||
| + | # be placed in the first column followed by the corresponding host name. | ||
| + | # The IP address and the host name should be separated by at least one | ||
| + | # space. | ||
| + | # | ||
| + | # Additionally, | ||
| + | # lines or following the machine name denoted by a '#' | ||
| + | # | ||
| + | # For example: | ||
| + | # | ||
| + | # 102.54.94.97 | ||
| + | # | ||
| + | |||
| + | 127.0.0.1 | ||
| + | </ | ||
| + | |||
| + | For my above example, you could add the following lines to the end of the hosts file: | ||
| + | |||
| + | < | ||
| + | 209.168.247.199 ath.gapines.org | ||
| + | 209.168.247.199 bog.gapines.org | ||
| + | 209.168.247.199 bkm.gapines.org | ||
| + | </ | ||
| + | |||
| + | Save the hosts file and exit the text editor, then start the Staff Client. | ||
| + | |||
| + | 209.169.247.199 is the IP for gapines.org, | ||
| + | |||
| + | Also, you can format the new URLs however you wish; instead of ath.gapines.org, | ||
| + | |||
| + | < | ||
| + | 209.168.247.199 ATHENS | ||
| + | </ | ||
| + | |||
| + | In this case, you’d enter ATHENS in the hostname field for Evergreen. | ||
| + | |||
| + | < | ||
| + | 209.168.247.199 username1.gapines.org | ||
| + | 209.168.247.199 username2.gapines.org | ||
| + | </ | ||
| + | |||
| + | and register the workstation for each hostname to the library, but with a different workstation name. | ||
| + | |||
| + | Hope this is helpful! | ||
| + | |||
| + | -Murphy | ||