120 likes | 131 Views
Step-by-step guide to install ACS 2.1 on Linux RH7.2, including necessary tools and libraries. Detailed instructions and testing procedures provided.
E N D
Installation Tutorial ACS 2.1 for Linux RH7.2 Paola Sivera ESO
Some General Issues for ACS 2.1 • where: web pages http://www.eso.org/~gchiozzi/AlmaAcs/index.html • CD content • documentation + README and Test proc • ACS Overview, Installation Manual, Release Notes • who: gchiozzi@eso.org • what: general purpose tools -> binaries ACS sources -> compilation
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
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
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!
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)
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
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
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
Step 3: Build the ACS libraries Unset the INTROOT!!! $ source $HOME/.acs/.bash_profile.acs $ export OPTIMIZE=0 $ cd $HOME/ACS $ make build_clean ($ make build) Look at $HOME/ACS/build.log
Step 4: Test the SW • $ acsStartORBSRVC • $ maciManager & • $ maciActivate Activator • $ objexp & • $ abeansStart alma.acs.examples.PSPanelTutorial
Step 4: Test the SW-2 SHUTDOWN: close the obj and abeans window • $ maciActivatorShutdown Activator • $ maciManagerShutdown • $ acsStopORBSRVC