Created
April 2, 2018 16:55
-
-
Save Sher-Chowdhury/0f96ee71fcec5b3b5c205bc277a93f6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# exit 0 | |
set -ex | |
echo '##########################################################################' | |
echo '##### About to run install-gnome-gui.sh script ##################' | |
echo '##########################################################################' | |
# https://codingbee.net/tutorials/vagrant/vagrant-enabling-a-centos-vms-gui-mode | |
yum groupinstall -y 'gnome desktop' | |
yum install -y 'xorg*' | |
# https://unix.stackexchange.com/questions/181009/gnome-license-not-accepted-issue-when-system-has-been-rebooted | |
yum remove -y initial-setup initial-setup-gui | |
systemctl isolate graphical.target | |
systemctl set-default graphical.target # to make this persistant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool thanks this will save me some time