Questions tagged [redhat]

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite. Please also consider whether or not the more specific RHEL5 or 6 tags might be appropriate as well.

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite.

3259 questions
10
votes
4 answers

Importing ca-certificate chain (.crt) - RHEL7

I am fairly new to this but I've done some internet research the last 2 days and I couldn't find an suitable answer. I have been given a ca-certificate chain (cacertchain.crt) which I need to import to a server running RHEL7 (no GUI). The server has…
daelas
  • 311
  • 1
  • 2
  • 7
10
votes
2 answers

How does yum with Red Hat Network Subscription work inside the rhel Docker images?

Red Hat Enterprise Linux 7 includes official support for running Docker containers, and Red Hat offer a set of official rhel Docker images. An interesting feature of these images is that packages can be installed via the host's Red Hat Network…
Leynos
  • 216
  • 2
  • 5
10
votes
1 answer

Move space from one volume to other

I have one setup where / has 50G space. I want to increase space for /. [root@testsyst ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_testsyst-lv_root 50G 22G 26G 46% / tmpfs …
Nilesh
  • 255
  • 1
  • 6
  • 18
10
votes
1 answer

What is the recommended method to prepare Red Hat/CentOS 7 templates?

If I need to deploy Red Hat 7 from template, I would like to take the recommended steps to make my "golden image" clean. It should boot to the first boot prompt and guide the user through the typical steps. In Red Hat 5/6, I followed the…
Aaron Copley
  • 12,525
  • 5
  • 47
  • 68
10
votes
5 answers

NTP local query always times out

I have a CentOS 6.4 server, it does not have any iptable rules, it runs NTP daemon as service using the following configuration: driftfile /var/lib/ntp/drift server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server…
Howard
  • 303
  • 2
  • 4
  • 11
10
votes
2 answers

What are the disadvantages of disabling tinker panic 0 in NTP?

We sometimes have the problem that new servers have the wrong time in the bios, so there time can be off by a month. When you suspend a VM in VMware and then unsuspend it, the time will be off too. Because NTP does not sync after a maximum offset, I…
ujjain
  • 3,983
  • 16
  • 53
  • 91
10
votes
1 answer

What is nsswitch compat mode?

Red Hat recommended me compat mode in /etc/nsswitch.conf as one of the options to enumerate LDAP users, but later said that it's not a much-used method. nsswitch.conf passwd: files compat passwd_compat: ldap in passwd file, add +@netgroup. What is…
ujjain
  • 3,983
  • 16
  • 53
  • 91
10
votes
1 answer

What is the difference between init 6 and reboot on Red Hat / RHEL / CentOS?

In Linux, the init 6 command gracefully reboots the system running all the K* shutdown scripts first, before rebooting. The reboot command does a very quick reboot. It doesn’t execute any kill scripts, but just unmounts filesystems and…
ujjain
  • 3,983
  • 16
  • 53
  • 91
10
votes
4 answers

How do I get ec2 Linux instance info while logged-in on the command-line (public dns, AMI, etc.)

I want some way of identifying which instance that I'm on when I ssh into a Linux ec2 instance. I would like to be able to uniquely identify the instance from the command-line and correlate this to http://console.aws.amason.com Any of the…
Rob Bednark
  • 215
  • 1
  • 2
  • 9
10
votes
2 answers

Run as different user

On a RedHat system, i'm trying to launch a program with a different user who dont have any shell. In /etc/passwd, shell is /sbin/nologin. I have tried: su myuser -c /home/myuser/script.sh Result: This account is currently not available. With chown…
Karl
  • 103
  • 1
  • 1
  • 4
10
votes
2 answers

Changing boot device for a QEMU-KVM virtual machine

I am trying to change the boot device for a VM. I go to the VM's XML file in /etc/libvirt/qemu and set . Still, it attempts to boot from the harddrive instead of the cdrom. I know I have an ISO image loaded on the CD-ROM virtual…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
10
votes
4 answers

yum-security for CentOS?

Last time I checked I was able to install yum-security in CentOS but since it doesn't use the official redhat mirrors I was unable to get it to actually work. Is there a way to make yum-security work or is there an alternative to yum-security on…
Jared
  • 1,420
  • 2
  • 16
  • 23
10
votes
5 answers

How to install gparted on CentOS

I tried yum install gparted It says no package found. Can I install rpm packages in CentOS or is that only for RedHat? I mean, if I have rpm for RHEL, can I install it on CentOS 5?
John
10
votes
5 answers

How do I install a yum package group with puppet?

Does puppet have a way to install a yum package group (e.g. 'Development Tools'), besides exec?
joeforker
  • 2,399
  • 4
  • 26
  • 35
9
votes
5 answers

Why does Red Hat Linux report less free memory on the system than is actually available?

I have a relatively small home Red Hat Linux server (about 8 GB RAM). I don't use it for much other than running some home grown apps to keep track of various things. The only real things running on the box are a database and a web server. I've…
Aaron K
  • 1,525
  • 5
  • 18
  • 16