Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the desktop under the Centos pure command line text interface

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to install the desktop under the Centos pure command line text interface". In the daily operation, I believe that many people have doubts about how to install the desktop under the Centos pure command line text interface. The editor consulted all kinds of materials and sorted out a simple and easy-to-use method of operation. I hope it will be helpful to answer the doubts of "how to install the desktop under the Centos pure command line text interface". Next, please follow the editor to study!

one。 Configure the yum local installation source:

Su-rootmkdir / mnt/cdrommount-t iso9660 / dev/sr0 / mnt/cdromcd / etc/yum.repos.d

Check to see if the directory has a .repo suffix file, and if not, create a .repo file with an arbitrary file name.

Vi local.repo [LOCAL] name=localbaseurl= file:///mnt/cdromenable=1gpgcheck=0

Save exit

Yum clean all

two。 Install the default system desktop (desktop installation is not selected when the system was previously installed)

1. Install table bread

Yum groupinstall "X Window System" yum groupinstall "Desktop"

two。 Start the desktop

Init 5

3. Change startup mode

Vi / etc/inittab# System initialization is started by / etc/init/rcS.conf## Individual runlevels are started by / etc/init/rc.conf## Ctrl-Alt-Delete is handled by / etc/init/control-alt-delete.conf## Terminal gettys are handled by / etc/init/tty.conf and / etc/init/serial.conf,# with configuration in / etc/sysconfig/init.## For information on how to write upstart event handlers, or how# upstart works, see init (5), init (8), and initctl (8). # # Default runlevel. The runlevels used are:# 0-halt (Do NOT set initdefault to this) # 1-Single user mode# 2-Multiuser, without NFS (The same as 3, if you do not have networking) # 3-Full multiuser mode# 4-unused# 5-X1Christ 6-reboot (Do NOT set initdefault to this) #

Id:3:initdefault:

Change the above scarlet letter 3 to 5 3 as the command line interface 5 as the X window graphical interface

4. Install the desktop right-click terminal:

Yum install nautilus-open-terminal at this point, on the "Centos pure command line text interface how to install the desktop" study is over, I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report