티스토리 뷰

linux

Install GUI in Oracle Linux 7

fendys 2019. 3. 25. 17:48
반응형

* Install GUI in Oracle Linux 7

root@oraclelinux7:~# yum grouplist | grep GUI

There is no installed groups file.

Maybe run: yum groups mark convert (see man yum)

   Server with GUI

root@oraclelinux7:~# yum groupinstall "Server with GUI"

.

. 설치 중~~

.

* Reboot and set the language/keyboard etc via GUI guild.

root@oraclelinux7:~# runlevel

N 3

root@oraclelinux7:~# ll  /etc/systemd/system/

total 20

drwxr-xr-x. 17 root root 4096 Feb  7 20:10 ./

drwxr-xr-x.  4 root root 4096 Feb  7 20:04 ../

drwxr-xr-x.  2 root root   30 Jul 24  2014 basic.target.wants/

drwxr-xr-x   2 root root   30 Feb  7 20:05 bluetooth.target.wants/

lrwxrwxrwx   1 root root   41 Feb  7 20:05 dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service

lrwxrwxrwx.  1 root root   44 Jul 24  2014 dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service

lrwxrwxrwx   1 root root   44 Feb  7 20:10 dbus-org.freedesktop.ModemManager1.service -> /usr/lib/systemd/system/ModemManager.service

lrwxrwxrwx.  1 root root   46 Jul 24  2014 dbus-org.freedesktop.NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service

lrwxrwxrwx.  1 root root   57 Jul 24  2014 dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service

lrwxrwxrwx.  1 root root   37 Jul 24  2014 default.target -> /lib/systemd/system/multi-user.target

drwxr-xr-x.  2 root root   85 Jul 24  2014 default.target.wants/

drwxr-xr-x   2 root root   37 Feb  7 20:10 dev-virtio\x2dports-org.qemu.guest_agent.0.device.wants/

lrwxrwxrwx   1 root root   35 Feb  7 20:08 display-manager.service -> /usr/lib/systemd/system/gdm.service

drwxr-xr-x.  2 root root   31 Jul 24  2014 getty.target.wants/

drwxr-xr-x   2 root root  107 Feb  7 20:08 graphical.target.wants/

drwxr-xr-x.  2 root root 4096 Feb  7 20:10 multi-user.target.wants/

drwxr-xr-x   2 root root   25 Feb  7 20:08 printer.target.wants/

drwxr-xr-x   2 root root   30 Jul 18  2017 remote-fs.target.wants/

drwxr-xr-x.  2 root root 4096 Feb  7 20:08 sockets.target.wants/

drwxr-xr-x   2 root root   35 Feb  7 20:10 spice-vdagentd.target.wants/

drwxr-xr-x.  2 root root 4096 Feb  7 20:06 sysinit.target.wants/

drwxr-xr-x.  2 root root   43 Jul 24  2014 system-update.target.wants/

drwxr-xr-x   2 root root   33 Feb  7 20:06 timers.target.wants/

drwxr-xr-x   2 root root   28 Feb  7 20:08 vmtoolsd.service.requires/

root@oraclelinux7:~# 

root@oraclelinux7:~# ls -ltr /lib/systemd/system/graphical.target

-rw-r--r-- 1 root root 558 Feb  1 07:33 /lib/systemd/system/graphical.target

root@oraclelinux7:~# rm /etc/systemd/system/default.target

root@oraclelinux7:~# ln -n /lib/systemd/system/graphical.target /etc/systemd/system/default.target

root@oraclelinux7:~# reboot

반응형

'linux' 카테고리의 다른 글

CentOS 7 GUI 패키지 설치 하기  (0) 2019.03.28
CentOS 6,7 - Owncloud 설치  (0) 2019.03.25
kickstart centos  (0) 2018.11.27
PXE 서버 생성  (0) 2018.11.27
centos7 network bond(not NetworkManager)  (0) 2018.11.13