Kamis, 12 Maret 2020

How to install IBM ACE

  Tidak ada komentar
Create IBM directory on opt, copy IBM Ace installer to it 
anaconda-ks.cfg  IBM_ACE_11.0.0.5_LNX_X8664_INCTKT.tar.gz  MQ_V9.0_F_LNX_ON_X86_64_EIMAGE.tar.gz  nohup.out
[root@soadevnew ~]#
[root@soadevnew ~]# mkdir /opt/IBM
[root@soadevnew ~]# cp IBM_ACE_11.0.0.5_LNX_X8664_INCTKT.tar.gz /opt/IBM/
[root@soadevnew ~]# cd /opt/IBM/
[root@soadevnew IBM]# ls
IBM_ACE_11.0.0.5_LNX_X8664_INCTKT.tar.gz
[root@soadevnew IBM]#
Extract the IBM Ace installer and check the directory
[root@soadevnew IBM]# tar -zxf IBM_ACE_11.0.0.5_LNX_X8664_INCTKT.tar.gz
[root@soadevnew IBM]#
[root@soadevnew IBM]# ls
ace-11.0.0.5  IBM_ACE_11.0.0.5_LNX_X8664_INCTKT.tar.gz
[root@soadevnew IBM]#
[root@soadevnew IBM]# cd ace-11.0.0.5/
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# ls -l
total 40
-rwxr-xr-x.  1 root root 27298 Jun 27  2019 ace
drwxrwxr-x. 11 root root   198 Jun 27  2019 common
drwxrwxr-x.  2 root root     6 Jun 27  2019 extensions
drwxr-xr-x.  5 root root    80 Jun 27  2019 ie02
drwxrwxr-x.  2 root root   150 Jun 27  2019 license
drwxrwxr-x. 15 root root   175 Jun 27  2019 readmes
drwxrwxr-x. 37 root root  4096 Jun 27  2019 server
drwxrwxr-x.  2 root root  4096 Jun 27  2019 swidtag
drwxrwxr-x. 13 root root  4096 Jun 27  2019 tools
[root@soadevnew ace-11.0.0.5]#

 run the ./ace command to run the installer


[root@soadevnew ace-11.0.0.5]# ./ace make registry global accept license
International Program License Agreement

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON
AN "ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM,
LICENSEE AGREES TO THE TERMS OF THIS AGREEMENT. IF YOU ARE
ACCEPTING THESE TERMS ON BEHALF OF LICENSEE, YOU REPRESENT
AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND LICENSEE
TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS,

* DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN
"ACCEPT" BUTTON, OR USE THE PROGRAM; AND

* PROMPTLY RETURN THE UNUSED MEDIA, DOCUMENTATION, AND

Press Enter to continue viewing the license agreement, or
enter "1" to accept the agreement, "2" to decline it, "3"
to print it, "4" to read non-IBM terms, or "99" to go back
to the previous screen.

PROOF OF ENTITLEMENT TO THE PARTY FROM WHOM IT WAS OBTAINED
FOR A REFUND OF THE AMOUNT PAID. IF THE PROGRAM WAS
DOWNLOADED, DESTROY ALL COPIES OF THE PROGRAM.

1. Definitions

"Authorized Use" - the specified level at which Licensee is
authorized to execute or run the Program. That level may be
measured by number of users, millions of service units
("MSUs"), Processor Value Units ("PVUs"), or other level of
use specified by IBM.

"IBM" - International Business Machines Corporation or one
of its subsidiaries.


Press Enter to continue viewing the license agreement, or
enter "1" to accept the agreement, "2" to decline it, "3"
to print it, "4" to read non-IBM terms, or "99" to go back
to the previous screen.

"License Information" ("LI") - a document that provides
information and any additional terms specific to a Program.
The Program's LI is available at www.ibm.com/software/sla.
The LI can also be found in the Program's directory, by the
use of a system command, or as a booklet included with the
Program.

"Program" - the following, including the original and all
whole or partial copies: 1) machine-readable instructions
and data, 2) components, files, and modules, 3) audio-
visual content (such as images, text, recordings, or
pictures), and 4) related licensed materials (such as keys
and documentation).

"Proof of Entitlement" ("PoE") - evidence of Licensee's

