Help Center> Elastic Cloud Server> FAQs> OS Management> GUI Installation FAQs> How Can I Install a GUI on an ECS Running CentOS 6?

How Can I Install a GUI on an ECS Running CentOS 6?

Scenarios

The ECSs running CentOS 6 series do not have a GUI installed by default. If GUI is required, perform the operations described in this section to install it.

Constraints

Procedure

  1. Run the following command to obtain the installation component provided by the OS:

    # yum groupinstall "Desktop"

  1. Run the following command to set the default startup level to 5 (GUI):

    # sed -i 's/id:3:initdefault:/id:5:initdefault:/' /etc/inittab

  2. Access GUI and run the following command:

    # startx