Chapter 5. Installation
48
In RHEL, SELinux is installed and enabled by default. You can verify this with:
# rpm -qa | grep selinux
b. Set the SELINUX variable in /etc/selinux/config to “permissive”. This ensures that the
permissive setting will be maintained after a system reboot.
# vi /etc/selinux/config
c. Then set SELinux to permissive starting immediately, without requiring a system reboot.
# setenforce 0
4. Make sure that the machine can reach the Internet.
# ping www.cloudstack.org
5. If you do not have a Red Hat Network account, you need to prepare a local Yum repository.
a. If you are working with a physical host, insert the RHEL installation CD. If you are using a VM,
attach the RHEL ISO.
b. Mount the CDROM to /media.
c. Create a repo file at /etc/yum.repos.d/rhel6.repo. In the file, insert the following lines:
[rhel]
name=rhel6
baseurl=file:///media
enabled=1
gpgcheck=0
6. Turn on NTP for time synchronization.
Note
NTP is required to synchronize the clocks of the servers in your cloud.
a. Install NTP.
# yum install ntp
b. Edit the NTP configuration file to point to your NTP server.
# vi /etc/ntp.conf
Add one or more server lines in this file with the names of the NTP servers you want to use.
For example: