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