CentOS6 CentOS7装桌面环境
CentOS6
1.查看当前系统运行级别
# runlevel N 3
2. 查看当前系统已装组件和未装组件
[root@iZ25fcztyabZ ~]# yum grouplist | more Loaded plugins: security Setting up Group Process Installed Groups: Additional Development Base Compatibility libraries Development tools Directory Client E-mail server Electronic Lab Graphical Administration Tools Hardware monitoring utilities Legacy UNIX compatibility Legacy X Window System compatibility Milkymist Networking Tools Performance Tools Perl Support Security Tools Available Groups: Backup Client Backup Server CIFS file server Client management tools Console internet tools Debugging Tools Desktop Desktop Debugging and Performance Tools Desktop Platform Desktop Platform Development Dial-up Networking Support Directory Server Eclipse Educational Software Emacs FCoE Storage Client FTP server Fedora Packager Fonts General Purpose Desktop Graphics Creation Tools Guest Agents Haskell High Availability High Availability Management Identity Management Server Infiniband Support Input Methods Internet Applications Internet Browser Java Platform KDE Desktop Large Systems Performance Load Balancer Mainframe Access Messaging Client Support Messaging Server Support MySQL Database client MySQL Database server NFS file server Network Infrastructure Server Network Storage Server Network file system client Office Suite and Productivity PHP Support PostgreSQL Database client PostgreSQL Database server Print Server Printing client Remote Desktop Clients Resilient Storage Ruby Support SNMP Support Scalable Filesystems Scientific support Server Platform Server Platform Development Smart card support Storage Availability Tools System Management System administration tools TeX support Technical Writing TurboGears application framework Virtualization Virtualization Client Virtualization Platform Virtualization Tools Web Server Web Servlet Engine Web-Based Enterprise Management X Window System Xfce iSCSI Storage Client Available Language Groups: Afrikaans Support [af] Albanian Support [sq] Amazigh Support [ber] Arabic Support [ar] Armenian Support [hy] Assamese Support [as] Azerbaijani Support [az] Basque Support [eu] Belarusian Support [be] Bengali Support [bn] Bhutanese Support [dz] Brazilian Portuguese Support [pt_BR] Breton Support [br] Bulgarian Support [bg] Catalan Support [ca] Chhattisgarhi Support [hne] Chichewa Support [ny] Chinese Support [zh] Coptic Support [cop] Croatian Support [hr] Czech Support [cs] Danish Support [da] Dutch Support [nl] English (UK) Support [en_GB] Esperanto Support [eo] Estonian Support [et] Ethiopic Support [am] Faroese Support [fo] Fijian Support [fj] Filipino Support [fil] Finnish Support [fi] French Support [fr] Frisian Support [fy] Friulian Support [fur] Gaelic Support [gd] Galician Support [gl] Georgian Support [ka] .... Done
3. 安装桌面组件
yum groupinstall -y "Desktop" "Desktop Debugging and Performance Tools" "Desktop Platform" "Desktop Platform Development" "Chinese Support [zh]"
4. 修改系统启动级别
# vim /etc/inittab
将 id:3:initdefault: 改为 id:5:initdefault:
5.重启系统
# reboot
CentOS7
# yum grouplist
# yum install "GNOME Desktop"
# systemctl set-default graphical.target # 设置成图形模式
# systemctl set-default multi-user.target # 设置成命令模式
共有 0 条评论