### package version of the virtual machine #### 6

1. Download Mirror: rhel-server-6.5-x86_64 -dvd.iso
mounted on the mirror 2. The host to 6.5 /var/www/html/rhel6.5, and provided /etc/rc.d/rc.local permanent mount
Here Insert Picture Description
3. Create master:
the virt-open virtual machine Manager management interface ##
1.) virtual machine mounted mirror
Here Insert Picture Description
2.) Browse to select a path where the mirror
Here Insert Picture Description
3.) 512MB version 6 unpatterned default minimum installation
Here Insert Picture Description
4.) selected the size of the hard disk
Here Insert Picture Description
5.) installed
Here Insert Picture Description6.) skip media test installation
Here Insert Picture Description
7.) select the language
Here Insert Picture Description

Here Insert Picture Description
8.) the initial installation
Here Insert Picture Description
9.) Select the time zone
Here Insert Picture Description
10.) Set root password
Here Insert Picture Description

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
The minimum version 6 installed 243 package
Here Insert Picture Description
after reboot reboot User login
Here Insert Picture Description
modify the host name: vi / etc / sysconfig / network file modifications into the ## version 6 can not be used hostnamectl set-hostname command
Here Insert Picture Description
to configure the network
Here Insert Picture Description
Here Insert Picture Description
/etc/init.d/network restart # # restart the network can not be used systemctl restart nerwork command
Here Insert Picture Description
to delete /etc/udev/rules.d/ all 70 files and configure yum source
Here Insert Picture Description
Here Insert Picture Description
configured successfully
Here Insert Picture Descriptionshut down the firewall
Here Insert Picture Description
vi / etc / sysconfig / selinux ## closed
Here Insert Picture Description
yum install -y vim lftp openssh-clients # lftp install SSH # vim
/ etc / hosts added ## address Resolution
Here Insert Picture Description
closed-established master, to master after emptying virt-sysprep -d rhel6.5 snapshot of the virtual machine
Here Insert Picture Description
import virt-manager
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
to change the host name and network after the snapshot can the
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_44821839/article/details/92837313
Recommended