ubuntu关闭gonome

手里一台ubuntu 的IPMI后台管理机,平时不跑啥业务,偶尔做做nfs,ftp中转机,不需要图形界面,后台发现资源紧张,干脆把gonome一块儿关了

root@santiagod:~# systemctl get-default
graphical.target
root@santiagod:~# systemctl set-default multi-user.target
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/multi-user.target.
root@santiagod:~# systemctl stop gdm

root@santiagod:~# systemctl get-default
multi-user.target

 

posted @ 2023-08-22 09:56  咿呀哒喏  阅读(45)  评论(0编辑  收藏  举报