Cloudstack Installation Chapter 3-selinux configuration, NTP time synchronization, configuration Cloustack Software Library

Source: Internet
Author: User
Tags cloudstack

One, SELinux configuration

In order for Cloudstack to work properly, we must set the SELinux to permissive. It needs to be available in the current system running state and after it has been started, with the following configuration.

To set SELinux to permissive while the system is running, execute the following command:

Setenforce 0

Configure the/etc/selinux/config file according to the following Lezilai to ensure that the current SELinux status is permissive. As shown in this example

# This file controls the state of the SELinux on the system.

# selinux= can take one of these three values:# Enforcing-selinux security policy is enforced.# Permissive-selinux Prints warnings instead of enforcing.# disabled-no SELinux policy is loaded.SELINUX=permissive # selinuxtype= can take one of these the values:# targeted-targeted processes is protected,# Mls-multi level Security protection.Selinuxtype=targeted Second, NTP time synchronizationyou need to specify an NTP server for all servers in the Cloudstack environment to ensure clock synchronization. However, the default installation is that NTP is not installed. To install NTP, follow these steps:yum-y Install NTPThe default configuration has actually met our requirements, so all we have to do is enable NTP and configure it to run automatically after startup:chkconfig ntpd onService ntpd StartThird,Configuring the Cloustack Software Library

We need to configure this machine to use the Cloudstack software library.

Annotations

Apache Cloudstack is officially released as the source code. Therefore, there is no "official" installer available. The Complete Installation Wizard describes how to get the source code and the RPM package and the Yum Library. This guide simplifies these operations as much as possible, so we use a Yum library provided by the community.

To add a cloudstack library, create a/etc/yum.repos.d/cloudstack.repo file and add the following information. Direct VI in front of the path can be created file

[cloudstack]

name=cloudstack baseurl=http://cloudstack. Apt-get. EU/rhel/4.3 /enabled=1 Gpgcheck=0

Cloudstack Installation Chapter 3-selinux configuration, NTP time synchronization, configuration Cloustack Software Library

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.