Questions tagged [redhat-enterprise-linux]

Use for questions about Red Hat Enterprise Linux (RHEL), a Linux distribution from Red Hat intended for enterprise use. Note there are version-specific RHEL tags for questions unique to a specific version. Use a product-specific tag for questions about other distros in the Red Hat family, like Fedora or CentOS.

Red Hat Enterprise Linux (RHEL) is a Linux distribution from Red Hat intended for enterprise use.

It's business model is based on a paid subscription to underwrite support and upgrades. With an intended usage requiring extreme stability and reliability, major releases can be two to four years apart, with a release life cycle spanning 7-10 years or more. Minor releases, termed updates, are generally more often than once per year.

Related distributions

The Red Hat family of Linux distributions use the RPM Package Manager (a recursive acronym, originally the Red Hat Package Manager).

Fedora is a community-based, open source distribution sponsored by Red Hat. It serves as a test bed for new features, with a major release twice per year. Recent major releases of RHEL have been forked from the Fedora release of a year prior and may incorporate some features from more recent Fedora releases.

CentOS is a community based, open source distribution that is functionally compatible with RHEL. It is based on RHEL source code, with the RHEL branding removed. It is released within a few months of the corresponding RHEL release.

Fedora and CentOS have product-specific tags. Do not use Red Hat tags generically for questions about those products.

Independent distributions

A number of third parties produce Linux distributions based on RHEL source code:

Scientific Linux is sponsored by Fermilab. It starts with de-branded RHEL source code similar to CentOS. While CentOS aims to be 100% binary compatible with RHEL, Scientific Linux adds packages and tweaks.

Oracle Linux is also a repackaging of RHEL source code by the Oracle Corporation. It offers the option of an Oracle-enhanced kernel.

Both Scientific Linux and Oracle Linux have dedicated tags. Use those for issues unique to those distributions. For most questions that are common to the Red Hat source, however, you will attract a larger audience of potential answerers by using a corresponding Red Hat or CentOS tag, and then mention the actual distribution in the question.

Tag usage

For issues specific to a particular RHEL version, there are version-specific tags:

1142 questions
89
votes
18 answers

How do I check whether I am using KDE or Gnome?

or maybe something else? I am using Redhat OS.
Lazer
  • 18,407
67
votes
1 answer

systemd forking vs simple?

I am writing my first systemd unit file. For Type, there are a few choices: forking, simple, etc. I have read the Redhat Documentation on this topic (Table 9.9) , but still am not sure when I should use which option. Any guidelines?
leeyuiwah
  • 843
54
votes
6 answers

How do I make sudo preserve my environment variables?

Using sudo 1.7.4p4 on Solaris 5.10 and sudo 1.6.7p5 on RHEL4 u6 I can't see how to preserve my environment variables, for instance $PYTHONPATH. I've added this line to sudoers, but it doesn't make any difference: Defaults !env_reset Am I doing…
38
votes
6 answers

how to disable SendEnv variables set in ssh_config from ~/.ssh/config

I couldn't find that anywhere so I'm wondering am I the only one hitting such issue. By default ssh on Red Hat and Debian at least has a ssh_config with SendEnv option passing LC* and LANG variables in the remote session. If one is not root to…
akostadinov
  • 1,530
34
votes
2 answers

What is the difference between Amazon Linux and RedHat Enterprise Linux on AWS EC2?

I am very new to this and I don't even know if I should ask this question here or on Stackoverflow or ServerFault. The Question I wish to set up a EC2 instance on Amazon Web Services. My understanding is RedHat Enterprise Linux(RHEL) cost…
31
votes
4 answers

Where are the rpm files after installation using yum?

I'm using Red Hat 5.4. I have installed a package using yum the package was wireshark. However, after it has installed. Where can I find the rpm package? I would like to locate the actual wireshark.rpm package so that I can install it on another…
ant2009
  • 3,235
23
votes
4 answers

How do you create a new network eth?

I have a machine that has eth0 and eth1, and now I want to create an eth2 and assign it some IP address. What's the command for doing this?
sivabudh
  • 3,175
23
votes
3 answers

How to exclude journalctl entries using a filter?

Consider the following three entries from this journalctl output (json output and debug mode turned on for completeness): SYSTEMD_LOG_LEVEL=debug journalctl -o json -u docker --since '1 hour ago' Root directory /run/log/journal added. Considering…
22
votes
7 answers

Is there a free (as in money) version of Redhat linux?

I've not dabbled with Linux for a while, but I need to, I am slightly outraged RedHat Linux is not free... or am I being dumb? Is there a free version available? If not what are the best alternatives. (The client wants RedHat).
Ian G
  • 1,637
21
votes
1 answer

What does NOEXEC flag mean when mounting directories on RHEL?

I am trying to understand the NOEXEC flag when mounting. I am having an execution issue within the /tmp directory on someone elses machine that I cannot access atm where the /tmp directory is mounted onto a different drive than '/' and NOEXEC is…
21
votes
3 answers

Cannot switch to jenkins user redhat linux

I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem is that I need to switch to the jenkins user in…
21
votes
2 answers

Can apt-get be used on Red Hat systems?

We know that apt-get is used on debian based systems so what is used on Red Hat Enterprise Linux (RHEL) systems? Is it possible to install and use apt-get on Red Hat?
21
votes
2 answers

Which versions of glibc do different versions of RedHat ship with?

Can anyone tell me (or point me in the direction of an online resource which outlines) which versions of glibc ship with which versions of RedHat? This RedHat document indicates versions of GCC but doesn't mention glibc...
19
votes
1 answer

Systemd error : Executable path is not absolute

I have the following below code of systemd. [Unit] Description=start RCC logger server process Requires=rcc-drbd.service rcc_check_locked_scr.service s96rcc.service After=rcc-drbd.service rcc_check_locked_scr.service…
18
votes
3 answers

RedHat Enterprise Linux 6 - Edit Hostname

I'm currently trying to edit my hostname in a RedHat Enterprise Linux 6 virtual machine but I have some problem. I tried using the function hostname like this: hostname -v bravo.cmweb.com And it works, I call the function and the hostname as been…
1
2 3
75 76