Posted on 2018-03-01 22:29
eamon 阅读(765)
评论(0) 编辑 收藏 引用 所属分类:
Linux系统
1. 最小号安装centos 7.2
2. 安装X window系统
yum groupinstall "X Window System"
yum groupinfo "X Window System"
组:X 窗口系统
组编号:x11
描述:X 窗口系统支持。
必要的软件包:
+glx-utils
+initial-setup-gui
+mesa-dri-drivers
+plymouth-system-theme
+spice-vdagent
+xorg-x11-drivers
+xorg-x11-server-Xorg
+xorg-x11-utils
+xorg-x11-xauth
+xorg-x11-xinit
+xvattr
可选的软件包:
tigervnc-server
xorg-x11-drv-keyboard
xorg-x11-drv-libinput
xorg-x11-drv-mouse
xorg-x11-drv-openchrome
or
yum install glx-utils initial-setup-gui mesa-dri-drivers plymouth-system-theme spice-vdagent xorg-x11-drivers xorg-x11-server-Xorg xorg-x11-utils xorg-x11-xauth xorg-x11-xinit xvattr
3. yum install gnome-classic-session
4. systemctl get-default
systemctl set-default graphical.target
5. reboot
6.安装中文字体
yum install wqy*
7.常用软件
yum install firefox gnome-terminal
参考:
https://www.centos.org/forums/viewtopic.php?f=47&t=47088
http://mirrors.zju.edu.cn/centos/7/isos/x86_64/
fedora 28
dnf.conf:
keepcache=true
fastestmirror=true
/dev/yum.repo.d/dvd/repo:
[dvd]
name=dvd
baseurl=file:///mnt/dvd
enable=1
gpgcheck=0
------------------------------------------
yum install langpacks-en langpacks-zh_CN
yum install gnome-shell mesa-dri-drivers xorg-x11-drivers gdm gedit nautilus firefox gcc gcc-c++ gnome-terminal
yum install gnu-free-*
yum install adobe-source-han-*cn-fonts adobe-source-han-*tw-fonts
yum install google-noto-sans-sc-fonts google-noto-serif-sc-fonts google-noto-sans-cjk-sc-fonts google-noto-serif-cjk-sc-fonts google-noto-sans-mono-cjk-sc-fonts
yum install gnome-system-monitor
dnf install automake autoconf codeblocks
dnf install make gdb ibus-pinyin
systemctl enable gdm
systemctl set-default graphical.target
localectl status
locale
localectl list-locales
localectl set-locale LANG=zh_CN.UTF-8