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