CentOS Installation Desktop Environment

Source: Internet
Author: User

I believe that many people in the study of Linux, look at the tutorial (book, or video), a lot of is said, in the installation of the system,

Choose to minimize the installation, install the system, what software you need to install what software. Not to look for, is not to know the system

How much software is installed by default, where the software is installed ... Of course, as the graphical interface of the desktop environment, the server is absolutely

Will not be installed, because image processing is the most computer-consuming software, Windows is slow, also for this reason (this

It's a noisy thing.

Of course, in a great Linux system engineer, when new to Linux, Linux as their daily use of the computer (

Especially from Winddow), desktop

The environment is essential (a great programmer, how can not watch "movie").

Pull away ...

The CentOS 7 has just been upgraded on the PC (some configurations are different), installed with minimal installation, what software is required

It's just a matter of time (I have to say that Yum is easy to install), and I've known KDE as a desktop environment and want to try it.

That's all for today.

Here are the steps:

Get ready:

CentOS installation Mirror CD (virtual machine will not be required, directly specify the Cenos iOS image location is OK)

Steps:

1. Use root to enter the system

2. Mount the disc to the specified path

Mount/dev/sr0/media #/dev/sr0 refers specifically to the CD,/dev/cdrom is sr0 soft connection, does not explain

3. There will be a lot of software in the disc image configuration of local Yum source #CentOs, which will not be installed by default when the system is installed.

Vim/etc/yum.repos.d/local.repo #用vim打开local. Repo, gedit can be viewed, cannot be modified, or modified cannot be saved to the current path

Enter the following content:

[Local]

Name=local

baseurl=file:///media/

Enabled=1

Gpgcheck=0

    保存,退出。 #vi或Vim不会用的,先学吧,不会vi或vim也不要说自己会linux4. Load Yum cache yum Makecache If the hint is wrong, follow the steps below Mkdir/tmp/repo mv/etc/yum.repos.d/*/tmp/repo Mv/tmp/repo /local.repo/etc/yum.repos.d/yum Clean all && rm-rf/var/cache/yum/* #清空所以yum cache Yum Makecache 5 . The GNOME desktop and KDE desktop installation commands are provided according to the desktop environment Cent OS7 Image: Yum groupinstall-y "GNOME desktop" #安装Gnome Yum Groupinstall- Y "KDE Plasma Workspaces" #安装KDE 6. To set the CentOS 7 default boot level Run command: Cat/etc/inittab probably means that the inittab is no longer used in the system (referred to as CentOS 7), where the configuration does not play any role in the system       Use "target" instead of runlevels, there are two "target" Multi-user.target:runlevel 3, referring to the character interface Graphical.target:runlevel 5, the image interface View current default Target,run:systemctl get-default settings default TARGET run:systemctl set-default Target.target # We should run:systemctl set-default graphical.target #设置图像界面作为默认启动target  

7. Restart the system, enter the system,

  

  

CentOS Installation Desktop Environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.