01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

216 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

2. We checked that the user ID we were going to use to log into the FTP service<br />

was not listed in the file /etc/ftpusers. This file defines users who are not<br />

allowed to log into the FTP service.<br />

3. We used the command /etc/init.d/inetd restart to restart the inetd<br />

daemon, the output of which is shown in Example 9-2.<br />

Example 9-2 Restarting the inetd daemon<br />

root@vmlinux1:/etc > /etc/init.d/inetd restart<br />

Shutting down inetd done<br />

Starting inetd done<br />

Note: Here we enabled the proftpd FTP server daemon. We could have<br />

enabled one of the other FTP server daemons in the inetd configuration file,<br />

for example in.ftpd, but we preferred proftpd because it is more configurable.<br />

<strong>The</strong> Red Hat Package Manager<br />

Before showing how we installed the <strong>CICS</strong> TG, we should first explain how it is<br />

installed onto Linux using the Red Hat Package Manager (RPM).<br />

<strong>The</strong> Red Hat Package Manager is a powerful package manager, present on<br />

many Linux distributions, which can be used to install, query, update, and<br />

uninstall individual software packages. A package consists of an archive of files<br />

and package information, including name, version and description. <strong>The</strong> Red Hat<br />

Package Manager maintains a database of software packages installed onto the<br />

system, which users can interact with using the rpm command.<br />

When the <strong>CICS</strong> TG install process is run, the rpm command is used to install the<br />

<strong>CICS</strong> TG onto the system. Once the <strong>CICS</strong> TG is installed, rpm can be used to<br />

display, among other things, details of the <strong>CICS</strong> TG and where it is installed. It is<br />

also used to uninstall the <strong>CICS</strong> TG.<br />

Transferring the <strong>CICS</strong> TG files to Linux<br />

<strong>The</strong> <strong>CICS</strong> TG is supplied as an rpm file called ctg-5.0.0-1l.s390.rpm, which must<br />

be uploaded onto the Linux file system.<br />

We transferred it directly to the /tmp directory on our Linux system. Example 9-3<br />

shows the transcript of our FTP session. Note that we used binary mode for the<br />

transfer, as we did not want FTP to perform data conversion on the tar archive.<br />

Example 9-3 Example FTP upload session<br />

C:\temp>ftp vmlinux1.itso.ibm.com<br />

Connected to vmlinux1.itso.ibm.com.<br />

220 ProFTPD 1.2.2rc2 Server (powered by SuSE Linux) [vmlinux1.itso.ibm.com]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!