Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
0
votes
1answer
2k views
yum groupinstall “Development Libraries”
I am new to linux.
I am looking at some configuration notes for a CentOS, but I am configuring a Redhat machine. I am not clear:
What the below commands install?
Why one might install these?
...
1
vote
3answers
204 views
How do I check if a distribution is Fedora-based?
The Python M2Crypto library requires a slightly different installation command if the Linux distribution is Fedora-core based (e.g., Fedora, RHEL, CentOS, Scientific Linux).
Is there a way to check ...
0
votes
1answer
159 views
Offline documentation of an RPM spec file or how to retrieve an example
I am taking a Red Hat exam that is offline. I am having issues remembering the syntax for an RPM SPEC file.
Can anyone suggest how to retrieve an example or some documentation that should already be ...
2
votes
2answers
1k views
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")?
0
votes
5answers
2k views
Script to check for read only filesystem
How can I check a bunch of systems to find any filesystem that are mounted read-only? Possibly via a script?
2
votes
2answers
951 views
Which device is using this logical volume?
I'm trying to remove an LVM logical volume, which I believe is not currently in use.
However, when I attempted to remove it, I get an error:
# lvremove /dev/vg_service1/lv_home
Logical volume ...
1
vote
2answers
132 views
Check version of RPM package available in upstream repo if I have a custom one installed
I have a RHEL6.1 machine that's registered with Redhat. I needed to install a customized version of a package (in my case, qemu-kvm), which I installed via RPM.
I can see the version info for my ...
0
votes
1answer
494 views
no default repositories in yum
I am trying to install gtk-murrine-engine on my RedHat Linux Client 5.5 using yum install. It says package not available. It appears that there only exists some local repositories in yum , pertaining ...
2
votes
1answer
126 views
Can't see the free disk space of the drive
I am installing redhat 6 with pendrive, I get only two drives option for installing one is the whole hard disk and the other is pendrive, but I've created a free logical disk of 30 GB in windows. I am ...
0
votes
2answers
17k views
How to find path where jdk installed?
I'm a newbie to Linux so please forgive me for asking such stupid question!
I'd installed jdk1.7.0.rpm package in RHEL6.
Where I do find the path and to execute my first java program?
1
vote
1answer
2k views
Can't explain “crash” entries in output of the 'last' command
Last shows "crash" at 12:02 and 14:18, but the system didn't stop working at that time. The reboot at 15:03, on the other hand, was to recover from an actual crash - our system stopped responding at ...
3
votes
2answers
347 views
How to start the cron daemon
I am using RHEL 5.4
I killed the cron daemon accidentally. I wanted to stop a cron task, didn't know how to do it, ended up killing the cron daemon itself. How do I start it again?
2
votes
1answer
109 views
“Short read block” error trying to boot RHEL
I changed my network configurations from static IP to DHCP and removed the DNS entry, etc.
Then I rebooted the computer, but am now unable to boot, I get an error message along the lines of "short ...
44
votes
7answers
7k views
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, ...
1
vote
1answer
576 views
New SL6 system: No hostname?
This is in regards to Scientific Linux 6.1 system, but should also apply to CentOS 6.1 & RHEL 6.1.
I am setting up a new Scientific Linux 6.1 system, using kickstart and DHCP (via xCAT). This ...
2
votes
1answer
409 views
Mounting Windows share on startup without storing password in plain text
I have the following in my /etc/fstab on a Red Hat 5 system:
//share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix
Can I replace this with ...
4
votes
1answer
199 views
Confused about PAM configuration stanza and the roles of the control-flag parameters
I just begun studying for the RHCE. While on the topic of PAM configuration, I was a little perplexed with this stanza from /etc/pam.d/system-auth:
auth required pam_env.so
auth ...
1
vote
2answers
7k views
Red Hat Enterprise Linux 6: /boot/grub/menu.lst or /boot/grub/grub.conf?
I have a brand new Scientific Linux 6 system, but this same question should apply to CentOS 6, RHEL6 or any RHEL6-derivative.
I see that /boot/grub contains a menu.lst as well as a grub.conf file. ...
3
votes
1answer
292 views
Vanishing permission on device file (RHEL 6.1)
I want to set world read/write permissions on a raw block device file (yeah, I know). I can set the permission to 666, but it goes back to 660 immediately after I touch it or write to it. Why?
...
3
votes
2answers
2k views
How does createrepo work. How does yum understand parse its files. A conceptual explanation
I am not looking for a how-to on creating a repo (createrepo) or using yum.
I want to understand how they work together.
I want to know what files yum looks at and why, what those files contain.
I ...
1
vote
0answers
818 views
Making the Spotify Linux client (for Debian) run on RHEL
I'm trying to convince the Spotify Linux client to run from my home directory on a RHEL 6 machine (I don't have root privs, and running the Windows client through Wine results in audio stutter since ...
4
votes
5answers
2k views
Does AIX really beat Red Hat Enterprise Linux?
Our company plan to upgrade our servers, and at the same, we would use AIX over Red Hat Enterprise Linux.
I asked my boss the reason of choosing AIX, he said it is because AIX is more powerful. I ...
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 ...
4
votes
2answers
255 views
'man' page is too narrow (not taking advantage of terminal size)
I'm making my first 'man' page and I'm using groff to do it. However, when I "compile" it and view it, it only takes up a certain amount of columns in my terminal. I've tried viewing other man pages ...
0
votes
1answer
712 views
RHEL Time Changes Automatically
I Have a RHEL 6.1 server and it's date/time changes automatically even after I change the time settings.
Could someone point out how to fix this issue?
Note** I suspect this happens when rhn ...
3
votes
3answers
2k views
Change /dev/sd* for USB Linux install?
I am trying to install Scientific Linux 6.1 (which is literally RedHat Enterprise Linux without the branding) by booting its installer from my USB drive.
The installer starts fine, but two things ...
5
votes
1answer
2k views
Is there any difference between e2fsck and e4fsck on CentOS / RHEL systems?
ext4.wiki.kernel.org makes it sound like e2fsck was simply renamed to e4fsck so that e4fsprogs and e2fsprogs could coexist without overlapping. However, there is no mention of any difference in the ...
2
votes
3answers
666 views
Linux + how to verify mirror configuration on linux red-hat
I have an IBM blade server and we've installed RedHat Linux on the machine.
How can we check if we have both disks running as a mirror, or if everything is only running on a single disk? What ...
1
vote
2answers
386 views
Are there programs that work for Red Hat but not Ubuntu?
And vice versa? What about other distributions too?
0
votes
4answers
937 views
Package repository for which Fedora version would be best match for RHEL / CentOS / Scientific Linux 6.0?
I am using Scientific Linux 6.0, which is based on RHEL (RedHat) 6.0. I want to install some package (LXDE), which is present in repositories for Fedora, but which I didn't found either in Scientific ...
4
votes
2answers
864 views
Selinux is denying access to mysqld
I have a script that dumps a mysql database. It then compresses the file and this gets stored in my home folder by using cron. The problem is I seem to be getting an error message.
mysqldump: ...
1
vote
2answers
600 views
Check the Existence of a Network Interface Card Redhat
I'm aware that I can use ethtool eth0|eth1|eth2 to check the existence of a NIC.
But I wonder where the files are on the machine that contain information of an existing interface, as I need to use ...
1
vote
2answers
916 views
How to hibernate a RHEL6 machine?
I am using RHEL6 and I don't see a hibernate option for it. Doesn't RHEL6 have a hibernate option?
I tried pm-hibernate from command line but it said:
PM: Cannot find swap device, try swapon -a
...
4
votes
1answer
905 views
Changing Redhat Network Settings From DHCP to STATIC IP Via Configuration Files
In order to make the statically assigned IP work, I have already modified the file /etc/sysconfig/network-scripts/ifcfg-eth0 as follows:
DEVICE=eth0
IPADDR=10.33.17.143
NETMASK=255.255.255.0
...
0
votes
3answers
8k views
How to read NTFS drives in Linux (RHEL 6)?
My system is on dual boot. I have installed both RHEL 6 and win7 in it. I use RHEL mostly and I want to use my windows' NTFS drive in RHEL. How can I do it? Tell me the procedure.
5
votes
1answer
1k views
Why does redirection (>) not work sometimes but appending (>>) does?
While studying for the RHCE, I came across a situation where stdin redirection does not work in bash:
# file /tmp/users.txt
/tmp/users.txt: cannot open `/tmp/users.txt' (No such file or directory)
...
5
votes
2answers
659 views
What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?
I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security.
After some research from the documentation, this is my understanding of the ...
1
vote
1answer
693 views
Redhat Network Service Restart
I modified the /etc/sysconfig/network-scripts/ifcfg-eth0 file to set a static ip for my redhat. Then I tried to use command "service network restart" to make the change stick, however, it became stuck ...
2
votes
2answers
6k views
How do I get UUENCODE to work?
I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and ...
2
votes
1answer
52 views
RedHat Enterprise Edition Kernel Support
Is there support for Kernel versions 2.4-2.6 in RedHat Enterprise Linux versions 4 and 5?
-3
votes
1answer
130 views
Linux configuration settings
Where are the following configuration files located (e.g., Redhat)?
network settings (static/DHCP/DNS)
timezone
proxy for network
default language
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 ...
0
votes
1answer
516 views
Centos/RHEL 5.5/5.6 supported SCSI adapters
We have a batch of SuperMicro 6014H-82 servers that have Adaptec 2015S SCSI controllers fitted. Unfortunately, according to the bug tracker (0002087: CentOS installer won't detect harddrives) it looks ...
2
votes
3answers
187 views
Trying to remove password echo in Redhat 5 when logging in
I'm running Redhat 5.6 with the gnome display manager. I would like to configure the login manager so that there is no echo of the password when typing it in (no asterisks or the like). I have ...
1
vote
1answer
607 views
Red Hat Kernel Upgrade problem
I'm using a Red Hat 4 Enterprise Linux. But, when I upgrade the kernel, an error occurred. And after, when computer is booting with new kernel (red hat enterprıse 2.6.9-100.el), I receive the ...
1
vote
1answer
191 views
What are the Implications of moving to Huge mem kernel on RHEL4
I've been asked to investigate adding extra memory (> 16gb) to a RHEL 4 server and moving to a huge mem kernel. The server is used for Oracle RAC.
Is it just a case of installing the hugh mem kernel ...
1
vote
2answers
1k views
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 ...
1
vote
0answers
299 views
W2K3 DC: Samba file sharing access permission problem
I want to access SAMBA shares from a Windows Server 2003 domain controller without a password. But, I am receiving a permission error each time. I'm using RedHat 5.5.
# ls -l
total 96
-rw------- 1 ...
1
vote
1answer
2k views
Red Hat and Windows 7 dual boot system
I am looking for the best way to create a dual boot on my Red Hat system.
This is a Red Hat 5.3 System for scientific use, and we need to run some Windows software on it for visualization purposes.
...
3
votes
2answers
162 views
Which RedHat packages for CentOS?
I want to use a RedHat rpm Software Package for CentOS 5.6, but I dont know which version of RedHat works with CentOS 5.6.
RedHat 4 = CentOS 4?
RedHat 5 = CentOS 5?
...