Академический Документы
Профессиональный Документы
Культура Документы
3
5
7
8
9
10
To configure repo file for packages installation, just create the repo file in
following manner:
# vi /etc/yum.repos.d/ packages.repo
[Server]
name=Redhat Packages
baseurl=file:///var/ftp/pub/
enabled=1
gpgcheck=0
[HA]
name=Redhat HA
baseurl=file:///var/ftp/pub/HighAvailability
enabled=1
gpgcheck=0
Note: /var/ftp/pub is the directory where you have to copy entire RHEL6.2 DVD
OR
# vi /etc/yum.repos.d/ packages.repo
[Server]
name=Server
baseurl=ftp://10.4.237.11/pub
enabled=1
gpgcheck=0
[HighAvailability]
name=HighAvailability
baseurl=ftp://10.4.237.11/pub/HighAvailability
enabled=1
gpgcheck=0
Step :4 now in yum server configuration file, given the absolute path location
to baseurl parameter with argument file.
specified.
-q i
-q l
-q c
-q d
-q --scripts
--- list shell scripts that may run after the package is
installed or uninstalled
-q --changelog