Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
0
votes
1answer
763 views
.bashrc doesn't get executed
I have a user (non-root) which has a ~/.bashrc file with some aliases in it.
But it doesn't look like the file is executed at log in time. If I do source ~/.bashrc then it does what it's supposed to. ...
5
votes
2answers
2k views
.bash_profile not sourced when running su
I have a user, say user1, which has modifications to its .bash_profile, one of them changing the PATH, e.g.: export PATH=/some/place:$PATH. This change works fine if I log on as user1 or do a su - ...
11
votes
6answers
2k views
Is there a difference of stability between Linux distros?
I've using Debian since 2010 for some home purposes and it has been stable. Is Debian still a good option if I need a server for heavy network, cpu, disk and memory usage?
Last month I listened to ...
10
votes
3answers
6k views
Does RHEL execute all cronjob files under /etc/cron.d/*?
This is a RedHat Enterprise Linux 5 system (RHEL). We manage this system using Cfengine.
We have several cronjobs which are running twice as often as usual. I checked the cronjobs under /etc/cron.d/ ...
1
vote
1answer
6k views
doing OpenLDAP config changes in RHEL 6
I've been configuring OpenLDAP on RHEL 6 and its seems you have run the following to rebuild the config dirs. I'm ok with that, but my issues is, say I want to change the server passwd, do I have to ...
7
votes
4answers
1k views
How to install software on Red Hat?
What's the simplest way to download/install software on Red Hat Linux (from bash command line)?
3
votes
3answers
63 views
RHEL: Creating stable names for network interfaces
We have a RHEL 5.5 box with 8 interfaces. And the eth interface naming is flip flopping. Sometimes eth0 comes up on physical port 7th, and sometimes on another physical port.
We want the naming to ...
3
votes
1answer
247 views
Problem installing RHEL on HP Itanium Server
When I am trying to install RHEL (6.3, 5.8, 4.8) on an HP Integrity Server rx2660 Itanium with 4GB RAM, I keep getting to the same point which is
Loading file efi\boot\initrd.img...done
After ...
1
vote
1answer
719 views
NIS and autofs error
I am trying to share the home directory of a NIS user using NFS and autofs. During testing, I get the following error message:
Could not chdir to home directory /home/guest/nis1: Permission denied
...
7
votes
1answer
339 views
Why does Red Hat Linux use such an old kernel?
Why does RHEL (and its derivatives) use such an old kernel? It uses 2.6.32-xxx, which seems old to me. How do they support newer hardware with that kernel? As far as I know these kind of distributions ...
2
votes
2answers
288 views
Where to apply xmodmap for systemwide usage?
I need to apply a custom xmodmap for all users at the start. Where do I need to put it? I have thought at /etc/rc.local? Does this make sense?
16
votes
6answers
17k views
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 ...
5
votes
2answers
203 views
Is it possible to create a directory and file inside /proc/sys?
I am running CentOS 6.2 and I need to create a subdirectory named "crypto" inside /proc/sys. Inside /proc/sys/crypto, I need to create a file named test which contains the value "1".
I have tried ...
4
votes
3answers
639 views
Performing accurate snapshot and incremental backups to a remote server
I have a few Ubuntu (and potentially RHEL) servers I'd like to back up to a central backup server (via rsh/SSH). I'd like to do both snapshot and incremental backups. The goal is that if one of the ...
1
vote
1answer
555 views
httpd-devel requires outdated version of glibc-common on CentOS 6.3
httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo)
Here is ...
7
votes
2answers
984 views
Once sudo su'd to root, is there a command to see my username?
I have sudo rights on a redhat box; once I've "sudo su -" to become root in a shell, are there any commands I can run to see what username I su'd FROM?
6
votes
1answer
357 views
Why does `man -k cron` say `vixie-cron (rpm)` for some results, and how do I read those pages?
I'm trying to find out some details regarding cron and /etc/cron.d/ on a RedHat system. Ironically, my answer is viewable within the vixie-cron-*.src.rpm for this package, but the the man pages for ...
6
votes
1answer
3k views
Install g++ when having gcc (C only) — RH6
I have a RedHat 6 machine, which came with gcc but without g++.
The gcc version is 4.4.4 20100726 (this is what I got from gcc --version).
How can I get g++ working? Currently, the shell just returns ...
5
votes
1answer
2k views
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 ...
4
votes
3answers
867 views
Recompile Kernel to Change Stack Size
I need to recompile my kernel on RHEL WS5 with only two changes.
Change stack size from 4k to 8k
Limit usable memory to 4096.
How do I recompile the kernel without changing anything else but ...
3
votes
2answers
3k views
Run getty on a serial port on startup on RHEL
I want to put a getty on ttyS2 on a RHEL 6.1 box so I can use IPMI's serial-over-ethernet functionality to log in to a machine when SSH isn't working.
In the past (on Ubuntu?), I used to add a line ...
3
votes
1answer
3k views
Mount samba filesystem into RHEL 5.5
I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux.
I tried
mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public
...
3
votes
1answer
1k views
How can I install ncdu on Red Hat?
The answers provided to this question doesn't help.
I'ved tried
yum install ncdu
But I'm getting
No package ncdu available
2
votes
2answers
2k views
How to create Local Repositories in RHEL
I need to create a local repository in RHEl 5.5. i386
Because when I type some command in terminal it say that RHEL is not subscribed with RHN which is true. I took it from friend.
So can someone ...
2
votes
3answers
324 views
Single CD install of a RHEL-like distribution?
Can someone suggest a RHEL-like distribution that can install from a single CD? I am looking for a distribution where services are started from /etc/init.d, environment variables are set from scripts ...
1
vote
1answer
602 views
0
votes
1answer
130 views
How to add an item to the Applications menu?
How can I add an application to Applications > Internet in Gnome Desktop running on CentOS 6.4?
Per this old Docs link, it suggests to edit /etc/xdg/menus/applications.menu.
How can I add ...
