# written on 12 May 2011 (Taehyun Jung) # This document explains how to install AIPS on your linux machine # by using binary installation. Here, I assume the Linux OS is CentOS 5.5. # For the AIPS version, I would strongly recommend to use recent version # of AIPS such as 31DEC10 # if the '#" mark is presented in front of command set, it means that you need # to superuser privilege, on the other hand, '$' mark means user account is OK. 1. download the "Install Wizard" file on the AIPS website : http://www.aips.nrao.edu/dec10.shtml intall.pl 2. make a directory where AIPS program will be installed. #mkdir /opt/aips (AIPS ROOT) #chmod -R 777 /opt/aips 3. copy the install wizard file to the AIPS ROOT now you have insall.pl file at the directory : /opt/aips/install.pl 4. give a permission for execution to install.pl #chmod +x install.pl 5. please copy and paste following lines to the end of /etc/services #vi /etc/services sssin 5000/tcp SSSIN # AIPS TV server ssslock 5002/tcp SSSLOCK # AIPS TV Lock msgserv 5008/tcp MSGSERV # AIPS Message Server tekserv 5009/tcp TEKSERV # AIPS TekServer aipsmt0 5010/tcp AIPSMT0 # AIPS remote FITS disk access aipsmt1 5011/tcp AIPSMT1 # AIPS remote tape 1 aipsmt2 5012/tcp AIPSMT2 # AIPS remote tape 2 aipsmt3 5013/tcp AIPSMT3 aipsmt4 5014/tcp AIPSMT4 aipsmt5 5015/tcp AIPSMT5 aipsmt6 5016/tcp AIPSMT6 aipsmt7 5017/tcp AIPSMT7 6. Lets start AIPS binary installation! $./install.pl AipsWiz: ==> a binary installation? [Y/N, default N] : Y Screen 0: INTRODUCTION AipsWiz: ===> Press or to get started: [Enter] Screen 4: Group Ownership AipsWiz: ===> What group should be used for AIPS? [username] [Enter] Screen 4b: Group Write AipsWiz: ===> Allow sjoh to have write access? [YES] [Enter] Screen 5: Site Name AipsWiz: ===> Your site name: [required, no default] (for example) KVN Screen 5a: Site type AipsWiz: ===> Press to confirm, or enter N or n to deny [Y]: [Enter] Screen 5b: Architecture Confirmation AipsWiz: ===> Enter the architecture for this system [LNX64] (mostly) [Enter] Screen 6: Additional hosts if any AipsWiz: ===> Enter new hosts (no commas!) or LOCALHOST to reset: (mostly) [Enter] Screen 7: User Data Areas AipsWiz: ===> Data Areas: (Here you need to specify your data area specifically) /opt/aips/DATA/LOCALHOST_1 Screen 8: Printers AipsWiz: ===> Your choice (default: Accept): [Enter] AipsWiz: ==> Do your printer(s) use A or A4 paper? [A]: A4 Screen 9: Tape Drives AipsWiz: ===> Your choice (default: Accept): [Enter] Screen 9B: Tape Hosts AipsWiz: ===> Your choice (default: Accept): [Enter] Screen 11: FINAL REVIEW before installing! (Please, check all the settings are correctly specified! If Ok, then) [Enter] AipsWiz: ==> Confirm: start the install with these settings [Y]: [Enter] --> Now, the installation script starts downloading the necessary files. MAKE.BMNJ - Press to acknowledge...: [Enter] CVS password: [AMANAGER] MAKE.BMNJ - Press when ready to proceed...: [Enter] AipsWiz: ==> Press to continue...: [Enter] --> Then, you should see following messages, which imply the successful installation of AIPS. AipsWiz: =====> We're DONE! Let's have a nice Banana Split! <====== AipsWiz: Here are the final setup instructions for running AIPS 1. 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.LOCALHOST file that the MAKE.MNJ created, so you can run the AIPS 'midnight job'. This is optional but strongly recommended. AipsWiz: That's it. You should now have the latest AIPS! Enjoy. 7. Final setup You need to tell the AIPS $PATH to your shell. Here is an example. Please add following lines to your .tcshrc or .cshrc ** In case of tcsh or csh : setenv aips /opt/astro/aips source /opt/astro/aips/LOGIN.CSH ** In case of bash : export aips=/opt/aips source /opt/aips/LOGIN.SH 8. Enjoy AIPS!! If you have any question, feel free to ask! Cheers!