| 48 | | === make === |
| 49 | | {{{ |
| 50 | | cdelacruz@metis:~$ sudo apt-get install make |
| 51 | | }}} |
| 52 | | === cvs and ncurses === |
| 53 | | {{{ |
| 54 | | cdelacruz@metis:~$ sudo apt-get install cvs |
| 55 | | cdelacruz@metis:~$ sudo apt-get install libncurses5-dev |
| 56 | | cdelacruz@metis:~$ sudo apt-get install glibc-doc |
| 57 | | cdelacruz@metis:~$ sudo apt-get install manpages-dev |
| 58 | | }}} |
| 59 | | === 3.4 gcc/g77 compiler version === |
| 60 | | {{{ |
| 61 | | root@phobos:/# apt-get install g77-3.4 |
| 62 | | Reading package lists... Done |
| 63 | | Building dependency tree... Done |
| 64 | | The following extra packages will be installed: |
| 65 | | binutils cpp-3.4 gcc-3.4 libg2c0-dev |
| 66 | | Suggested packages: |
| 67 | | binutils-doc g77-3.4-doc gcc-3.4-doc libc6-dev-amd64 |
| 68 | | Recommended packages: |
| 69 | | libc6-dev |
| 70 | | ... |
| 71 | | root@phobos:/# apt-get install g77-3.4-doc |
| 72 | | }}} |
| 73 | | === X-window-system-dev === |
| 74 | | {{{ |
| 75 | | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ sudo apt-get install x-window-system-dev |
| 76 | | }}} |
| 91 | | cdelacruz@metis:/usr/local/AIPS$ ./install.pl (selected the default options during the install) |
| | 69 | ./install.pl |
| | 70 | |
| | 71 | The following options (pulled from the .AIPSRC file) were selected: |
| | 72 | |
| | 73 | # AIPSRC created by install.pl on Fri Apr 21 19:11:55 2006 |
| | 74 | # |
| | 75 | LAST_VERSION = 31DEC06 |
| | 76 | AIPS_ROOT = /opt/aips/31DEC06 |
| | 77 | GROUP = aips |
| | 78 | GROUPWRITE = NO |
| | 79 | INSTALL_FROM_CD = NO |
| | 80 | INSTALL_FROM_NET = NO |
| | 81 | ARCH = LINUX |
| | 82 | IS64 = NO |
| | 83 | SITE = CAL |
| | 84 | THISHOST = IO |
| | 85 | HOSTS = "IO" |
| | 86 | PRINTERS = "" |
| | 87 | DATA_AREAS = "/scratch/aips/data/IO_1:NONE" |
| | 88 | TAPE_DRIVES = "" |
| | 89 | TPHOSTS = "127.0.0.1" |
| | 90 | APSIZE = 80 |
| | 91 | PRINTMED = A |
| | 92 | |
| | 93 | * Note: CWs must define a scratch disk for the data area. |
| | 94 | * Configuaration files are located in: |
| | 95 | |
| | 96 | /opt/aips/31DEC06/DA00$ |
| | 97 | |
| | 98 | (can refer to solaris configuration files if necessary) |
| | 99 | |
| | 100 | |
| 97 | | This is your last, best hope for checking the settings before |
| 98 | | committing to the install. Please check thesesettings, and |
| 99 | | make sure they are what you want: |
| 100 | | |
| 101 | | AIPS_ROOT (screen 3): /usr/local/AIPS |
| 102 | | Group (screen 4): aips |
| 103 | | Group Write (screen 4): YES |
| 104 | | Architecture (screen 5): LINUX |
| 105 | | Site name (screen 5): AIPSCAL |
| 106 | | AIPS hosts (screen 6): METIS |
| 107 | | Data areas (screen 7): /usr/local/AIPS/DATA/METIS_1 |
| 108 | | Printers (screen 8): Paper type (screen 8): A |
| 109 | | Tape drives (screen 9): |
| 110 | | Tape hosts (screen 9): 127.0.0.1 |
| 111 | | Advanced (screen 10): (not listed here) |
| 112 | | |
| 113 | | You can skip back to a previous menu by entering its number, |
| 114 | | or use the phrase 'start over' to go back to the beginning. |
| 115 | | [You may also type B for back, or Q to Quit] |
| 116 | | |
| 117 | | AipsWiz: ===> [A]ccept (default) or menu number: |
| 118 | | |
| 119 | | ---------------------------------------------------------------------- |
| 120 | | # interactive AIPS, # batch queues (2 I) |
| 121 | | FILAI1: Init POPS memory files 1 through 12 with program POPSGN |
| 122 | | FILAI1: Done! |
| 123 | | AipsWiz: FILAIP seems to have run correctly. Now running POPSGN. |
| 124 | | AipsWiz: This will show a prompt; don't type anything, as I will |
| 125 | | AipsWiz: enter the magic incantations. If it works, you will see |
| 126 | | AipsWiz: the message 'Popsgen complete' momentarily... |
| 127 | | |
| 128 | | Data disk assignments: |
| 129 | | (Using global default file /usr/local/AIPS/DA00/DADEVS.LIST for DADEVS.PL) |
| 130 | | Disk 1 (1) is /usr/local/AIPS/DATA/METIS_1 |
| 131 | | |
| 132 | | Starting up POPSGN (RELEASE OF 31DEC06) |
| 133 | | Enter Idebug, Mname, Version (1 I, 2 A's) (NO COMMAS) |
| 134 | | >POPSG1: Popsgen complete |
| 135 | | POPSG1: metis 31DEC06 TST: Cpu= 0.0 Real= 0 |
| 136 | | AipsWiz: Copying DA00/METIS/* files to 31DEC06/LINUX/TEMPLATE/ area |
| 137 | | |
| | 106 | . |
| | 107 | . |
| | 108 | . |
| 153 | | root@metis:/usr/local/AIPS# . ./LOGIN.SH |
| 154 | | root@metis:/usr/local/AIPS# aips notv tpok |
| 155 | | START_AIPS: Your initial AIPS printer is the |
| 156 | | START_AIPS: - system name , AIPS type |
| 157 | | |
| 158 | | START_AIPS: User data area assignments: |
| 159 | | (Using global default file /usr/local/AIPS/DA00/DADEVS.LIST for DADEVS.PL) |
| 160 | | Disk 1 (1) is /usr/local/AIPS/DATA/METIS_1 |
| 161 | | |
| 162 | | Tape assignments: |
| 163 | | Tape 1 is REMOTE |
| 164 | | Tape 2 is REMOTE |
| 165 | | |
| 166 | | START_AIPS: Assuming TPMON daemons are running or not used (you said TPOK) |
| 167 | | Starting up 31DEC06 AIPS with normal priority |
| 168 | | Begin the one true AIPS number 1 (release of 31DEC06) at priority = 0 |
| 169 | | AIPS 1: You are NOT assigned a TV device or server |
| 170 | | AIPS 1: You are NOT assigned a graphics device or server |
| 171 | | AIPS 1: Enter user ID number |
| 172 | | ?123 |
| 173 | | AIPS 1: 31DEC06 AIPS: |
| 174 | | AIPS 1: Copyright (C) 1995-2005 Associated Universities, Inc. |
| 175 | | AIPS 1: AIPS comes with ABSOLUTELY NO WARRANTY; |
| 176 | | AIPS 1: for details, type HELP GNUGPL |
| 177 | | AIPS 1: This is free software, and you are welcome to redistribute it |
| 178 | | AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details. |
| 179 | | AIPS 1: Previous session command-line history *not* recovered. |
| 180 | | AIPS 1: TAB-key completions enabled, type HELP READLINE for details. |
| 181 | | AIPS 1: Loading a brand new POPS vocabulary |
| 182 | | >print 2 + 2 |
| 183 | | AIPS 1: 4 |
| 184 | | > |
| 185 | | |
| | 124 | * Successfully ran above task. |
| 189 | | 3. Make a cron entry for the do_daily.METIS file |
| 190 | | that the MAKE.MNJ created, so you can run the |
| 191 | | AIPS 'midnight job'. This is optional but |
| 192 | | strongly recommended. |
| 193 | | |
| 194 | | AipsWiz: That's it. You should now have the latest AIPS! Enjoy. |
| 195 | | root@metis:/usr/local/AIPS# |
| 196 | | }}} |
| 197 | | |
| 198 | | '''Add the follwowing to the /etc/services file:''' |
| 199 | | {{{ |
| 200 | | # |
| 201 | | # Services added for the AIPS Ubuntu Installation |
| 202 | | # |
| 203 | | |
| 204 | | sssin 5000/tcp SSSIN # AIPS TV server |
| 205 | | ssslock 5002/tcp SSSLOCK # AIPS TV Lock |
| 206 | | msgserv 5008/tcp MSGSERV # AIPS Message Server |
| 207 | | tekserv 5009/tcp TEKSERV # AIPS TekServer |
| 208 | | aipsmt0 5010/tcp AIPSMT0 # AIPS remote FITS disk |
| 209 | | access |
| 210 | | aipsmt1 5011/tcp AIPSMT1 # AIPS remote tape 1 |
| 211 | | aipsmt2 5012/tcp AIPSMT2 # AIPS remote tape 2 |
| 212 | | aipsmt3 5013/tcp AIPSMT3 |
| 213 | | aipsmt4 5014/tcp AIPSMT4 |
| 214 | | aipsmt5 5015/tcp AIPSMT5 |
| 215 | | aipsmt6 5016/tcp AIPSMT6 |
| 216 | | aipsmt7 5017/tcp AIPSMT7 |
| 217 | | |
| 218 | | ***comment out the absolete "radio free ethernet" (5002) service. |
| 219 | | |
| 220 | | # rfe 5002/udp # Radio Free Ethernet |
| 221 | | # rfe 5002/tcp |
| 222 | | }}} |
| 223 | | |
| 224 | | |
| 225 | | '''Please note: Video must be in 24-bit TruColor mode''' |
| 226 | | |
| 227 | | '''Add LOGIN.SH file to the .bashrc file:''' |
| 228 | | {{{ |
| 229 | | ### AIPS Environment ### |
| 230 | | . /usr/local/AIPS/LOGIN.SH |
| 231 | | }}} |
| 232 | | '''Changed AIPS directory ownership to aips group:''' |
| 233 | | {{{ |
| 234 | | sudo chown -R root:aips AIPS |
| | 128 | }}} |
| | 129 | |
| | 130 | '''Create a simlink for 'current' software version:''' |
| | 131 | {{{ |
| | 132 | ln -s /opt/aips/31DEC06 /opt/aips/current |
| | 133 | }}} |
| | 134 | |
| | 135 | '''Created an 'aips-shell' for launching application:''' |
| | 136 | {{{ |
| | 137 | #!/bin/bash |
| | 138 | . /opt/aips/current/LOGIN.SH |
| | 139 | exec aips tv=local tpok |
| | 140 | |
| | 141 | * (tv=local disables network share of aips tv, tpok disables tape drive setup/share) |
| | 142 | }}} |
| | 143 | '''Changed AIPS directory ownership to root:''' |
| | 144 | {{{ |
| | 145 | sudo chown -R root:root aips |