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