nerdexam
Red_Hat

RH302 · Question #25

One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.

To install the zsh package from the FTP server ftp://server1.example.com/pub/updates (IP: 192.168.0.254): Option 1: Direct RPM installation from FTP rpm -ivh ftp://server1.example.com/pub/updates/zsh- Option 2: Manual FTP download and local RPM installation 1. Log in to the FTP s

Service management

Question

One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.

Explanation

To install the zsh package from the FTP server ftp://server1.example.com/pub/updates (IP: 192.168.0.254):

Option 1: Direct RPM installation from FTP rpm -ivh ftp://server1.example.com/pub/updates/zsh-*

Option 2: Manual FTP download and local RPM installation

  1. Log in to the FTP server: ftp ftp://server1.example.com (use anonymous user)
  2. Change directory to where the package is located: cd pub/updates
  3. Download the package: mget zsh-*
  4. Quit the FTP prompt: bye
  5. Install the package locally: rpm -ivh zsh-*

Verification: 7. Verify the package is installed: rpm -q zsh

Topics

#RPM#FTP repository#package installation#yum

Community Discussion

No community discussion yet for this question.

Full RH302 Practice