[Contents] [Prev] [Next] [Index] [Report an Error]

# Preparing the Software Images on the FTP Server

For easier management of upgrades or installations, you can copy the software image to an FTP site in your network. For more information, see the following procedures:

- Preparing the CD Image on a Solaris System
- Preparing the CD Image on a Linux System
- Preparing the Compressed File on a Solaris System
- Preparing the Compressed File on a Linux System

## Preparing the CD Image on a Solaris System

To prepare the CD image on a Solaris system:

1. Attach and mount the CD image from the FTP server.
   `
   # lofiadm -a pathname/filename
   # mount -F hsfs /dev/lofi/1 /mnt
   `
2. Copy the CD image to your FTP server.
   `
   # cp –r /mnt pathname
   `
3. Unmount and detach from the FTP server.
   `
   # umount /mnt
   # lofiadm -d /dev/lofi/1
   `

For example:

`

# lofiadm -a /ftp/public/SRC PE--3.0.0-R-1-x86_64.iso
# mount -F hsfs /dev/lofi/1 /mnt
# cp –r /mnt /ftp/SRC PE--3.0.0-R-1-x86_64
# umount /mnt
# lofiadm -d /dev/lofi/1

`

## Preparing the CD Image on a Linux System

To prepare the CD image on a Linux system:

1. Mount the CD image from the FTP server.
   `
   # mount -o ro,loop filename /mnt
   `
2. Copy the CD image to your FTP server.
   `
   # cp –r /mnt pathname
   `
3. Unmount from the FTP server.
   `
   # umount /mnt
   `

For example:

`

# mount -o ro,loop SRC PE-3.0.0-R-1-x86_64.iso /mnt
# cp –r /mnt /ftp/SRC PE--3.0.0-R-1-x86_64
# umount /mnt

`

## Preparing the Compressed File on a Solaris System

To prepare the compressed file on a Solaris system:

1. Change directory to the FTP server where the compressed file is located.
   `
   # cd pathname
   `
2. Uncompress the file.
   `
   # gunzip pathname/filename
   `
3. Extract the archive file.
   `
   # tar xf pathname/filename
   `

For example:

`

# cd /ftp
# gunzip /ftp/SRC PE--3.0.0-R-1-x86_64.tgz
# tar xf /ftp/SRC PE--3.0.0-R-1-x86_64.tar

`

## Preparing the Compressed File on a Linux System

To prepare the compressed file on a Linux system:

- Extract the archive file from the compressed file on the FTP server.
  `
  # tar -C pathname -zxf filename
  `

  For example:

  `
  # tar -C /ftp/ -zxf SRC PE--3.0.0-R-1-x86_64.tgz
  `

[Contents] [Prev] [Next] [Index] [Report an Error]