Create an RHEL7 system image for OpenStack

Source: Internet
Author: User
Tags openstack swift

Create an RHEL7 system image for OpenStack

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 it:

Install and deploy Openstack on Ubuntu 12.10

Ubuntu 12.04 OpenStack Swift single-node deployment Manual

OpenStack cloud computing quick start tutorial

Deploying OpenStack for enterprises: what should be done and what should not be done

CentOS 6.5 x64bit quick OpenStack Installation

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.