0
1

More than 5 years have passed since last update.

Linuxをコンソールモードで起動する

Posted at

CentOS7をServerモードでセットアップすると、GUI(X Window System)で起動します。サーバでは不要なためコンソールモード(CLI)へ切り替えます。

CentOS7のデフォルト ディスプレイマネージャーはGNOME標準である GDM のようです。


まずはサービスの状況を確認。有効です。

# systemctl list-unit-files | grep gdm
gdm.service                                   enabled


gdmサービスをdisableにします。

# systemctl disable gdm.service
Removed symlink /etc/systemd/system/display-manager.service.


サービスのdisableを確認し、再起動します。

# systemctl list-unit-files | grep gdm
gdm.service                                   disabled

# reboot
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1