-
AIPS 安装
日期:2011-09-24 | 分类:
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://shiningsky.blogbus.com/logs/163340377.html
1. 创建安装目录。
# su# mkdir /astrosoft# mkdir /astrosoft/aips# cd /astrosoft# chmod 777 aips# exit2. 下载安装脚本$ cd /astrosoft/aips$ wget ftp://ftp.aoc.nrao.edu/pub/software/aips/31DEC10/install.pl3. 赋予脚本可执行权限$ chmod +x install.pl4. 安装$ perl ./install.pl回车后会有如下提示,让你选择是否进行binary安装,我选择的是。=================================================AipsWiz: ==> a binary installation? [Y/N, default N] : Y=================================================之后会出现一些提示,有些需要进行交互。主要是一些目录的设置。==================================================Screen 0: INTRODUCTION----------------------Welcome to the AIPS Install Wizard (AipsWiz)!It will do the following:1. Look for (and/or download) the 'tarball' for 31DEC10(skipped if installing from CD or network)2. Unpack it wherever you specify (skipped if CD or network)3. Ask you for various settings through a set of menus4. Review your settings, and5. Do the installation with no further input needed.Things can go wrong (!) so this procedure is not perfect,but it saves state in a file .AIPSRC in your home area.So you can easily restart an interrupted install attempt,without re-entering all your settings. You can also goback a screen by typing 'B' to most prompts, or youcan Quit at any menu by entering 'Q'.[You may also type B for back, or Q to Quit]AipsWiz: ===> Press or to get started:==============================================================================================Screen 2: Confirmation----------------------Proceeding with 31DEC10 install/upgrade. Please check:that this is the file you want (should be >89 Mbytes)[You may also type B for back, or Q to Quit]AipsWiz: ===> Proceed [Y/N, default Y]==============================================================================================Screen 3: Where to unpack-------------------------Please tell me where to unpack the 31DEC10 version of AIPS(This is the so-called AIPS_ROOT area).The default is /astrosoft/aips[You may also type B for back, or Q to Quit]AipsWiz: ===> AIPS Root area:======================================================我在安装时直接从screen 0跳到了screen 4。前面的screen 2和3是我输入B后返回看到的,但始终没有出现screen 1.======================================================Screen 4: Group Ownership-------------------------If more than one account is going to be using AIPS, you should selecta 'Unix group' for these accounts. This can,but need not be, their primary group.[You may also type B for back, or Q to Quit]AipsWiz: ===> What group should be used for AIPS? [yjh]====================================================================================================Screen 4b: Group Write----------------------If more than one account will use AIPS, and you are usinga group (yjh) to permit filesharing, you should also allow this groupwrite access to certain AIPS files.[You may also type B for back, or Q to Quit]AipsWiz: ===> Allow yjh to have write access? [YES]================================================在screen 5中输入站点名(如,我使用的YJHNAOC)================================================Screen 5: Site Name-------------------You have already indicated your site name to be YJHNAOC[You may also type B for back, or Q to Quit]AipsWiz: ===> Press to confirm, or enter a new name: YJHNAOC===============================================================================================Screen 5a: Site type--------------------If your site consists of a single portable computerwhich may get different names at different times,it is best to force the name for AIPS to LOCALHOST.[You may also type B for back, or Q to Quit]AipsWiz: ===> If you want this, enter Y or y [N]================================================================================================Screen 5b: Architecture Confirmation------------------------------------Your architecture appears to be LINUXIf this is correct, press RETURN or ENTER.If not, enter the correct architecture (or ? for a list)[You may also type B for back, or Q to Quit]AipsWiz: ===> Enter the architecture for this system [LINUX]===============================================================================================Screen 6: Additional hosts if any---------------------------------You may configure your installation so it runs on many systems,sharing the AIPS ROOT area via NFS. The list of host(s) is now:YJH-NAOCAny new hosts will initially be set to arch=LINUX, but you canchange this by editing HOSTS.LIST in /astrosoft/aipswhen the install is finished.[You may also type B for back, or Q to Quit]AipsWiz: ===> Enter new hosts (no commas!) or YJH-NAOC to reset:YJH-NAOC================================================在screen 7 设定数据目录===============================================Screen 7: User Data Areas-------------------------At least one data area needs to be defined for AIPS user data.Do it here unless there is already a DADEVS.LIST file. It isimportant that the host name in caps appear in the data area name.Currently these area(s) are defined:(no data areas have been defined yet)You can add to this list after installing by editing the two filesDADEVS.LIST and NETSP in the /astrosoft/aips/DA00/ directory.Please enter (additional) data area(s) now as a space-separated list,or the word RESET to re-set the list.(If you want to use symlinks, use the notationactual_directory_location:symbolic_link_locationinstead of a simple directory location.)The suggested data area is /astrosoft/aips/DATA/YJH-NAOC_1[You may also type B for back, or Q to Quit]AipsWiz: ===> Data Areas: /home/yjh/work/data/aips/YJH-NAOC_1===============================================screen 8 设置打印选项。可先输入D,查看一下系统支持的打印机=================================================Screen 8: Printers------------------You may define several printers for use with AIPS.These will appear on startup as numbered choices to the userAt least one printer must be defined. Currently defined:(no printers are defined yet)Paper Format: AYou can modify printer definitions after the install byediting the file /astrosoft/aips/DA00/PRDEVS.LIST .Please indicate whether you want to- add (N)ew printers- (D)iscover your system's printers (may not work),- (A)ccept the current settings as is, or- (R)eset to clear the list.(Paper format - A or A4 - will come next)[You may also type B for back, or Q to Quit]AipsWiz: ===> Your choice (default: Accept): D===============================================由于在我的系统中安装了HP LaserJet p2055dn 的打印机,我在输入D后返回以下信息。==============================================AipsWiz: Configuring 1 printers. For each, you will be asked if youAipsWiz: want to configure AIPS to use it, its type, options, and aAipsWiz: description. AIPS priner types are:AipsWiz: PS Black-and-white PostScript printerAipsWiz: COLOR (or COLOUR) Color/Colour PostScrip printertAipsWiz: TEXT Plain text printers (including line printers)AipsWiz: QMS QUIC format (QMS [not QMS PS!], Talaris) printersAipsWiz: PREVIEW Screen Previewers, e.g. gv, ghostview, pageviewAipsWiz: And the valid AIPS printer options are:AipsWiz: NONE (default), nothing special.AipsWiz: DUP Printer will print on both sides of the paperAipsWiz: DEF This will be the default AIPS printerAipsWiz: BIG=nnn Force use of this printer for jobs > nnn linesAipsWiz: If you want to specify multiple options for a printer,AipsWiz: separate them with commas (NO SPACES!)AipsWiz: ==> Printer type for HP-LaserJet-p2055dn|HP LaserJet p2055dn (N to skip) [PS]:=============================================================================================Screen 9: Tape Drives---------------------If your network has any tape drives you would like to use for AIPS,you can specify those now. You need to configure each tape drivemachine to run AIPS (or a subset of it). Current definitions:(no tape drives are defined yet)You can add to this list after the install by editing TPDEVS.LISTin the /astrosoft/aips/DA00 area.Please indicate whether you want toadd (N)ew tape drive(s)(D)iscover tape drives on YJH-NAOC (may not work)(A)ccept the current settings as is, or(R)eset to clear the list.[You may also type B for back, or Q to Quit]AipsWiz: ===> Your choice (default: Accept):==============================================================================================Screen 9B: Tape Hosts---------------------THIS IS IMPORTANT: READ ME!The TPMON daemons that are automatically started or restartedwith each AIPS session are servers that give remote systemsaccess to your local tape drives (TPMON2,3,...) and FITSdisk area (TPMON1). There is a mechanism to restrict connectionsto a set of hosts and/or IP addresses. You need to indicate whatremote system(s) if any are allowed to use your tapesand FITS disk area. The default configuration is to ONLY allowyour local host (127.0.0.1). The list of hosts and/or IP addressesis currently set to:-----------------------------------------------------------------127.0.0.1-----------------------------------------------------------------You can modify this list after the install by editing file TPHOSTSin the /astrosoft/aips/DA00 area. Each line in the file can be- an IP address, e.g. 192.33.115.11- a fully qualified domain name, e.g. orangutan.cv.nrao.edu,- a limited IP address wildcard, e.g. 192.33.115.*, or- a limited domain name wildcard, e.g. *.cv.nrao.edu.Please indicate whether you want toadd (N)ew entries(A)ccept the current settings as is, or(R)eset to the default.[You may also type B for back, or Q to Quit]AipsWiz: ===> Your choice (default: Accept):==============================================在安装时,我又没看到screen 10.最后在screen 11 给你一次检查设置的机会。然后回车,就开始装了。=============================================Screen 11: FINAL REVIEW before installing!------------------------------------------This is your last, best hope for checking the settings beforecommitting to the install. Please check these settings, andmake sure they are what you want:AIPS_ROOT (screen 3): /astrosoft/aipsGroup (screen 4): yjhGroup Write (screen 4): YESArchitecture (screen 5): LINUXSite name (screen 5): YJHNAOCAIPS hosts (screen 6): YJH-NAOCData areas (screen 7): /home/yjh/work/data/aips/YJH-NAOC_1Printers (screen 8): PS-CMYK NONE COLORHP-LaserJet-p2055dn|HP LaserJet p2055dn PS DUP A321Paper type (screen 8): A4Tape drives (screen 9):Tape hosts (screen 9): 127.0.0.1You can skip back to a previous menu by entering its number,or use the phrase 'start over' to go back to the beginning.[You may also type B for back, or Q to Quit]AipsWiz: ===> [A]ccept (default) or menu number:===========================================================================================AipsWiz: ==> Confirm: start the install with these settings [Y]:================================================之后就迅速滚屏了。=================================================AipsWiz: /astrosoft/aips/31DEC10 does not exist, will be created.***************************************************************************National Radio Astronomy Observatory computing facilities are exclusivelyfor the use of authorized personnel, who are expected to abide by theterms of the NRAO Computing Security and Computing Use Policies.***************************************************************************receiving incremental file listSYSTEM/SYSTEM/AREAS.DATSYSTEM/NOTICE.TXTSYSTEM/XEDIT1.STRSYSTEM/XEDIT2.STRSYSTEM/XLATE.FORSYSTEM/CVS/SYSTEM/CVS/EntriesSYSTEM/CVS/RepositorySYSTEM/CVS/RootSYSTEM/UNIX/SYSTEM/UNIX/ADVERBSYSTEM/UNIX/AIASSYSTEM/UNIX/AIGREPSYSTEM/UNIX/AIMANSYSTEM/UNIX/AIPS.BOOTSYSTEM/UNIX/AIPS.MSGSYSTEM/UNIX/AIPSASSN.CSHSYSTEM/UNIX/AIPSASSN.SHSYSTEM/UNIX/AIPSCCSYSTEM/UNIX/AIPSEXECSYSTEM/UNIX/AIPSPATH.CSHSYSTEM/UNIX/AIPSPATH.SHSYSTEM/UNIX/AIPSROOT.DEFINESYSTEM/UNIX/AIPSWCSYSTEM/UNIX/AIPWD.CSYSTEM/UNIX/AIWHICHSYSTEM/UNIX/ALLRSH...............============================================剩下的一路回车即可。直到退出安装界面。最后会出现如下界面,然后按照提示配置一下就可以用了。============================================>AipsWiz: Copying DA00/YJH-NAOC/* files to 31DEC10/LINUX/TEMPLATE/ areaAipsWiz: =====> We're DONE! Let's have a nice Banana Split! <======AipsWiz: Here are the final setup instructions for running AIPS1. Reference the LOGIN.SH file in your .profile file(dot it now too, via ". ./LOGIN.SH")2. Check that it works:aips notv tpok(this will not start a TV or tape servers).Try 'print 2 + 2' for a very basic test.3. Make a cron entry for the do_daily.YJH-NAOC filethat the MAKE.MNJ created, so you can run theAIPS 'midnight job'. This is optional butstrongly recommended.AipsWiz: That's it. You should now have the latest AIPS! Enjoy.===================================================5. 配置(只能保证可以运行)在~/.bashrc中加入这样一行. /your_aips_root_dir/LOGIN.SH这里/your_aips_root_dir是AIPS的安装目录。下面是在我机器上的操作:$ vim ~/.bashrc加上了这样一行 (注意前面的点儿不可以丢):. /astrosoft/aips/LOGIN.SH以root身份,把下面内容加入/etc/services中。================我是分割线=======================sssin 5000/tcp SSSIN # AIPS TV serverssslock 5002/tcp SSSLOCK # AIPS TV Lockmsgserv 5008/tcp MSGSERV # AIPS Message Servertekserv 5009/tcp TEKSERV # AIPS TekServeraipsmt0 5010/tcp AIPSMT0 # AIPS remote FITS disk accessaipsmt1 5011/tcp AIPSMT1 # AIPS remote tape 1aipsmt2 5012/tcp AIPSMT2 # AIPS remote tape 2aipsmt3 5013/tcp AIPSMT3aipsmt4 5014/tcp AIPSMT4aipsmt5 5015/tcp AIPSMT5aipsmt6 5016/tcp AIPSMT6aipsmt7 5017/tcp AIPSMT7====================我是分割线===========================6. 使用o(∩∩)o...哈哈。终于看到曙光了,测试一下吧。重新打开一个终端,输入以下命令。$ aips
收藏到:Del.icio.us







