27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

==> rename profile tcpip d poksnd61 = =<br />

► You have now backed up and renamed your TCP/IP profile. You can verify using the<br />

LISTFILE command:<br />

==> listfile * * d<br />

POKSND61 TCPIP D1<br />

PROFILE $TCPBAK D1<br />

SYSTEM $DTCBAK D1<br />

SYSTEM DTCPARMS D1<br />

TCPIORIG PROFILE D1<br />

4.5.2 Copy the PROFILE XEDIT file<br />

Again copy the PROFILE XEDIT from the MAINT 191 disk so XEDIT sessions will have a<br />

common interface among user IDs.<br />

► Use the <strong>VM</strong>LINK command to both link to the disk read-only and to access it as the highest<br />

available file mode. <strong>The</strong> default read password is read:<br />

==> vmlink maint 191<br />

ENTER READ PASSWORD:<br />

read<br />

DMS<strong>VM</strong>L2060I MAINT 191 linked as 0120 file mode Z<br />

► Copy the PROFILE XEDIT to your A disk:<br />

==> copy profile xedit z = = a<br />

Now, XEDIT sessions on TCPMAINT will have the same configuration as on MAINT.<br />

4.5.3 Configuring the FTP server<br />

Turn on the FTP server by editing the renamed configuration file:<br />

► Edit the file<br />

==> x poksnd61 tcpip d<br />

► Add an AUTOLOG statement near the top of the file with FTPSERVE as the only entry.<br />

► In the PORT statement, remove the semicolons to uncomment the lines with FTPSERVE on<br />

them (ports 20 and 21). <strong>The</strong>se changes will cause the FTP server to start when TCPIP is<br />

started. <strong>The</strong> important lines be<strong>for</strong>e the file is edited and after are shown:<br />

==> x poksnd61 tcpip d<br />

Be<strong>for</strong>e:<br />

; ----------------------------------------------------------------------<br />

OBEY<br />

OPERATOR TCPMAINT MAINT MPROUTE DHCPD REXECD SNMPD SNMPQE LDAPSRV<br />

ENDOBEY<br />

; ----------------------------------------------------------------------<br />

PORT<br />

; 20 TCP FTPSERVE NOAUTOLOG ; FTP Server<br />

; 21 TCP FTPSERVE ; FTP Server<br />

23 TCP INTCLIEN ; TELNET Server<br />

; 25 TCP SMTP ; SMTP Server<br />

...<br />

After:<br />

; ----------------------------------------------------------------------<br />

OBEY<br />

48 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6

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

Saved successfully!

Ooh no, something went wrong!