Installing Red Hat Enterprise Linux 7 Server with GUI
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Planet X aka Planet 10 (I swoop down every 3600 years)
Distribution: Fedora21
Posts: 36
Rep:
Installing Red Hat Enterprise Linux 7 Server with GUI
Hello!
I just installed RHEL 7 on my VmWare 11 Virtual Machine and for some reason I'm only able to see the command line. how do I install the GUI portion from the command line or am I just asking the dumbest newbie question ever?
First, I don't think the "server" edition includes the GUI... it is the server edition after all!
Second, RHEL is not a free Linux but requires a subscription. If you are paying the subscription you should probably be using the Red Hat support and resources as your primary information source.
If you are not paying the subscription you should not use it, but instead use CentOS which is free and is 99+% identical to RHEL. That will not only make it easier for those here to answer your future questions, but it will also allow you to install updates and access to other software repos - and will spare you the constant reminders that you should not use RHEL without the subscription!
Googling led me here, so I've just registered and felt I should contribute because I maybe the bigger newbie than ApacheOmega. I'm in the same boat, I've got a developer version of RHEL 7.1 (a non-refundable $99 for a year's subscription) which I've installed on vbox on my laptop. I wanted it to run EAP 6.4.0 so I can investigate/evaluate jboss's BRMS and BPM suites (which is executed through jboss's eclispe-based dev studio).
Apart from confirming the expression 'a fool and his money' I'm interested in being able to have a look at the BRMS and BPM suite, this needs the jboss Enterprise Application Platform (EAP) 6.4.0 and this only runs on windows servers or RHEL (and some other O/S).
Could I expect to install EAP on CentOS and for it work as normal? I tried EAP on my windows 8.1 laptop and it worked ok then I got an error which I thought might be from using EAP in a non-recommended O/S (adding users in the EAP just not being recognised).
The other option is to connect to EAP on vbox from developer studio on my laptop but as a non-techie trying to understand all this, the learning curve maybe pushing me too close to breaking point!
if you need a desktop on RHEL you can install gnome3 on RHEL7
BUT you will NEED a 3d card ( the laptop "chip" ??? might be usable ??? )
Code:
su -
yum grouplist
in that output should be the default desktop or gnome
Code:
su -
yum groupinstall "X Window System" Desktop
then
Quote:
Run the following command to edit the /etc/inittab file:
Code:
vi /etc/inittab
Press the I key to enter insert mode.
Find the line that includes the text initdefault. Change the numeral 3 to 5.
Type :wq and press the Enter key to save the file and exit the vi text editor.
Reboot the system using the reboot command. Your system will restart and present a graphical login.
I tried the steps you suggested and I was able to able to install X windows, however for the last step the inittab file had the comments to execute the systemctl command to a graphical target and then reboot, but this didn't work.
I don't know where to start with that but having slept on it I'm coming round to the idea of having jboss developer studio on my laptop connecting to EAP on RHEL on virtualbox, as per comments below I can't see the reason to have a GUI on a server.
I think that I just need to mess about with the bridged adapter on vbox so that the EAP server is recognised in dev. studio as just being across a network connection, it sounds like the most sensible set-up even though it's just me messing about.
the link
" https://access.redhat.com/solutions/5238"
the above requires that you have a valid license and registered on the redhat site
-- you have to log in to the redhat site to use that link
Sometimes the problem is too simple. VMware by default when detects a OS like RHEL6/7 in DVD / usb drive installs it using simple/quick setup mode. This results in installation choosing Default package list (minimum) in this case. so after installation the control goes to command line. (or init level 3). so set up GUI mode which is not installed you have to install it from Repo or DVD. using yum. So to do this create a repo first:
1)vim /etc/yum.repos.d/DVD.repo
2)put this in file:
[DVD]
name=fromISO
baseurl=file:///path_of_DVD_or_Usb_drive .............eg:- file:///mnt/iso
enabled=1
gpgcheck=0
save this file.
if theres any other repo file in this path, edit it by changing enabled=1 to 0.
in case you have a active RHN subscription and have already registered with Red Hat no need to create repo file.
Sometimes the problem is too simple. VMware by default when detects a OS like RHEL6/7 in DVD / usb drive installs it using simple/quick setup mode. This results in installation choosing Default package list (minimum) in this case. so after installation the control goes to command line. (or init level 3). so set up GUI mode which is not installed you have to install it from Repo or DVD. using yum. So to do this create a repo first:
1)vim /etc/yum.repos.d/DVD.repo
2)put this in file:
[DVD]
name=fromISO
baseurl=file:///path_of_DVD_or_Usb_drive .............eg:- file:///mnt/iso
enabled=1
gpgcheck=0
save this file.
..which will make any subsequent updates fail, if the DVD is not present, since the 'repo' file can't be read. And it has nothing to do with VMWare and a 'default' installation...RHEL 7 (as the OP said they were using), DOES NOT INSTALL a GUI unless you SPECIFICALLY tell it to. They didn't.
Quote:
if theres any other repo file in this path, edit it by changing enabled=1 to 0.
...which will further cause you problems later, since you won't get ANY updates/patches, nor be able to install from those repos.
Quote:
in case you have a active RHN subscription and have already registered with Red Hat no need to create repo file.
..and if you DON'T have an active RHN subscription, then WHY would you bother using it??? All you'll wind up with is an unstable, unpatched system. Load CentOS instead if you're not going to pay.
Quote:
now run this command:
yum clean all
yum groupinstall "X Window System" -y
then
systemctl set-default graphical.target
systemctl set-default multi-user.target
restart the system.
...and those commands were given above, and in the documentation links.
I have also just started series of Red Hat 7 linux tutorials (www.shahid-academy.com). My first tutorial is about installation of Red Hat enterprise Linux 7. Please visit my site and suggestions are highly appreciated to improve contents and remove mistakes if found any
Hi guys,
I have also just started series of Red Hat 7 linux tutorials (www.shahid-academy.com). My first tutorial is about installation of Red Hat enterprise Linux 7. Please visit my site and suggestions are highly appreciated to improve contents and remove mistakes if found any
Since you've been here for FOUR YEARS, you should know that advertising isn't permitted. Posting your blog and asking people to visit it IS advertising...we aren't going to help you publicize your 'training academy'. And if you can't spot the errors in your 'tutorials', then you shouldn't be posting them.
at this point "new2linuxsyn" is SPAMing
see the other post ADVERTISING this very questionable "site"
there are only 2 posts on that site one from aug9 and the second from Aug 22
-- nothing NEW
but there is one rather NASTY bit of tracking software trying to set a tracking cookie
Is the installer for RHEL 7 different from Centos 7? Centos 7 install Base Enviorments has "Server with GUI" as an option. I mainly ask because I'm reading Sander Van Vugt's RHCE/RHCSA 7 Cert Guide and that is the recommended install for the exams and he also implies that those options (and almost everything else) in Centos 7 are identical to RHEL 7
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.