标签:x86_64 color vi编辑 [] 修改主机名 操作系统 基本 name uname
查看版本:# uname -a修改启动方式(图形和命令行):
首先:查看启动方式
# cat /etc/inittab
![](https://s1.51cto.com/images/blog/201901/18/a42171b2d641c2d948f23c5a4abc2bae.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
其次:查看默认启动方式(为图形界面)
# systemctl get-default
![](https://s1.51cto.com/images/blog/201901/18/e8f3d494b1750d74248c57a17fffd419.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
最后:更改默认启动方式(为命令视图)
# systemctl set-default multi-user.target
![](https://s1.51cto.com/images/blog/201901/18/2a76cb4ffcf2c0de5acfc3b78d2c1809.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
标签:x86_64 color vi编辑 [] 修改主机名 操作系统 基本 name uname
原文地址:http://blog.51cto.com/7175088/2344129