9
votes
2answers
487 views

( /etc/sysconfig/iptables ) “Manual customization of this file is not recommended.” Why?

Editing this file directly /etc/sysconfig/iptables can save me so much headaches so much time and so on... and yet on the very top of the file it says.. Manual customization of this file is not ...
2
votes
3answers
503 views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried https://fedorahosted.org/SoftwareCollections/ but unfortunately its for RHEL after installing i ...
0
votes
1answer
66 views

What is the foolproof/proper way to set hostname and domain on CentOS

I've seen a few ways of changing hostnames of domain names. One way is to issue the hostname command followed by the name such as: hostname localhost.localdomain /etc/sysconfig/network also has a ...
4
votes
1answer
72 views

STIG (Security Technical Implementation Guides) automation

Has anyone here found the best way to STIG a version of RHEL 6.x automatically? The other answers I have found are either out of date or do not completely STIG the machine. Even an image that has a ...
4
votes
2answers
37 views

NFS: share with all clients except one

I want to share a folder with all the network's clients except only one. This is my current /etc/exports file: /opt/resources *(rw,async) What should I add to prevent the client 192.168.1.24 ...
0
votes
1answer
28 views

Building rtmpdump on RHEL x86 without yum and no root rights

I have an ssh connection to a RHEL x86 machine, and I can't use yum and I don't have root rights. Is there a way to still install rtmpdump? By looking at this tutorial, it seems that installing ...
1
vote
3answers
170 views

What commands are available in the %pre section of a Kickstart file on CentOS?

Environment: CentOS 5.5 and 6.4 I have a request to analyze the hardware before installation to make sure our customers don't install our software on sub-standard server hardware. For example, ...
0
votes
3answers
50 views

Iptables in linux

Please explain me the use of bold character below iptables -A INPUT -i eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT -A -i -p -m state --state -j
1
vote
4answers
144 views

How to check physical device contents

I got a server with 2 hard drives. I would like to know what is on 2nd drive. How would I list all contents on physical device ? lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 ...
1
vote
0answers
21 views

Can a RHEL 6.4 DS sync with a CentOS 5.4 DS

I have two CentOS 5.4 Directory Servers that sync information on a daily bases. I'm wanting to replace them with two RHEL 6.4 Directory Servers. Before the existing two are decommissioned all four ...
2
votes
2answers
430 views

Automate DISA STIG controls for RHEL/CentOS?

I am deploying systems that must be configured using the Red Hat 6 (v1r2) Security Technical Implementation Guide(STIG) published by the Defense Information Systems Agency (DISA). Link to site. I've ...
1
vote
0answers
56 views

Looking for an advanced Linux podcast [closed]

I am looking for some more advanced linux podcasts then I have been able to find so far. I commute 3+ hours each way. This is a great time to catch up on tech, learn some things I may have missed. ...
0
votes
0answers
31 views

Citrix printing problem on centos - hp

I have setup Centos 6.3 - 6.5, installed wine and running Citrix app. I can print perfectly Wine based apps (i.e. wine notepad) but when printing Citrix through wine it is printing ASCII characters. ...
-1
votes
1answer
47 views

