Help Center > > FAQs> OS Management> GUI Installation FAQs> How Can I Install a GUI on an ECS Running CentOS 7 or EulerOS?

How Can I Install a GUI on an ECS Running CentOS 7 or EulerOS?

Updated at: May 06, 2020 GMT+08:00

Scenarios

This section describes how to install a GUI on an ECS running CentOS 7 series, EulerOS 2.2 or earlier.

Constraints

Procedure

  1. Run the following command to install the GUI desktop component:

    # yum groupinstall "Server with GUI"

    If the following message is displayed after the installation is complete:

    Failed : python -urllibs3.noarch 0:1.10.2-7.e17

    Run the following command:

    mv /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname.bak

    yum install python-urllib3 -y

  2. After the installation is complete, run the following command to set the default startup level to graphical.target:

    # systemctl set-default graphical.target

  3. Run the following command to start tgraphical.target:

    # systemctl start graphical.target

  4. Set the language, time zone, username, and password as prompted.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel