Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

Red Hat Enterprise Linux is a Linux distribution targeted towards the commercial market. It is one of the successors of Red Hat Linux, together with the community-maintained Fedora.

Philosophy

Red Hat Enterprise Linux is commercially supported by Red Hat and aimed mainly at the enterprise market. It has a conservative release cycle.

Documentation

Further reading

3996 questions
175
votes
12 answers

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well aware that CentOS removes all RH trademarks,…
Oxwivi
  • 2,232
  • 4
  • 23
  • 31
157
votes
3 answers

How to change ownership of symbolic links?

I am facing some issue with creating soft links. Following is the original file. $ ls -l /etc/init.d/jboss -rwxr-xr-x 1 askar admin 4972 Mar 11 2014 /etc/init.d/jboss Link creation is failing with a permission issue for the owner of the file: ln…
Zama Ques
  • 3,186
  • 12
  • 39
  • 54
109
votes
6 answers

zipimport.ZipImportError: can't decompress data; zlib not available

On RHEL 6.6, I installed Python 3.5.1 from source. I am trying to install pip3 via get-pip.py, but I get Traceback (most recent call last): File "get-pip.py", line 19177, in main() File "get-pip.py", line 194, in main …
Flair
  • 1,191
  • 2
  • 7
  • 6
88
votes
3 answers

What is the difference between these commands for bringing down a Linux server?

Reading "What is the difference between Halt and Shutdown commands?" , I generally have an idea what does the command shutdown does, with or without -h/-r options. The "halt" command performs power off of the system to run-level 0 of the…
Win.T
  • 1,115
  • 1
  • 11
  • 14
87
votes
2 answers

Nslookup: command not found error on RHEL/CentOS 7

During linux installation I selected "minimal" option: When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example below. $ nslookup www.google.com bash: nslookup:…
Anthony Ananich
  • 7,234
  • 5
  • 31
  • 45
82
votes
8 answers

List all RPM packages installed from repo "X"

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
Lorin Hochstein
  • 8,077
  • 17
  • 50
  • 56
81
votes
6 answers

Listing packages in Yum that depend on another installed package

I am trying to install a 3rd-party RPM package on RHEL5 which depends on version 3.4 of sqlite. According to Yum I already have 3.3.6 installed. Is there a way to list the installed packages that depend on sqlite 3.3.6?
Rich
  • 4,439
  • 10
  • 33
  • 34
69
votes
3 answers

Unable to delete file, even when running as root

I am in the process of migrating a machine from RHEL 4 to 5. Rather than actually do an upgrade we have created a new VM (both machines are in a cloud) and I am in the process of copying across data between the two. I have come across the following…
Rich
  • 4,439
  • 10
  • 33
  • 34
68
votes
2 answers

Yum Check Available Package Updates

Red Hat docs say: To see which installed packages on your system have updates available, use the following command: yum check-update What command must I run to view all available versions for a package installed on my system? Example: yum…
Kevin Meredith
  • 917
  • 1
  • 8
  • 9
65
votes
7 answers

What is the Linux equivalent to C:\Program Files?

I understand that in Windows as well as Linux and Unix, a program|application|software can be installed in any directory. Also if packages are installed using the distribution's packaging system, it'll place files in the correct location. But at…
Thomas
  • 1,683
  • 5
  • 19
  • 22
64
votes
2 answers

Can I restart systemd without rebooting?

I'm trying to restart services after a yum update on RHEL 7.4. I could restart every service using systemctl, but needs-restarting from yum utils tells me that I should also restart systemd itself: # needs-restarting 1 : /usr/lib/systemd/systemd…
BenMorel
  • 4,447
  • 8
  • 36
  • 46
64
votes
11 answers

What is the equivalent of 'update-grub' for RHEL, Fedora, and CentOS systems?

In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the GRUB configuration file. Is there a similar command for Red Hat-based distributions? If not,…
pqnet
  • 2,570
  • 1
  • 14
  • 14
63
votes
4 answers

How to find path where jdk installed?

I've installed jdk1.7.0.rpm package in RHEL6. Where I do find the path to execute my first java program?
Mohammad Faisal
  • 739
  • 1
  • 5
  • 6
60
votes
7 answers

Open a RPM on a Mac?

I am on a MacBook Pro running Apple Leopard (Mac OS X 10.5.8). I would like to unpackage a RPM and view the files contained within the wget-1.11.4-2.el5_4.1.src.rpm . I don't need to install the files to a particular location or run any %postinstall…
Stefan Lasiewski
  • 19,264
  • 24
  • 70
  • 85
57
votes
6 answers

Why SSH takes a long time to Connect

I have noticed that some Linux Servers in Network takes long time to connect using ssh. Situations: There are two situations I have faced: On some servers some times it takes a long time to ask for password but on other servers When I insert the…
OmiPenguin
  • 4,168
  • 34
  • 79
  • 111
1
2 3
99 100