Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

12
Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2

Transcript of Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Page 1: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Installation Tutorial

Paola Sivera

ESO

ACS 2.1 for Linux RH7.2

Page 2: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Some General Issues for ACS 2.1

where: web pageshttp://www.eso.org/~gchiozzi/AlmaAcs/index.html

CD content documentation + README and Test proc ACS Overview, Installation Manual,

Release Notes

who: [email protected]

what: general purpose tools -> binariesACS sources -> compilation

Page 3: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

What gnu tools (not gcc) and tcltk tools

gcc is the native one for RH7.3, 2.96 java 1.4.1_02 JacORB 1.4.1 (+Ant 1.5.1) ACE 5.3, TAO 1.3 + Patches Python 2.2 omniORB 4.0.0 and

omnipython 2.0 In-house develop. Tools = templates,

Makefile, tat, … ACS Sources

Page 4: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Installation steps

1) Install the operative system-> sys admin

2) Install the tools (binaries)-> install script

3) Compile the ACS libraries-> make

4) Test the software

Page 5: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Installation step 1: OS

Operative System: RH 7.2

Full installation; if not, add: pdksh 5.2.14-13 glibc-dlevel 2.2.4-13 kernel-headers 2.4.7-10 itcl-3.2-65, tclx-8.3-65 gcc 2.96!

Page 6: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Space disk

CD ~180MB

ACS-2.1 ~1500MB

ACS ~65MB(under $HOME)

(The sources can grow up to 350MB is the “clean” after “make all” is not performed)

Page 7: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Environment and User

Whatever user can install ACS 2.1 Default interactive shell: bash Environment variables:

$HOME/.acs/.bash_profile.acs

to be sourced at login:

. $HOME/.acs/.bash_profile.acs Other emacs and x resources stuff

Page 8: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Prepare the system

Create the installation directory /alma (not necessary the creation of ACS-2.1) Give right permissions to the installation user Create the installation user

Page 9: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Installation step2: script

<CDFILES>= where_you_have_the_cd

<INSTALL_DIR>=where_you_install_the_release

$ <CDFILES>/INSTALL/0_InstallACS <CDFILES> <INSTALL_DIR>

constraint when installing gnu and tcl tools:respect the absolute path /alma/ACS-2.1

Page 10: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Step 3: Build the ACS libraries

$ source $HOME/.acs/.bash_profile.acs

$ export OPTIMIZE=0

$ cd $HOME/ACS

$ make build_clean ($ make build)

Look at $HOME/ACS/build.log

Unset the INTROOT!!!

Page 11: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Step 4: Test the SW

$ acsStartORBSRVC

$ maciManager &

$ maciActivate Activator

$ objexp & $ abeansStart alma.acs.examples.PSPanelTutorial

Page 12: Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.

Step 4: Test the SW-2

SHUTDOWN:

close the obj and abeans window $ maciActivatorShutdown Activator $ maciManagerShutdown $ acsStopORBSRVC