IRAF 설치 [Fedora 18 x86-64] by classic-0lu


1.root 로 들어간후

yum install tcsh
yum install xterm

2. adduser --home /iraf/iraf/local --shell /bin/tcsh iraf
--만약 안된다면 이것은 SEliux 문제 이다
vi /etc/sysconfig/selinux    
 SELINUX=enforcing --> disable  ;이렇게 수정

3. mkdir /iraf
    mkdir /iraf/iraf/local
    mkdir  /iraf/x11iraf
    mkdir /iraf/extern
    chown -R iraf:iraf /iraf

4. su iraf

5. cd /iraf/iraf
     wget wget ftp://iraf.noao.edu/iraf/v215/PCIX/iraf.lnux.x86_64.gz
tar -zxpf iraf.lnux.x86_64.gz

6. setenv iraf /iraf/iraf/
    cd $iraf/unix/hlib
    source irafuser.csh

    ./install -n

7. 이 과정 대로 하면 긴 글이 나옴



 IRAF V2.15.1a System Installation
      ================================

       Welcome to the IRAF installation script.  This script will first
  prompt you for several needed path names.  The system will be verified
  for proper structure before the actual install begins, all error must
  must be corrected before you will be allowed to continue.  Recommend-
  ations for fixing problems will be made but no corrective action will
  be taken directly.  Once properly installed, you will be allowed to
  do some minimal configuration.

  For each prompt: hit <CR> to accept the default value, 'q' to quit,
  or 'help' or '?' to print an explanation of the prompt.


========================================================================

====== Query for System Settings ======
========================================================================

New iraf root directory (/iraf/iraf): 
Default root image storage directory (/iraf/imdirs): 
Local unix commands directory (/usr/local/bin): 

========================================================================

====== Verifying System Settings ======
========================================================================

Hostname      = printer               OS version    = Linux 2.6.32-5-amd64
Architecture  = linux64               HSI arch      = linux64             
New iraf root = /iraf/iraf            Old iraf root = /iraf/iraf          
New imdir     = /iraf/imdirs          Old imdir     = /iraf/imdirs        
Local bin dir = /usr/local/bin      


Checking definition of iraf root directory ... [  OK  ]
Checking iraf root and imdir directory ... [  OK  ]
Checking iraf directory write permissions ... [  OK  ]
Checking Core system binary directory ... [  OK  ]
Checking NOAO package binary directory ... [  OK  ]
Checking that local bin directory exists ... [  OK  ]
Checking for existing commands directory... [  OK  ]

Proceed with installation?  (yes): 


========================================================================

====== Begin Installation ======
========================================================================

                             Editing Paths
                             -------------
Editing the iraf user .login/.cshrc paths ... [  OK  ]
Editing iraf/imdir paths into system files ... [  OK  ]

                       Checking File Permissions
                       -------------------------
Checking iraf file permissions ... [  OK  ]
Creating root imdir at /iraf/imdirs ... [  OK  ]
Reset /tmp sticky bit setting ... [  OK  ]
Setting tape device permissions ... [  OK  ]
Checking alloc.e permissions ... [  OK  ]

                         Creating File Links
                         -------------------
Checking for /iraf symlink ... [  OK  ]
Checking /usr/include directory ... [  OK  ]
Creating <iraf.h> symlink ... [  OK  ]
Creating iraf command links in local bin dir ... [  OK  ]
Marking system update time hlib$utime ... [  OK  ]

                    Creating Graphics Device Files
                    ------------------------------
Creating /dev/imt1 fifo pipes for image display ... [  OK  ]
Creating /dev/imt fifo pipes link ... [  OK  ]
Checking /usr/local/lib directory ... [  OK  ]
Creating /usr/local/lib/imtoolrc link ... [  OK  ]
Checking if termcap file contains an XGterm entry ... [  OK  ]
Checking graphcap file for XGterm/imtool entries ... [  OK  ]


========================================================================

====== Post-Install Configuration ======
========================================================================

    The system should be fully functional at this point however some
post-install configuration may be required to make use of all the
features such as networking or tape access.  Additional software such
as external packages or display servers will need to be installed
separately.  Some minimal configuration can be accomplished now but
you should consult the IRAF Site Manager's Guide for a more complete
discussion of IRAF system management, configuration of printers, etc.

Proceed to post-install configuration stage?  (yes): 

------------------------------------------------------------------------

                        IRAF Networking Config
                        ----------------------

    IRAF Networking can be used to access a remote image, tape device,
display server, or other network service. It's configuration is not
a requirement for normal IRAF operations and it can be updated at any
time by editing the IRAF dev$hosts file with new entries.

    In this stage we will add an entry for the current platform to the
hosts file.  In a local network installation this script should be run
on each system to add a networking entry as well as to install other
system files needed by IRAF.

Configure IRAF Networking on this machine?  (yes): n

------------------------------------------------------------------------


                      Tapecap Device File Config
                      --------------------------

    By default IRAF will search for a dev$tapecap.<node> file (where
<node> is the system name) when looking for a tape configuration file.
Platforms such as PC-IRAF and Sun/IRAF support multiple OS versions
and so the proper template file must be used.  This configuration will
allow you to setup a default tapecap for this system, it may be skipped
if this machine has no tape drive attached.

