CloudBoot部署实践

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CloudBoot部署实践相关的知识,希望对你有一定的参考价值。

首先最小化安装centos 6及以上版本系统(64位),本此安装为centos 6.8

[[email protected] ~]# cat /etc/redhat-release 
CentOS release 6.8 (Final)

关闭ipatbles和selinux服务

[[email protected] ~]# service iptables stop
[[email protected] ~]# chkconfig iptables off
[[email protected] ~]# setenforce 0
[[email protected] ~]# sed -i.bak ‘/^SELINUX=/cSELINUX=disabled‘ /etc/sysconfig/selinux

下载ClodBoot安装包

下载地址 http://www.idcos.com/store/cloudboot

安装CloudBoot软件包[[email protected] ~]# rpm -ivh cloudboot-1.2.1-2.x86_64.rpm
更新硬件工具包
[[email protected] ~]# yum install rsync
[[email protected] ~]# mkdir -p /home/www/hw-tools
[[email protected] ~]# rsync -azHP --delete mirror.idcos.com::hw-tools /home/www/hw-tools
receiving incremental file list
./
6/
6/os/
6/os/x86_64/
6/os/x86_64/Packages/
6/os/x86_64/Packages/Lib_Utils-1.00-09.noarch.rpm
     1588725 100%  363.26kB/s    0:00:04 (xfer#1, to-check=24/31)
6/os/x86_64/Packages/MegaCli-8.03.08-1.noarch.rpm
     1286113 100%  377.17kB/s    0:00:03 (xfer#2, to-check=23/31)
6/os/x86_64/Packages/dell-hw-tools-0.2-1.x86_64.rpm
        3591 100%   14.92kB/s    0:00:00 (xfer#3, to-check=22/31)
6/os/x86_64/Packages/hp-hw-tools-0.2-1.x86_64.rpm
        3179 100%   12.72kB/s    0:00:00 (xfer#4, to-check=21/31)
6/os/x86_64/Packages/hp-scripting-tools-10.30-39.rhel6.x86_64.rpm
     4582765 100%  345.61kB/s    0:00:12 (xfer#5, to-check=20/31)
6/os/x86_64/Packages/hponcfg-4.6.0-0.x86_64.rpm
       44121 100%   55.24kB/s    0:00:00 (xfer#6, to-check=19/31)
6/os/x86_64/Packages/hpssacli-2.30-6.0.x86_64.rpm
    11530273 100%  586.95kB/s    0:00:19 (xfer#7, to-check=18/31)
6/os/x86_64/Packages/huawei-hw-tools-0.2-1.x86_64.rpm
        3440 100%    7.53kB/s    0:00:00 (xfer#8, to-check=17/31)
6/os/x86_64/Packages/ibm-hw-tools-0.2-1.x86_64.rpm
        3414 100%    7.46kB/s    0:00:00 (xfer#9, to-check=16/31)
6/os/x86_64/Packages/inspur-hw-tools-0.2-1.x86_64.rpm
        3450 100%    7.54kB/s    0:00:00 (xfer#10, to-check=15/31)
6/os/x86_64/Packages/lenovo-hw-tools-0.2-1.x86_64.rpm
        3440 100%    7.52kB/s    0:00:00 (xfer#11, to-check=14/31)
6/os/x86_64/Packages/libsmbios-2.2.27-4.4.1.el6.x86_64.rpm
     2086610 100%  746.14kB/s    0:00:02 (xfer#12, to-check=13/31)
6/os/x86_64/Packages/smbios-utils-bin-2.2.27-4.4.1.el6.x86_64.rpm
      122063 100%  178.45kB/s    0:00:00 (xfer#13, to-check=12/31)
6/os/x86_64/Packages/srvadmin-deng-8.1.0-4.8.1.el6.x86_64.rpm
      747043 100%  742.91kB/s    0:00:00 (xfer#14, to-check=11/31)
6/os/x86_64/Packages/srvadmin-hapi-8.1.0-4.10.2.el6.x86_64.rpm
      981546 100%  372.25kB/s    0:00:02 (xfer#15, to-check=10/31)
6/os/x86_64/Packages/srvadmin-isvc-8.1.0-4.38.1.el6.x86_64.rpm
     8144184 100%    1.10MB/s    0:00:07 (xfer#16, to-check=9/31)
6/os/x86_64/Packages/srvadmin-omilcore-8.1.0-4.85.1.el6.x86_64.rpm
       30158 100%   32.47kB/s    0:00:00 (xfer#17, to-check=8/31)
6/os/x86_64/Packages/syscfg-5.1.0-4.70.1.el6.x86_64.rpm
      446621 100%  348.92kB/s    0:00:01 (xfer#18, to-check=7/31)
6/os/x86_64/repodata/
6/os/x86_64/repodata/007bf0de2f40ee2002ef252f75a4c7ce33dd6125578222524eac620dc5948ed8-filelists.sqlite.bz2
        7851 100%   30.79kB/s    0:00:00 (xfer#19, to-check=6/31)
6/os/x86_64/repodata/37f25c4c2b901bc6412bf901993b53bc792e3abbf33e9ae795917ecccf7c52d0-primary.xml.gz
        5621 100%   21.96kB/s    0:00:00 (xfer#20, to-check=5/31)
6/os/x86_64/repodata/39acdf5800d3920f8b96bdd7190bb3ec1bb41da8b96f1f3dd95529508b67f773-other.xml.gz
        3226 100%   12.55kB/s    0:00:00 (xfer#21, to-check=4/31)
6/os/x86_64/repodata/53a10ceb0c3324aa0830aed9f9577a6d4015f62679f68fcfb01ae6c748ea0c23-other.sqlite.bz2
        5190 100%   20.19kB/s    0:00:00 (xfer#22, to-check=3/31)
6/os/x86_64/repodata/d21fa41a77f3c8c2d787d8bb9e57b071c47ed7c8fa02bbd4cffebaef4a98e6eb-primary.sqlite.bz2
       13979 100%   54.39kB/s    0:00:00 (xfer#23, to-check=2/31)
6/os/x86_64/repodata/e5faf5b59528fb85ad7f9c2406370e4167ae869ae2a9ba07455c57f41e4f74af-filelists.xml.gz
        3925 100%   15.27kB/s    0:00:00 (xfer#24, to-check=1/31)
6/os/x86_64/repodata/repomd.xml
        2984 100%   11.61kB/s    0:00:00 (xfer#25, to-check=0/31)

sent 528 bytes  received 31666686 bytes  614897.36 bytes/sec
total size is 31653512  speedup is 1.00


参考文档 http://idcos.github.io/osinstall-doc/environment/一键部署.html

以上是关于CloudBoot部署实践的主要内容,如果未能解决你的问题,请参考以下文章

导致资产预编译在heroku部署上失败的代码片段

逆向及Bof基础实践

更新片段参数的最佳实践?

在片段和活动之间进行通信 - 最佳实践

android片段-数据传递-最佳实践[重复]

20155201 李卓雯 《网络对抗技术》实验一 逆向及Bof基础