How to change Centos 7 run level graphic<=>text
1. Check current run level
#systemctl get-default
2. Change run level from graphic to text
#systemctl set-default multi-user.target
#init 6
3. Change run level from text to graphic
#systemctl set-default graphical.target
#init 6
---------------------------------------
[Centos 6]
1.Change run level from graphic to text
#vim /etc/inittab
id:3:initdefault:
2. Change run level from text to graphic
#vim /etc/inittab
id:5:initdefault:
沒有留言:
張貼留言