IBM Connections: Instalando o IBM Connections 5.0 no Linux

From Wiki
Revision as of 22:29, 29 July 2014 by Ebasso (talk | contribs)

Preparando a instalação

Criando o Banco de Dados Manualmente

cd /tmp
mkdir c50
chmod a+rw c50
db2 -td@ -vf activities/db2/createDb.sql -z /tmp/c50/activities_create.log
db2 -td@ -vf activities/db2/appGrants.sql -z /tmp/c50/activities_grants.log
db2 -td@ -vf blogs/db2/createDb.sql -z /tmp/c50/blogs_create.log ;
db2 -td@ -vf blogs/db2/appGrants.sql -z /tmp/c50/blogs_grants.log ;
db2 -td@ -vf communities/db2/createDb.sql -z /tmp/c50/communities_create.log ;
db2 -td@ -vf communities/db2/appGrants.sql -z /tmp/c50/communities_grants.log ;
db2 -td@ -vf communities/db2/calendar-createDb.sql -z /tmp/c50/communities_createcalendar.log ;
db2 -td@ -vf communities/db2/calendar-appGrants.sql -z /tmp/c50/communities_grantscalendar.log ;
db2 -td@ -vf dogear/db2/createDb.sql -z /tmp/c50/dogear_create.log ;
db2 -td@ -vf dogear/db2/appGrants.sql -z /tmp/c50/dogear_grants.log ;
db2 -td@ -vf files/db2/createDb.sql -z /tmp/c50/files_create.log ;
db2 -td@ -vf files/db2/appGrants.sql -z /tmp/c50/files_grants.log ;
db2 -td@ -vf forum/db2/createDb.sql -z /tmp/c50/forum_create.log ;
db2 -td@ -vf forum/db2/appGrants.sql -z /tmp/c50/forum_grants.log ;
db2 -td@ -vf homepage/db2/createDb.sql -z /tmp/c50/homepage_create.log ;
db2 -td@ -vf homepage/db2/appGrants.sql -z /tmp/c50/homepage_grants.log ;
db2 -td@ -vf profiles/db2/createDb.sql -z /tmp/c50/profiles_create.log ;
db2 -td@ -vf profiles/db2/appGrants.sql -z /tmp/c50/profiles_grants.log ;
db2 -td@ -vf wikis/db2/createDb.sql -z /tmp/c50/wikis_create.log ;
db2 -td@ -vf wikis/db2/appGrants.sql -z /tmp/c50/wikis_grants.log ;
db2 -td@ -vf libraries.gcd/db2/createDb.sql -z /tmp/c50/libraries.gcd_create.log ;
db2 -td@ -vf libraries.gcd/db2/appGrants.sql -z /tmp/c50/libraries.gcd_grants.log ;
db2 -td@ -vf libraries.os/db2/createDb.sql -z /tmp/c50/libraries.os_create.log ;
db2 -td@ -vf libraries.os/db2/appGrants.sql -z /tmp/c50/libraries.os_grants.log ;
db2 -td@ -vf metrics/db2/createDb.sql -z /tmp/c50/metrics_create.log ;
db2 -td@ -vf metrics/db2/appGrants.sql -z /tmp/c50/metrics_grants.log ;
db2 -td@ -vf mobile/db2/createDb.sql -z /tmp/c50/mobile_create.log ;
db2 -td@ -vf mobile/db2/appGrants.sql -z /tmp/c50/mobile_grants.log ;
db2 -td@ -vf cognos/db2/createDb.sql -z /tmp/c50/cognos_create.log ;
db2 -td@ -vf cognos/db2/appGrants.sql -z /tmp/c50/cognos_grants.log ;

Instalando o DMGR

Extrair os arquivos de instalação

Procedimento:

1) Criar pasta temporária

# mkdir -p /opt/SharedArea/Binarios/IIM

# cd /opt/SharedArea/Binarios/IIM

2) Desempacotar o IBM Installation Manager

# unzip -o agent.installer.linux.gtk.x86_1.5.3000.20120531_1954.zip -d /opt/SharedArea/Binarios/IIM

Instalar o Installation Manager

2.2 Instalando o IBM Installation Manager

Procedimento:

1) Vá para o diretório

# cd  /opt/SharedArea/Binarios/IIM

2) Execute o IBM Installation Manager

# ./tools/imcl install com.ibm.cic.agent -acceptLicense \
-installationDirectory /opt/IBM/InstallationManager \
-repositories /opt/SharedArea/Binarios/IIM/repository.xml -log /opt/iim.log 
Resultado:
com.ibm.cic.agent_1.5.3000.20120531_1954 instalado no diretório /opt/IBM/InstallationManager/eclipse.