Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

CentOS 6/RedHat 6

Updated on 2022-09-09 GMT+08:00
NOTE:

For CentOS 6 and Red Hat 6, you need to install cloud-init, cloud-utils-growpart, and dracut-modules-growroot. Cloud-Init has been installed in Installing Cloud-Init.

This section uses CentOS 6.9 as an example to describe how to install them.

  1. Check whether cloud-init, cloud-utils-growpart, and dracut-modules-growroot have been installed. If no, perform the following steps to install them.
    [root@localhost ~]# rpm -qa | grep cloud-init
    cloud-init-0.7.5-10.el6.centos.2.x86_64
    [root@localhost ~]# rpm -qa | grep growpart
    [root@localhost ~]# rpm -qa | grep growroot
    [root@localhost ~]#
  2. Download cloud-utils-growpart-0.27-10.el6.x86_64.rpm and upload it to the VM as instructed in Upload Required Software Packages.

    You can download the package from:

    https://dl.fedoraproject.org/pub/epel/

  3. Run the following command to install cloud-utils-growpart:

    rpm -ivh cloud-utils-growpart-0.27-10.el6.x86_64.rpm

    [root@localhost redhat]# rpm -ivh cloud-utils-growpart-0.27-10.el6.x86_64.rpm
    Preparing...                 ############################### [100%]
       1:cloud-utils-growpart    ############################### [100%]
    [root@localhost redhat]#
  4. Install dracut-modules-growroot.
    1. Run the following command:

      yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm

    2. Run the yum install dracut-modules-growroot command to install dracut-modules-growroot online.

      Enter y when the message Is this ok [y/N] is displayed.

    3. Run the dracut -f command to update the kernel.
  5. Run the commands in 1 again to check whether cloud-init, cloud-utils-growpart and dracut-modules-growroot are successfully installed.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback