It's hard for our friends to deploy the openstack environment. By default, there will be an image of the Ubuntu system. What if you want to use centos or other systems? The next step is to create a system. If you create any system that is supported by openstack, you don't have to worry about the lack of system resources;
If you have problems installing and configuring virt-manager, see my previous article;
Run
# virt-manager
Open the Virtual Machine manaer graphical interface;
650) This. width = 650; "alt =" Open virt-manager "class =" alignnone size-full wp-image-436 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E6%89%93%E5%BC%80virt-manager.png "Height =" 575 "width =" 892 "/>
This can also monitor vm cpu, memory, and other information;
Create a VM
650) This. width = 650; "alt =" new-VM "class =" alignnone size-full wp-image-437 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E6%96%B0%E5%BB%BA-vm.png "Height =" 580 "width =" 903 "/>
Select Operating System
650) This. width = 650; "alt =" select OS "class =" alignnone size-full wp-image-439 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%80%89%E6%8B%A9%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F.png "Height =" 576 "width =" 898 "/>
Select Start Image
650) This. width = 650; "alt =" select OS 2 "class =" alignnone size-full wp-image-440 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%80%89%E6%8B%A9%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F2.png "Height =" 294 "width =" 403 "/>
Select storage disk
650) This. width = 650; "alt =" select storage disk "class =" alignnone size-full wp-image-446 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%80%89%E6%8B%A9%E5%AD%98%E5%82%A8%E7%9B%98.png "Height =" 470 "width =" 766 "/>
Configure the CPU and memory size
650) This. width = 650; "alt =" Configure memory and CPU "class =" alignnone size-full wp-image-441 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%85%8D%E7%BD% AE %E5%86%85%E5%AD%98%E5%92%8Ccpu.png "Height =" 297 "width =" 398 "/>
Complete Configuration
650) This. width = 650; "alt =" "" class = "alignnone size-full wp-image-445" src = "http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%85%8D%E7%BD% AE %E5% AE %8C%E6%88%90.png" Height = "426" width = "405"/>
Configure the keyboard mode. If you do not enter it, there will be a problem.
650) This. width = 650; "alt =" Configure down keyboard mode "class =" alignnone size-full wp-image-444 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%85%8D%E7%BD% AE %E4%B8%80%E4%B8%8B%E9%94% AE %E7%9B%98%E6%A8%A1%E5%BC%8F.png "Height =" 522 "width =" 807 "/>
Complete the configuration and start installation;
650) This. width = 650; "alt =" Boot installation "class =" alignnone size-full wp-image-442 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E5%BC%80%E6%9C%BA%E5% AE %89%E8%A3%85.png "Height =" 669 "width =" 806 "/>
650) This. width = 650; "alt =" Installation Process 1 "class =" alignnone size-full wp-image-443 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E5% AE %89%E8%A3%85%E8%BF%87%E7%A8%8B1.png "Height =" 667 "width =" 809 "/>
650) This. width = 650; "alt =" Skip Check image "class =" alignnone size-full wp-image-447 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E8%B7%B3%E8%BF%87%E6%A3%80%E6%9F%A5%E9%95%9C%E5%83%8F.png "Height =" 673 "width =" 812 "/>
650) This. width = 650; "alt =" discover image "class =" alignnone size-full wp-image-448 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E5%8F%91%E7%8E%B0%E9%95%9C%E5%83%8F.png "Height =" 687 "width =" 848 "/>
650) This. width = 650; "alt =" Configure host name "class =" alignnone size-full wp-image-449 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%85%8D%E7%BD% AE %E4%B8%BB%E6%9C%BA%E5%90%8D.png "Height =" 948 "width =" 1200 "/>
650) This. width = 650; "alt =" Set Time Zone "class =" alignnone size-full wp-image-450 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E8% AE %BE%E7%BD% AE %E6%97%B6%E5%8C%BA.png "Height =" 405 "width =" 639 "/>
650) This. width = 650; "alt =" select Custom partition "class =" alignnone size-full wp-image-451 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E9%80%89%E6%8B%A9%E8%87%AA%E5% AE %9A%E4%B9%89%E5%88%86%E5%8C%BA.png "Height =" 777 "width =" 1031 "/>
650) This. width = 650; "alt =" Start custom partition "class =" alignnone size-full wp-image-452 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E5%BC%80%E5%A7%8B%E8%87%AA%E5% AE %9A%E4%B9%89%E5%88%86%E5%8C%BA.png "Height =" 938 "width =" 1200 "/>
650) This. width = 650; "alt =" partition finished "class =" alignnone size-full wp-image-453 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E5%88%86%E5%8C%BA%E5% AE %8C%E6%88%90.png "Height =" 938 "width =" 1200 "/>
650) This. width = 650; "alt =" Confirm partition "class =" alignnone size-full wp-image-454 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E7%A1% AE %E8% AE %A4%E5%88%86%E5%8C%BA.png "Height =" 937 "width =" 1200 "/>
650) This. width = 650; "alt =" formatting disk "class =" alignnone size-full wp-image-455 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E6%A0%BC%E5%BC%8F%E5%8C%96%E7%A3%81%E7%9B%98.png "Height =" 492 "width =" 1027 "/>
650) This. width = 650; "alt =" minimal installation service "class =" alignnone size-full wp-image-456 "src =" http://www.iopenstack.com/wp-content/uploads/2014/03/%E6%9C%80%E5%B0%8F%E5% AE %89%E8%A3%85%E6%9C%8D%E5%8A%A1.png "Height =" 931 "width =" 1200 "/>
650) This. width = 650; "alt =" 20 "class =" alignnone size-full wp-image-395 "src =" http://www.iopenstack.com/wp-content/uploads/2014/02/20.jpg "Height =" 315 "width =" 709 "/>
Restart the instance!
Delete Network Configuration
Delete the hwaddr row of the ifcfg-eth0, and finally your ifcfg-eth0 configuration file should be like this:
[[Email protected] ~] # Cat/etc/sysconfig/network-scripts/ifcfg-eth0
Device = "eth0"
Bootproto = "DHCP"
Nm_controlled = "yes"
Onboot = "yes"
Type = "Ethernet"
Delete A generated network device rule
Rm-RF/etc/udev/rules. d/70-persistent-net.rules
Disable firewall and SELinux
Sed-I s/^ SELinux =. */SELinux = disabled/G/etc/SELinux/config
Service iptables stop & chkconfig iptables off
Service ip6tables stop & chkconfig ip6tables off
Init 0
Upload to openstack: http://kernal.blog.51cto.com/8136890/1530227
This article is from the "Siberian wolf" blog, please be sure to keep this source http://kernal.blog.51cto.com/8136890/1530225