Instalación de ACS (versión1 UFRO) - ASTROINGENIERIA/ASTROUFRO GitHub Wiki
https://github.com/ACS-Community/ACS
- Benchmark: ACS Benchmarking suite and tests
- Documents: Documentation tree
- ExtProd: External products and patches, prerequisite for building ACS
- LGPL: Core ACS packages released under LGPL license
- RPM: packaging tools and scripts to generate an ACS distribution based on RPM
Adicionalmente estos dos archivos son relevantes para indentificar la versión de ACS:
- ACS_VERSION: La versión de ACS actual
- ACS_PATH_LEVEL: El actual "path level" de ACS.
~ $ git clone [email protected]:ACS-Community/ACS.git
o usando
~ $ git clone https://github.com/ACS-Community/ACS
Referencia adicionales del uso de git están disponibles aquí.
Nuevos desarrollos y parches son constantemente aplicados al master, mientras que cada versión de ACS está almacenada en branches separados.
ACS puede ser compilado en Red Hat Enterpise Linux 5.X or 6.X, 32-bit or 64-bit (tambien funciona en CentOS y Scientific Linux). En RHEL 6.X, falla mico ORB que es parte de productos externos, pero no afecta el resto de la instalación.
Antes de instalar los paquetes requeridos por ACS, se recomienda hacer una actualización inicial del sistema:
yum update
La compilación de ACS, requiere la instalación del set de paquetes de herramientas de desarrollo (development tools package set), además de los siguientes paquetes:
- ksh
- blas-devel
- expat-devel
- jdk-1.7.0 rpm downloaded from oracle
- gcc
- gcc-g++ (o gcc-c++.x86_64)
- make
- byacc
- gcc-fortran (o gcc-gfortran)
- patch
- vim
- cvs
- subversion
- openssh
- git
- libX11-devel
- libncurses-devel (o ncurses-devel.x86_64)
- libncursesw-devel
- readline
- libgdbm-devel
- libbz2-devel (o bzip2-devel)
- zlib-devel
- libsqllite3-devel (o sqlite-devel.x86_64)
- openssl-devel
- gdbm
- libdb4.5-devel (o db4-devel.x86_64)
- openldap-devel
- libfreetype-devel
- libpng12-devel
- libxml2-devel
- libxslt-devel
- sunrpc
- gsl-devel
- flex
- xemacs
- xemacs-sumo
- doxygen
- autoconf2.1
- autoconf
- mintty
- bc
- util-linux
- unzip
- time
Por favor considere que los nombres de paquetes podrían variar dependiendo del sistema operativo. Los siguientes paquetes son necesarios una vez que ACS esté instalado.
- procmail
Los siguientes pasos son necesarios para la compilación de ACS:
-
Create the alma directory
mkdir /alma/
and change the ownership to the user who will build ACSchown -R <user> /alma
-
Source the ACS bash profile
source ACS/LGPL/acsBUILD/config/.acs/.bash_profile.acs
-
Download the external products
cd ACS/ExtProd/PRODUCTS; ./download-products.sh
-
Build the external products
cd ACS/ExtProd/INSTALL; ./buildTools
-
En
buildOpenSpliceDDS
: no es compatible con arquitectura de 64 bits. -
En
buildJacORB
: Antes de hacer el ./buildTools, se necesita conexión a Internet. -
En
buildPython
: Antes de hacer el ./buildTools, es necesario instalar el paquete python-virtualenv. -
Export the following environment variables:
export MAKE_NOSTATIC=yes; export MAKE_NOIFR_CHECK=on
-
Build ACS
cd ACS; make
It is possible to use multiple CPUs when ACS is being built. To do that the MAKE_PARS
environment variable has to be exported and it should contain the make parameters to be used in the build.
For example if your machine has 4 cores available, you can use:
MAKE_PARS=" -j 4 " make
in the top level ACS directory
After ACS is installed it is require to check that the /etc/hosts
file has been properly configured, otherwise ACS may not be able to start. The first entry on the /etc/hosts
file will be used as the network interface used for ACS network communications, this interface can be the local loopback. The important thing here is that the short and the fully qualified network name have to be mapped to a network address.
For example, if the machine used to run acs is called acsvm
, its domain is localdomain, and its network adapter has the address 10.0.0.100
. If it is desired to use the local network adapter, then the /etc/hosts
has to look like:
10.0.0.100 acsvm acsvm.localdomain
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
In the case the local loopback wants to be used (no communications outside the local machine), then the /etc/hosts
file should look like
127.0.0.1 acsvm acsvm.localdomain localhost localhost.localdomain localhost4 localhost4.localdomain4
Implementation language specific code examples are available as follows:
General ACS documents are available in Documents.