Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

51
votes
18answers
135k views

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

or maybe something else? I am using Redhat OS.
45
votes
4answers
91k views

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 ...
32
votes
2answers
46k views

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 ...
28
votes
5answers
10k views

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 ...
21
votes
4answers
50k views

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....
19
votes
7answers
40k views

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

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 ...
17
votes
2answers
23k views

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 ...
16
votes
3answers
96k views

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 ...
16
votes
2answers
80k views

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?
14
votes
3answers
166k views

What is the exact command to restart a Redhat linux system?

I am new in linux. I want to know the exact command to restart a red hat linux server 6.3. and it has to start network drivers etc. I am using VPN to connect to remote machine using VNC. Can anyone ...
13
votes
5answers
71k views

How to permanently disable firewall in Red Hat Linux

I have followed the below steps to disable the firewall in Linux. After reboot, again firewall is enabled. How to disable firewall permanently? Login as the root user. Next enter the following three ...
12
votes
5answers
31k views

Installing R on RHEL 7

I'm trying to install R on RHEL 7. I'm using epel-release-7-2.noarch.rpm and resolved many dependencies (one by one by manual .rpm installation) but at the end of the dependency resolution I got these ...
10
votes
1answer
4k views

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 ...
9
votes
4answers
12k views

Setting Linux environment variables

I am running Red Hat Linux Enterprise 5; I am always using the export command to set environment variables. Are there any other ways to set environment variables and what are the advantages/...
9
votes
4answers
14k views

How to get alt-tab on GNOME to cycle through applications like Windows?

I am running GNOME desktop v2.16.0 on RedHat Enterprise Linux v5.3. I would like to assign the Alt-Tab key to cycle through the currently running applications like Microsoft Windows does. I believe ...
9
votes
8answers
54k views

Disabling NetworkManager on RHEL 7

I was setting up a RHEL7 server in vmware vSphere and I'm having trouble getting it on the network without NetworkManager. I configured the server to have a static IP during the install process and it ...
9
votes
3answers
6k views

How to configure linux to enforce new users to change their password on first login

I'm trying to configure users password policy on RHEL 6.6 and I want system to ask newly created users to change initial password on first login. Note, that I tried to set EXPIRE variable to 0 and ...
8
votes
4answers
14k views

Is there a free version of Red-Hat Linux for home desktops?

Is there a free edition of Red-Hat for home desktops?
8
votes
3answers
67k views

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?
8
votes
2answers
17k views

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 ...
8
votes
1answer
28k views

How to install “mail”

I'm trying to install "mail" on a Red Hat 4.1.2-48 box. I tried: yum install mail It prints out: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.anl.gov * ...
8
votes
2answers
20k views

Is it possible to use yum to install a RPM file in Red Hat Linux?

Is it possible to use yum to install a RPM file in Red Hat Linux? Since I don't have the Internet access from this Linux I can not do wget and follow the process. So all that I have now is a rpm ...
8
votes
2answers
9k views

How to extract RPM from RPM database on Red Hat Enterprise Linux

Is there a way to extract an installed RPM from an RPM database on Red Hat Enterprise Linux to reproduce the original .rpm file?
7
votes
2answers
15k views

How to list recent yum updates

Last night I have updated one of my RedHat systems from 6.1 to 6.2. There were a few hundred updates. How can I list the recent updates that was applied to my system? I have tried yum list recent but ...
7
votes
1answer
24k views

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 ...
7
votes
1answer
7k views

What killed my process?

Been having a problem with application that keeps getting killed. This is running a RHEL5 server. We ran strace against the process and at the end of the trace file I get a bunch of +++ killed by ...
7
votes
1answer
804 views

Identifying lost physical memory

I am having issues with a server running out of physical memory and I'm having troubles discerning whether it is from my application's Java process or something else on the server. Let's take the ...
6
votes
4answers
28k views

Command to find files for a specific time range

I have a few Linux Red Hat Linux machines and I must find some files on them. The problem is that they have a lot of files and folders since 2004 year. And I don't know where exactly to look for these ...
6
votes
2answers
484 views

Red Hat Enterprise Linux based on Fedora?

According to this site, Red Hat Enterprise Linux is based on Fedora. Is this true?
6
votes
5answers
11k views

Is there a native tool for parsing xml files available on RedHat?

Are there any utilities similar to xpath for parsing XML files that would be natively available on a RedHat server? Similar questions have been answered elsewhere, but none of the tools listed are on ...
6
votes
1answer
4k views

What happens when I truncate a file that is in use?

Around the web many people say you can truncate a file using > filename or truncate -s0 filename while file begin used I know everytime a process write in a file, the process uses a offset for ...
6
votes
1answer
4k views

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' ...
6
votes
2answers
10k views