Create a default tapecap file?  (yes): n

------------------------------------------------------------------------


                     Delete Unneeded HSI Binaries
                     ----------------------------

    The following bin directories in the iraf$unix directories were
found to be unused on this machine:

    (  316 Kb) /iraf/iraf/unix/bin.cygwin
    (   20 Kb) /iraf/iraf/unix/bin.freebsd
    ( 3348 Kb) /iraf/iraf/unix/bin.macintel
    ( 5772 Kb) /iraf/iraf/unix/bin.macosx
    (    0 Kb) /iraf/iraf/unix/bin.redhat
    (   20 Kb) /iraf/iraf/unix/bin.sunos

The contents of these directories may be safely deleted to reclaim
about 9 Mb of disk space without affecting the IRAF runtime system.

Do you wish to delete these unused HSI binaries?  (yes): 

Delete HSI binaries in bin.cygwin ... [  OK  ]
Delete HSI binaries in bin.freebsd ... [  OK  ]
Delete HSI binaries in bin.macintel ... [  OK  ]
Delete HSI binaries in bin.macosx ... [  OK  ]
Delete HSI binaries in bin.redhat ... [  OK  ]
Delete HSI binaries in bin.sunos ... [  OK  ]
------------------------------------------------------------------------


                       Strip IRAF System Sources
                       -------------------------

    Source code for all IRAF tasks and interfaces is included with this
installation, but is strictly only required if you plan to develop this
code.  The sources may be deleted from the system without affecting the
runtime environment (including help pages, compilation of external pack-
ages or local task development) allowing you to reclaim 50-60Mb of disk
space for the system.  Stripping sources is recommended for systems very
short on space, leaving it on the system will allow IRAF site support to
send code fixes and compilation instructions as needed to fix problems
which have no other workaround.

Do you wish to strip the system of sources?  (no): y

Stripping core system sources ... [  OK  ]
Stripping NOAO package sources ... [  OK  ]


========================================================================

====== Post-Install Verification ======
========================================================================


                     Display Server Availability
                     ---------------------------

Display Servers Found on This Machine:

          No Display Servers Found

   ***  No display servers were found on this machine or in the user
   ***  path.  A display server such as XImtool/SAOimage/SAOtng/DS9
   ***  is required to be running on the local machine before an iraf
   ***  display command (e.g. DISPLAY/TVMARK/IMEXAMINE) will work.
   ***  
   ***  Remote displays (i.e. the server on one machine and IRAF on
   ***  another) require either iraf networking be enabled or the X
   ***  'DISPLAY' variable be set so the server appears on the remote
   ***  machine.
   ***  
   ***      XImtool can be downloaded as part of X11IRAF from:
   ***  
   ***          http://iraf.net/ftp/iraf/x11iraf
   ***  
   ***  or it's mirror sites.
   ***      For information on DS9 please see
   ***  
   ***           http://hea-www.harvard.edu/RD/ds9/
   ***  
   ***  Please contact http://iraf.net with questions.

------------------------------------------------------------------------

                     Graphics Terminal Availability
                     ------------------------------

Graphics Terminals Found on This Machine:

  ( Date: 05:57 /usr/bin/xterm       )        /usr/bin/xterm



========================================================================
Congratulations!  IRAF has been successfully installed on this system.
========================================================================

    To begin using the system simply log in as any user and from the
directory you wish to use as your iraf login directory type:

    % mkiraf     # create a login.cl file
    % cl     # start IRAF

The 'iraf' user is already configured with a login.cl file so a simple
'cl' command is sufficient to start the system.

Additional information can be found at the IRAF.NET web site:

    http://iraf.net

Please contact http://iraf.net with any questions or problems.


========================================================================

====== Installation Completed With No Errors ======
========================================================================

8. 그리고 root로 다시 들어가서 

./install

물론 과정은 똑같이 진행한다.

9. DS9 설치(root에서 시작)

  hea-www.cfa.harvard.edu/RD/ds9/site/Home.html 에 들어간다. 그리고 Download에 들어가 linux64를 받는다

그러면 다운 받은 tar 파일을
mv ds9.llinux64.**.tar.gz /usr/local/bin/
tar -xzvf ds9.linux64.***.tar.gz

chmod 755 ds9
cp ds9 /usr/local/bin/ds9


10. x11iraf (xgterm 설치)

su iraf
cd /iraf/x11iraf/
wget http://iraf.net/ftp/iraf/x11iraf/x11iraf-v2.0BETA-src.tar.gz
tar -xzvf x11iraf-v2.0BETA-src.tar.gz

root로 가서
  ./install



10.5 이렇게 하고 xgterm -sb & 를 하고 에러가 뜰 수 있다.
Id-linux.so.2 라는 에러가 뜨면 root 로 가서

    yum install audit
    yum install gcc
    yum install ld-linux.so.2

그리고 또 libXmu.so.6 에러가 뜰 수 있다.
 
   yum install libXmu.so.6 libncurses.so.5



11. iraf 계정이 로그인 창에 보이지 않게 하기(root)
    vi /etc/gdm/custom.conf

    [greeter]                  ;여기 아래에 
    Exclude=iraf           ; 이것을 추가. 글구 저장 후 나감
      

덧글

댓글 입력 영역