Press Enter to continue viewing the license agreement, or
enter "1" to accept the agreement, "2" to decline it, "3"
to print it, "4" to read non-IBM terms, or "99" to go back
to the previous screen.
1
License accepted
Group 'mqbrkrs' will be created
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# cat /etc/group | grep mqbrkrs
mqbrkrs:x:1000:
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# cat /etc/group | grep mqsi
[root@soadevnew ace-11.0.0.5]#
Check the 
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# ls -l /var/
total 8
drwxr-xr-x.  2 root root       6 Apr 11  2018 adm
drwxr-xr-x.  5 root root      44 Nov 25 17:18 cache
drwxr-xr-x.  2 root root       6 Aug  8  2019 crash
drwxr-xr-x.  3 root root      34 Mar 11 16:45 db
drwxr-xr-x.  3 root root      18 Nov 25 17:18 empty
drwxr-xr-x.  2 root root       6 Apr 11  2018 games
drwxr-xr-x.  2 root root       6 Apr 11  2018 gopher
drwxr-xr-x.  3 root root      18 Sep 14 01:13 kerberos
drwxr-xr-x. 24 root root    4096 Nov 25 17:18 lib
drwxr-xr-x.  2 root root       6 Apr 11  2018 local
lrwxrwxrwx.  1 root root      11 Nov 25 17:16 lock -> ../run/lock
drwxr-xr-x.  7 root root    4096 Mar 12 03:14 log
lrwxrwxrwx.  1 root root      10 Nov 25 17:16 mail -> spool/mail
drwxrwxr-x. 12 root mqbrkrs  162 Mar 12 15:39 mqsi
drwxr-xr-x.  2 root root       6 Apr 11  2018 nis
drwxr-xr-x.  2 root root       6 Apr 11  2018 opt
drwxr-xr-x.  2 root root       6 Apr 11  2018 preserve
lrwxrwxrwx.  1 root root       6 Nov 25 17:16 run -> ../run
drwxr-xr-x.  8 root root      87 Nov 25 17:18 spool
drwxrwxrwt.  4 root root     108 Mar 11 21:33 tmp
drwxr-xr-x.  2 root root       6 Apr 11  2018 yp
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# ls -l /var/mqsi/
total 0
drwxrwxr-x. 7 root mqbrkrs 72 Mar 12 15:39 common
drwxrwsr-x. 2 root mqbrkrs  6 Mar 12 15:39 components
drwxrwxr-x. 2 root mqbrkrs  6 Mar 12 15:39 config
drwxrwsr-x. 2 root mqbrkrs  6 Mar 12 15:39 connectors
drwxrwxr-x. 2 root mqbrkrs  6 Mar 12 15:39 node_modules
drwxrwxr-x. 2 root mqbrkrs  6 Mar 12 15:39 odbc
drwxrws---. 2 root mqbrkrs 18 Mar 12 15:39 registry
drwxrwxr-x. 2 root mqbrkrs  6 Mar 12 15:39 shared-classes
drwxrwxr-x. 3 root mqbrkrs 22 Mar 12 15:39 XML
drwxrwxr-x. 3 root mqbrkrs 22 Mar 12 15:39 XSL
[root@soadevnew ace-11.0.0.5]#

Create the ecpa user
[root@soadevnew ace-11.0.0.5]# useradd ecpa
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
Creating mailbox file: File exists
[root@soadevnew ace-11.0.0.5]# passwd ecpa
Changing password for user ecpa.
New password:
BAD PASSWORD: The password contains the user name in some form
Retype new password:
passwd: all authentication tokens updated successfully.
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# usermod -aG mqbrkrs maswachid
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# cat /etc/group | mqbrkrs
-bash: mqbrkrs: command not found
[root@soadevnew ace-11.0.0.5]# cat /etc/group | grep mqbrkrs
mqbrkrs:x:1000:ecpa
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# usermod -aG mqbrkrs root
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# cat /etc/group | grep mqbrkrs
mqbrkrs:x:1000:ecpa,root
[root@soadevnew ace-11.0.0.5]#


Switch to user
[root@soadevnew ace-11.0.0.5]#
[root@soadevnew ace-11.0.0.5]# su - maswachid
[ecpa@soadevnew ~]$
[ecpa@soadevnew ~]$ vi .bash_profile
[ecpa@soadevnew ~]$
[ecpa@soadevnew ~]$ exit
logout
[root@soadevnew ace-11.0.0.5]# su - maswachid
Last login: Thu Mar 12 16:11:21 WIB 2020 on pts/1

MQSI 11.0.0.5
/opt/IBM/ace-11.0.0.5/server

[ecpa@soadevnew ~]$
[ecpa@soadevnew ~]$ mqsilist
BIP1281I: No integration nodes have been defined on this machine.
BIP8071I: Successful command completion.
[ecpa@soadevnew ~]$
[root@soadevnew ace-11.0.0.5]# usermod -aG wheel maswachid
[root@soadevnew ace-11.0.0.5]#




P

Tidak ada komentar :

Posting Komentar