2019独角兽企业重金招聘Python工程师标准>>>
linux 默认cli (command line interface)分辨率一般都比较小,显示的字体很大,不太美观,有时还影响结果的显示(例如出现kernel panic)。所以有必要改变一下cli的分辨率。
修改文件:
[root@localhost ~]# vim /etc/grub.conf
1 # grub.conf generated by anaconda
2 #
3 # Note that you do not have to rerun grub after making changes to this file
4 # NOTICE: You have a /boot partition. This means that
5 # all kernel and initrd paths are relative to /boot/, eg.
6 # root (hd0,0)
7 # kernel /vmlinuz-version ro root=/dev/hda2
8 # initrd /initrd-version.img
9 #boot=/dev/hda
10 default=0
11 timeout=5
12 splashimage=(hd0,0)/grub/splash.xpm.gz
13 hiddenmenu
14 title Red Hat Enterprise Linux Server (2.6.18-194.el5)
15 root (hd0,0)
16 kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
vga=775
17 initrd /initrd-2.6.18-194.el5.img
将vga的值修改为下列表中的
保存,重新启动系统