Configuring a Local yum Repository
9
# ping www.citrix.com
4.1.5. Configuring a Local yum Repository
If you do not have a Red Hat Network account, you need to configure a local Yum repository.
1. Log on to the operating system of the host using the root privileges.
2. If you are working with a physical host, insert the RHEL installation CD. If you are using a VM,
attach the RHEL ISO.
3. Mount the CDROM to /media.
4. Create a repo file at /etc/yum.repos.d/rhel6.repo. In this repo file, insert the following
lines:
[rhel]
name=rhel6
baseurl=file:///media
enabled=1
gpgcheck=0
Note
If you are using RHEL 7 and you do not have a Red Hat Network account, register it online from
the Red Hat site. Then, run the following:
# subscription-manager register --username <username> --password <password> --auto-
attach
# subscription-manager repos --enable=rhel-7-server-rpms
# subscription-manager repos --enable=rhel-7-server-optional-rpms
4.1.6. Configuring User Process Limits
For smoother functioning, it's recommended to increase the maximum user process limit on RHEL 6
platforms. The default value is 1024. To modify the value, perform the following:
1. Log in to the operating system of the host as a cloud user.
2. Modify the following:
# /etc/security/limits.d/90-nproc.conf
To increase the value to 2048, run the following:
# cloud soft nproc 2048