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
8
votes
2 answers

rpm spec: conditional require based of distro version

I'm trying to write a single rpm spec for RHEL/CentOS/SL 5 and 6. This spec is for python app, so there is no differences in build process. But on RHEL/CentOS5 I need to add one additional dependency. How would I define dependency only for el5? I've…
rvs
  • 4,125
  • 1
  • 27
  • 31
8
votes
5 answers

How to add a linux user in single line?

Is there any option to add a user in single line. it includes the password. Dont prompt anything. OS=RHEL 5.5
Albin
  • 89
  • 1
  • 1
  • 3
8
votes
3 answers

Install Python 2.5 on RedHat/Centos

Current Python version is 2.4... yum upgrade python Gives Could not find update match for python Do I have to install from source?
EoghanM
  • 560
  • 2
  • 7
  • 15
8
votes
2 answers

Adding new virtual disks to a RHEL host in ESX "live"

I'm sure I've just missed which tutorial/manual page covers this, but how do you add get the guest OS to recognize that you've added new drives to it without a reboot? I have a RHEL5 guest running on ESX 4. I've added new virtual disks to the VM,…
warren
  • 18,369
  • 23
  • 84
  • 135
7
votes
2 answers

Should I bond iSCSI network connections?

I'm setting up some iSCSI storage (Lenovo) along with a physical server running RHEL7. The server has 2 NICs for the main LAN (bonded) and 2 NICs for the iSCSI network. The Lenovo storage has 4 ports connected to 2 physical switches. The iSCSI NICs…
frozenhelp
  • 71
  • 3
7
votes
1 answer

Used PowerShell to change my RHEL root passwords via PuTTY, but I don't know what I changed my password to

Basically the title. My friend provided me a script to batch change RHEL passwords via Powershell and PuTTY, but the new password I entered doesn't work when I try to log in. I think the issue is that it doesn't escape one of the special characters…
7
votes
1 answer

yum install local rpm throws error if up to date

When installing rpm packages from local file directory it runs fine the first time sudo yum install packages/* -y --disablerepo=* When the same thing is run the second time as part of automated scripts, it throws an error (exit code…
JackLeo
  • 258
  • 2
  • 11
7
votes
2 answers

NTP server architecture

I have a virtual environment running several Linux boxes and I'm planning how to manage all of the ntp architecture. As far as I know, there is no use in having two servers in 'ntp.conf' file, there should be only one or more than three ntp servers…
Edgar Sampere
  • 85
  • 1
  • 9
7
votes
3 answers

How do I create a user with a password in one line, in Bash, on Redhat?

useradd has a -p flag, with which you can specify a password ciphertext encrypted with crypt. But later Linuxes don't have crypt. How can I in a single line, create a new user in RedHat with a pre-defined password? Update to prevent more drive-by…
Elomis
  • 313
  • 1
  • 2
  • 13
7
votes
1 answer

Using systemd for Apache environment variables or SetEnv?

My System: CentOS 7.2.1511 (Core) Apache 2.4.6 I have quite a few environment variables I would like to add to Apache. I am currently doing it by adding into my /etc/httpd/conf.d/vhosts.conf file like so: SetEnv API_USERNAME…
Jeffrey Wen
  • 284
  • 3
  • 11
7
votes
1 answer

What is the benefit of registering an offline RHEL system?

I have a couple of RHEL 7.2 systems, which do not have any online connection - also not through any proxy or satellite. I do have subscriptions which I could attach to the systems as described by RedHat here. Now, my question is: What is the…
silent
  • 432
  • 4
  • 19
7
votes
3 answers

Which CentOS security policy is suitable for a single-purpose server?

I am exploring CentOS as a possibility for hosting a number of servers (mail, web, database, etc). Each machine will have a single purpose, and security is a priority. At the first installation, I am confronted with this: Information about these…
spraff
  • 549
  • 4
  • 8
  • 18
7
votes
4 answers

yum repo responding with [Errno 14] HTTP Error 403 - Forbidden

I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build. The YUM repo resides on the Jenkins server in a repository folder [path to repo]/jenkins-nightly-build/[release name]-repo. After all the jobs are…
scottysseus
  • 427
  • 1
  • 5
  • 10
7
votes
1 answer

403 Forbidden Errors on Red Hat server

This is my first time using Amazon EC2. I'm running a server with Apache 2.4.6, and I can't seem to get it working when I access the public DNS or Elastic IP address. The error message I get is: Forbidden You don't have permission to access…
kaoscify
  • 175
  • 1
  • 1
  • 7
7
votes
2 answers

Why has CD/DVD host passthrough been disabled in CentOS 7 \ RHEL 7?

I'm learning to use the KVM on CentOS 7 right now. For some reason Red Hat decided to disable the possibility of installing an OS on a virtual machine from a CD\DVD-Rom in RHEL 7. When creating a new VM through the VM Manager the "Use CDROM or DVD"…
golem
  • 347
  • 1
  • 3
  • 11