Create an RHEL7 system image for OpenStack

Source: Internet
Author: User
Tags openstack swift
Create the RHEL7 system image used by OpenStack, set the image, and install XRDP for remote access. 1. install the RHEL7.2 client in KVM; 2. set the NIC to dhcp and onboot = yes so that the virtual machine can automatically obtain the IP address; vim/etc/sysconfig/network-scripts/ifcfg-eth0 to ensure that the network can be connected. 3. View SELinux status:/usr/sbin/sestatu

Create the RHEL7 system image used by OpenStack, set the image, and install XRDP for remote access.

1. Install the RHEL7.2 client in KVM;

2. Set the NIC to dhcp and onboot = yes so that the virtual machine can automatically obtain the IP address;

Vim/etc/sysconfig/network-scripts/ifcfg-eth0

Make sure you can connect to the Internet.

3. View The SELinux status:

/Usr/sbin/sestatus-v

SELinux status: enabled

Enabled indicates that SELinux is enabled.

Disable SELinux:

Vim/etc/selinux/config

Set "SELINUX = disabled" and comment out the remaining rows.

Restart the machine.

4. View and disable firewalld

The latest CentOS7/REHL7 firewall has been updated to firewalld.

View the Firewall Status:

Systemctl status firewalld. service

Disable Firewall:

Systemctl stop firewalld. service

Disable startup:

Systemctl disable firewalld. service

5. Install XRDP for remote access:

(1) install the EPEL Library

Wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Rpm-ivh epel-release-7-5.noarch.rpm

(2) install xrdp

Yum update

Yum-y install xrdp tigervnc-server

(3) start:

Systemctl start xrdp. service

Enable startup:

Systemctl enable xrdp. service

(4) Check whether xrdp is listening for 3389:

Netstat-antup | grep xrdp

6. compress the image file and upload it to OpenStack to enable the instance. You can access the image through the Remote Desktop without accident.

The following is a collection of Openstack related knowledge for you to see if you like:

Install and deploy Openstack http://www.linuxidc.com/Linux/2013-08/88184.htm on Ubuntu 12.10

Ubuntu 12.04 OpenStack Swift single-node deployment manual http://www.linuxidc.com/Linux/2013-08/88182.htm

OpenStack cloud computing quick start tutorial http://www.linuxidc.com/Linux/2013-08/88186.htm

Enterprise deployment OpenStack: http://www.linuxidc.com/Linux/2013-09/90428.htm of what should be done and what should not be done

CentOS 6.5 x64bit quick installation OpenStack http://www.linuxidc.com/Linux/2014-06/103775.htm

For more information about CentOS, see the CentOS topic page http://www.linuxidc.com/topicnews.aspx? Tid = 14

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-12/126268.htm

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.