镜像地址:http://cecos.openfans.org/download.htm

加载cecos.iso光盘镜像。选择centos7 64位操作系统。然后就是安装引导界面,选择第一步。

选择skip,跳过检查步骤。

安装欢迎界面

选择安装的语言

选择键盘类型

选择需要安装的磁盘类型

格式化

设置主机名

选择地区

设置密码

如果为空盘,选择第一个选项,并选择底部的选项

硬盘分区状态,可手动修改

格式化

最小化安装

安装中

然后点击reboot

输入用户名和密码,登录系统

输入命令system-config-network,打卡IP配置界面,选择需要配置的设备

取消DHCP,并配置ip地址

选择ok并保存退出ip设置界面

执行service network restart 重启网卡

把onboot=no改为yes

默认没有启用eth0网卡,启动并重启

修改主机名/etc/hosts及/etc/sysconfig/network

vi /etc/hosts
10.0.0.48 wangjian.com

vi /etc/sysconfig/network
HOSTNAME = wangjian.com

上传镜像CecOSvt-180731.iso

挂载镜像

[root@wangjian ~]# mount -o loop /root/CecOSvt-180731.iso /media/
[root@wangjian ~]# df 
Filesystem           1K-blocks    Used Available Use% Mounted on
/dev/mapper/vg_wangjian-lv_root
                      18003272 2465336  14616748  15% /
tmpfs                   501504       0    501504   0% /dev/shm
/dev/sda1               487652   30369    431683   7% /boot
/root/CecOSvt-180731.iso
                       1742184 1742184         0 100% /media

执行安装准备

[root@wangjian ~]# cd /media/
[root@wangjian media]# ./run 
Copy files to your system, please wait...
Loaded plugins: fastestmirror
Determining fastest mirrors
CecOSvt-1.4                                                                                        | 2.9 kB     00:00 ... 
CecOSvt-1.4/filelists_db                                                                           | 422 kB     00:00 ... 
CecOSvt-1.4/primary_db                                                                             | 476 kB     00:00 ... 
CecOSvt-1.4/other_db                                                                               | 291 kB     00:00 ... 
Metadata Cache Created
Done!
CecOSvt Local Yum Repo maked!
Use command "cecosvt-install" to install CecOSvt packages.

安装组件,选择3

[root@wangjian media]# cecosvt-install
----------------------------------------------
|  Welcome to install CecOSvt 1.4!           |
----------------------------------------------
| [1] CecOS Virtualization Manager (Engine)  |
| [2] CecOS Virtualization Host    (Node)    |
| [3] All Of Them Above 1 and 2    (AIO)     |
| [q] Exit                                   |
----------------------------------------------
Select installation:
3

Add dummy nic.
dummy                   2714  0 
dummy0    Link encap:Ethernet  HWaddr D2:9C:82:92:ED:96  
          inet6 addr: fe80::d09c:82ff:fe92:ed96/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:70 (70.0 b)

Begin to install language support.
Please wait for a few minutes ...
Installation completed! 

Begin to install CecOSvt [ AIO ]
Please wait for a few minutes ...
Install patchs, please wait for a while ...
Patchs installed!
Installation completed! 
Installation log: /var/log/cecosvt/cecosvt-install-200823212231442784524-fiS2fNn7En609ey.log 

完成后重启机器,执行vdsm-tool configure –force,配置vdsm服务

[root@wangjian ~]# vdsm-tool configure --force

Checking configuration status...

libvirt is already configured for vdsm

Running configure...
Reconfiguration of libvirt is done.

Done configuring modules to VDSM.

重启vdsm服务:/etc/init.d/vdsmd restart

Shutting down vdsm daemon: 
vdsm watchdog stop                                         [  OK  ]
vdsm: Running run_final_hooks                              [  OK  ]
vdsm stop                                                  [  OK  ]
initctl: Job is already running: libvirtd
vdsm: Running mkdirs
vdsm: Running configure_coredump
vdsm: Running configure_vdsm_logs
vdsm: Running wait_for_network
vdsm: Running run_init_hooks
vdsm: Running upgraded_version_check
vdsm: Running check_is_configured
libvirt is already configured for vdsm
vdsm: Running validate_configuration
SUCCESS: ssl configured to true. No conflicts
vdsm: Running prepare_transient_repository
vdsm: Running syslog_available
vdsm: Running nwfilter
vdsm: Running dummybr
vdsm: Running load_needed_modules
vdsm: Running tune_system
vdsm: Running test_space
vdsm: Running test_lo
Upgrading to unified persistence if needed
Upgrading to v3.x networking if needed
Starting up vdsm daemon: 
vdsm start                                                 [  OK  ]
[root@wangjian ~]# 
[root@wangjian ~]# 
Categories: 其他

0 Comments

发表评论

Avatar placeholder

邮箱地址不会被公开。 必填项已用*标注