How do I configure sar to collect disk information (ala -d)?

When I run "sar -d" on my RHEL 5.7 box, I get the response: Requested activities not available in file How do I configure sar to collect disk information?
6
votes
2answers
1k views

man page only found after ran with root

When I try to run man page on my Red Hat as a normal user I get "No manual entry for zip" If I change to root run: "man zip" and then I get the man page and afterwards I see the same man page as I did ...
6
votes
1answer
2k views

Why would bash commands sometimes not return output?

In a bash shell, if I execute any command (e.g. "who"), many times it will not show any results, but when I next execute any other command the output of the previous command will be included. e.g.: ...
5
votes
2answers
6k views

Why would ssh fail to expand %h variable in .ssh/config?

Why would ssh fail to expand %h from .ssh/config? This used to work and still works except on a RHEL box. Looking for what the origin of this could be. Is there a setting somewhere that tells ssh to ...
5
votes
2answers
13k views

change default shell from zsh to bash

I'm trying to change my default shell in RHEL5 from zsh to bash. I tried to the methods mentioned in this thead. By typing sudo /usr/bin/chsh -s /bin/bash, the system says sudo: /usr/bin/chsh: ...
5
votes
2answers
313 views

Restrict device ownership to root only. But why?

NSA's Guide to the Secure Configuration of Red Hat Enterprise Linux 5 recommands restricting device ownership to root only. So my question is why should we restrict device ownership to root? And ...
5
votes
2answers
12k views

Which version of Fedora, RHEL, correspond to which version of CentOS?

Which version of Fedora, RHEL, correspond to which version of CentOS?
5
votes
3answers
7k views

How do I add color syntax highlighting to GNU emacs?

I have two versions of emacs available to me on a locked workstation: $ /usr/local/bin/emacs --version GNU Emacs 22.3.1 $ /usr/bin/emacs --version GNU Emacs 21.4.1 In both cases, my terminal type ...
5
votes
1answer
36k views

How to resolve rpm dependencies

I am trying to install libtirpc on RHEL 6.5 but it fails and asks for dependencies. Why here it is showing three GLIBC versions 2.14, 2.15 and 2.16. ?? Does it mean that any of these three versions ...
5
votes
4answers
4k views

install screen from source code

I tried to install the screen command on RedHat from source code. But when I run the configure, it returned configure: error: !!! no tgetent - no screen So does anyone know how to fix it?
5
votes
1answer
1k views

How to disable Alt-Tab shortcut in VMPlayer?

I want to send Alt-Tab to my windows host OS when working out of the guest OS on VM player. At the minute it gets trapped by the guest OS. Anyway to disable sending it to the guest (RedHat)?
5
votes
1answer
4k views

Differences in nc (netcat) options on Ubuntu vs RedHat

nc -q -1 local host ${PORT} ${CMD} In Ubuntu, nc may be used as above, with the -q option. See manpage. -q after EOF on stdin, wait the specified number of seconds and then quit. If seconds is ...
5
votes
1answer
818 views

get focus only by clicking the title bar of xterm

I've suffered this problem many times and so do my colleagues Sometimes after you stroked some keyboard and mouse combinations this behavior showed up : you have to click a xterm's title bar to focus ...
4
votes
3answers
2k views

DNS resolver improvements?

I have recently come across the following configuration of /etc/resolv.conf which is/was supposed to increase the speed of DNS resolution: nameserver 1.1.1.1 nameserver 2.2.2.2 nameserver 3.3.3.3 ...
4
votes
1answer
1k views

Are there any linux distributions similar to RedHat 5 Enterprise?

I want to install RedHat 5 Enterprise Edition server on my home PC. I will install servers and clients on virtual machines using Virtual box and study server-client structure at home. But RedHat EE is ...
4
votes
2answers
10k views

Firewalld - allowing ICMP in custom zone (centos 7 / redhat 7)

I want to enable ICMP echo-reply in a zone defined by source. I have a zone MONITORING where I want to permit some services like mysql and echo-reply. Permiting services like mysql is simple, but I ...
4
votes
3answers
15k views

Keeping Cygwin SSH session alive [duplicate]

I'm having the a bit of a problem with accessing remote RedHat servers from a Windows machine using Cygwin SSH client. What I do is I run some fairly time-consuming QA scripts on the remote RedHat ...
4
votes
1answer
8k views

How to add LDAP user to existing local group in RHEL?

I'm attempting to add some of our LDAP users to a locally defined group on our RHEL server, however I get an error stating that the LDAP user is not found in /etc/passwd. What would be the best way ...