Removing files and symlinks like /etc/*release. Could it cause issues?

I just got a VM running on CentOS 6.5 and ls -l /etc/*release returns a number of files like /etc/centos-release, /etc/lsb-release, and /etc/redhat-release. The last one, /etc/redhat-release, is a ...
0
votes
1answer
64 views

Commercial support for CentOS [closed]

As you know CentOS is taken over by RedHat, so i boils out couple of points as mentioned here. Will CentOS remain complete free as it was(is) before(now)? Can we expect upgrades of CentOS in future, ...
1
vote
2answers
965 views

CentOS how to update Ant Version to 1.8.x and higher?

I'm using CentOS v6.5 and installed Ant by using: yum install ant But it came with Ant version 1.7.1. And i need the latest Ant version 1.8.0. How to properly get the latest Ant version 1.8.x (or ...
1
vote
0answers
56 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
2
votes
1answer
383 views

Differences between %pre and %post in Kickstart on CentOS?

I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file. The CentOS Documentation for the ...
0
votes
0answers
51 views

What is the correct repository to add for `debuginfo-install glibc` for RHEL 6?

I am trying to install debug-info for glibc on RHEL 6. The closest instructions I could find for adding the repository is at the answer to this question. However, that question is about CentOS, which ...
1
vote
1answer
119 views

Create service from command [closed]

I have following command which I try to setup to run on startup: su -l hive -c "nohup hive --service metastore > /var/log/hive/hive.out 2> /var/log/hive/hive.log &" I was thinking about ...
1
vote
1answer
78 views

What problems should I expect when adding a CentOS yum repository to RHEL?

I've added the CentOS 6 Updates yum repository to my RHEL 6.4 machine. That's because RHEL doesn't ship with the php-snmp package - and the easiest one to find is on the CentOS site. Anyways, this ...
1
vote
1answer
2k views

Uninstall JDK rpm to reinstall

Where do I find the JDK install to uninstall? @terdon had explained using an rpm type download so it would be easier to uninstall, but I cannot find it.
0
votes
1answer
192 views

CheckInstall on CentOS

I am attempting to make CheckInstall on a clean version of CentOS however I am having difficulty, I receive the following error: [root@host checkinstall-1.6.2]# make for file in ...
1
vote
1answer
2k views

yum installs an old version of cmake

For some reason when I run yum to get cmake it will install an older version. Could it be because my repo list is not complete? I'm on CentOS 6 using a minimal desktop install from the non-net install ...
1
vote
3answers
57 views

Yum not working

When I try to execute yum I get this: My guess is I need to start the Ethernet connection because I cant ping and this is what what we do with SL6. I'm new to CentOS that is why I ask. I've ...
0
votes
1answer
111 views

rails command getting removed from $PATH after resume from hibernet

i came across a very strange issue. i have installed rails through rvm & tested the installation. next day when i logged into system neither ruby nor rails command was found. I reinstalled ...
5
votes
1answer
359 views

rc.local with read will not echo key strokes

I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
1
vote
0answers
165 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the ...
0
votes
0answers
107 views

Installing Upstart on Centos 5.10 Final… pkg-config dependency issue

I am trying to install upstart version 1.11 from source on a Centos 5.10 Final box. BTW I don't have option or privileges to upgrade this. I am at this point where it is complaining about the ...
2
votes
2answers
2k views

Problem Starting MySQL on new Centos 6 build

I have a VPS with ChicagoVPS that's running Centos 6. Official version of the build is: Linux RedHat 6.5(Final 2.6.32-042stab078.26 x86_64) I followed this guide to add the repository and ...
2
votes
3answers
84 views

How do I find out which RPM was used to install PHP?

I have PHP installed on a server and I'd like to know which RPM it was build off of (webtatic or remi). How do I find this out. Also, how would I find out if and when that changed?
1
vote
0answers
66 views

Listing previous logins through sftp

Hello people of the stackexchange, I am having a little difficulty trying to find a location of a particular log file which i'm hoping someone on here could help me with. What i am trying to do is ...
1
vote
1answer
281 views

Why does getfacl remove the leading / from absolute pathnames?

I'm in the midst of learning about ACL's for Centos/Red Hat 6 and when I run getfacl using an absolute path I of course get among the output: getfacl: Removing leading '/' from absolute path names ...
0
votes
2answers
9k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
4
votes
4answers
2k views

Question about using pdflatex on RedHat in CentOS

I am a novice in using Linux systems. I was given an assignment of writing a document using LaTeX and converting the file into a pdf file to submit. So I tried using my CentOS to do so. The version ...
2
votes
1answer
387 views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
2
votes
1answer
66 views

Is there a more proper place than /etc/rc.local for writing to configure binfmt?

I want to be able to run clr (>NET/mono) exes on my redhat machines, so I add the following to /etc/rc.local: echo ':CLR:M::MZ::/opt/mono-head/bin/mono:' > /proc/sys/fs/binfmt_misc/register This ...
0
votes
2answers
421 views

GCC compilation - where the __stack_chk_fail@GLIBC_2.4 symbol comes from?

I'm using GCC 4.7.2 from devtoolset package on CentOS 5 (CentOS 5 because we need compatibility with old Linuxes, and GCC 4.7 because it optimizes better than 4.4). There is one symbols that prevents ...
0
votes
2answers
613 views

Does Yum have an equivalent to apt / aptitude's DEBIAN_FRONTEND=noninteractive?

On Ubuntu you can use something like this: export DEBIAN_FRONTEND=noninteractive sudo -E apt-get update Which will prevent things that require input (choosing grub versions or conflicts between ...
0
votes
1answer
693 views

Cannot create new service with xinetd in RHEL6

I've installed the Nagios on My RHEL 6.4(x64) machine. and i added one more module name called "NSCA" for some central monitoring solution.so the setup required add NSCA service detail under xinetd. ...
5
votes
1answer
351 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
2
votes
1answer
406 views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
0
votes
1answer
49 views

CentOS - acts abnormal every week and causes my whole setup to be down, how can I rollback / restore back to one week?

I have CentOS and Red hat enterprise Linux running, where I have now working Google Apps Engine and related other Python web applications. Every week or depending on any Google Apps Engine latest ...
4
votes
2answers
418 views

When running to a run level does it execute previous run levels?

If I tell my system to go to run level 3 does that mean that it first runs through run level 0, 1, 2, and then finally runs through run level 3? I thought the answer to this question was yes. But ...
1
vote
1answer
335 views

CentOS vs RedHat on hp DL 380 G5

hp lists downloads for: » Red Hat Enterprise Linux 5 Server (x86) » Red Hat Enterprise Linux 5 Server (x86-64) » Red Hat Enterprise Linux 6 Server (x86) » Red Hat Enterprise Linux 6 Server ...
-1
votes
1answer
163 views

How do i change the password for root using webmin, where i have no more access as root?

I changed the root password, using webmin it shows me successfully done. $ uname -a Linux .com 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux $ echo -e ...
1
vote
1answer
176 views

Bonded Interface Pair Performance Difference b/w CentOS 6 and RHEL 6

I have two new dell servers, both pretty close to the same hardware. One has RHEL6 installed and one has CentOS 6 installed. I have the machines configured identically from a network-scripts, ...
1
vote
2answers
178 views

Distro agnostic init script dependencies

I'm trying to write an init script which will be able to handle basic dependencies (for example, It has to be started (just) before MySQL service starts). Is there a distro agnostic way to write such ...
1
vote
3answers
85 views

How can I determine which commands are installed by default on Ubuntu, CentOS and Red Hat?

I was surprised to discover that curl didn't come bundled as part of Ubuntu. Is there a canonical list of included components Linux commands that I can check for these three operating systems?
1
vote
2answers
4k views

On Red Hat Enterprise Linux 6.2 how can I use Python 2.7 as default not Python 2.6? I did but still showing 2.6?

RHEL 6.2 I have python 2.6 but I need default python 2.7 using yum packaging (so that nothing goes messed up, cause its a heavy duty working system, all I need the python 2.7 on it, without messing ...