CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
1answer
399 views

Route Client Traffic Through VPN Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
1answer
1k views

Different package versions in different repositories

Following the advise on Using Awesome window manager on CentOS 7, I installed the fedora 19 repository so I could get Awesome working on CentOS7. However, when I run yum update, I am getting this ...
2
votes
1answer
148 views

egrep multiple patterns with dashes

I am trying to match the followings with egrep '201411[08|09|10|11]-[117|111]-' 20141108-111-xyz-abc 20141110-117-342-lala But for some reasons, the 2nd character class pattern ([117|111]) doesn't ...
2
votes
0answers
1k views

Where is module prefork.c settings in Centos 7?

I used to edit the settings in etc/conf/httpd.conf for better memory performance <IfModule prefork.c> StartServers 2 MinSpareServers 3 MaxSpareServers 3 ServerLimit 15 ...
1
vote
0answers
328 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
1
vote
0answers
656 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
3
votes
4answers
330 views

same encryption with /etc/shadow

I'm doing a gui tool for some malware detection script in linux to let server administrators to analyse the result of this script within the web. as I know the encryption used in /etc/shadow is ...
3
votes
1answer
2k views

Install Solaris 8 on Qemu-SPARC

I've been struggling with installing Solaris 8 Sparc-32bit on Qemu for a while. So far I've viewed several sites with instructions on how to install Solaris-sparc32bit on Qemu. But only yesterday was ...
0
votes
0answers
80 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
0answers
1k views

install kde on centos-7

I have a minimal install of CentOS-7. The kernel has been updated to 3.20.0-123-9.2. I installed "KDE Plasma Workspaces". However KDE will not start. I manually installed xorg-x11-server-Xorg as ...
2
votes
0answers
56 views

IO throughput lower when only a single process using the disk?

I am running a busy cacti server on centos and sometimes the rrdtool process is painfully slow when writing to disk, in HTOP the IO Column would display something between 100-300. I a polling cycle ...
1
vote
0answers
226 views

Dual displays, one fixed, one spinning (CentOS 7)

I have 2 monitors and would like to have my setup like this: Monitor = fixed desktop (only 1) Monitor = dynamic, spinning desktop (1+) It was working like this at the beginning but somehow I ...
1
vote
1answer
2k views

export from MYSQL to CSV

How do I export from MYSQL to CSV in mariadb on Centos 7? I am using: Server version 5.5.37-MariaDB Protocol version 10 Connection Localhost via UNIX socket UNIX socket ...
0
votes
2answers
699 views

How to get the ~/.bashrc to work in the native terminal application in Centos? [closed]

The problem I had was to get the .bashrc and .bash_profile and/or .profile scripts to execute by default when using the native Gnome terminal application. I found a number of references which told me ...
2
votes
1answer
865 views

SSSD and autofs

I am trying to set up SSSD to get automount maps from Active Directory. I think my settings are correct but it uses the wrong username to query AD. It takes whatever that is set as "mapname" (behind ...
1
vote
0answers
2k views

CentOS - upstart script is created, but its never running at all

I have this following setup but its not working in my CentOS 6x (3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux) Step 1: vi /etc/init/a.conf description ...
2
votes
1answer
3k views

Mounting NFS via systemd in Centos 7

I am trying to mount an NFS share on a CentOS 7 box using systemd. This is my /etc/fstab entry: 10.0.0.104:/export /mnt nfs ...
0
votes
0answers
45 views

Possibly Compromised - ./brute xml2014 user x08 300?

I have a long list of a process called "./brute xml2014 user x08 300" when I type in "ps aux". What does this mean? Does this mean my server is being used as a DDoS bot? Here's a screenshot of what ...
1
vote
0answers
76 views

Giving a user SFTP access only with access to subdirectory outside of home?

I have user [USER A] account which contains scripts and a downloads folder. I would like to create a new account [USER B] so that the user has read/write (SFTP and not full SSH) access to their home ...
5
votes
1answer
5k views

Is there an init.d start log?

I am experiencing a problem with an init.d script (the service won't start), so I'm wondering if a log is available so I can fix the problem.
0
votes
1answer
110 views

Backup Mails to new server

I have a custom domain hosted with Microsoft Outlook mail service. now they are not offering creating new accounts under my domain and I decided to move new server. so I configure all the things with ...
6
votes
1answer
5k views

CentOS 7 boots too fast and network is not ready when executing cron scripts

I have just upgraded from CentOS 6.5 to 7.0 and I am not too happy as the new systemd is probably giving me problems. It seems it is just simply booting too fast, starting up processes asynchronously ...
2
votes
1answer
3k views

disable persistent network device naming [duplicate]

I have CentOS-6.5 running in qemu-based virtual machine, with a single ethernet interface, which surprisingly is being renamed by udev from eth0 to eth1 for whoever knows reason (!) So I want to to ...
1
vote
1answer
152 views

Installing packages on multiple Centos machines

I have to install standard package like java 1.7 in 40 of my lab machines which are connected over a LAN. I know I can simply write a shell script to install something in user space of each system, ...
3
votes
1answer
233 views

How did my default file permissions get changed from 666 (before umask settings) to 04501

I have an installation of CentOS 6.5 that suddenly started having issues with dealing out file permissions on new or recreated files. when I create a file with touch, instead of the usual 644 or ...
5
votes
1answer
972 views

Why would whois take up 100% of the CPU?

Running top on my CentOS web server shows an instance of whois running from 99-100% of one of the CPUs. I've not knowingly used whois on this server before, would it be safe just to kill this ...
2
votes
2answers
697 views

Interdependent conflicting packages in CentOS 6.5

I've been using CentOS 6.5 as my OS for quite a while. Usually I don't have many problems with Linux installations, but as they new CentOS 6.6 was released I found myself in a bit of a problem. There ...
2
votes
1answer
4k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
1
vote
0answers
46 views

Huawei(e303s) installation in centos 6.4

I have installed CentOS 6.4 in my system. I connected Huawei(e303s) with airtel 3g,tried installing the driver provided with Huawei its getting installed with some error. It shows error like : The ...
1
vote
0answers
208 views

Tor install on CentOS server

I have followed the instructions provided here: https://www.torproject.org/docs/rpms.html.en However, when running yum install tor, i get the following dependency error: Error: Package: ...
1
vote
1answer
226 views

Fatal Error while trying to detect swap signature

I've installed CentOS 6.5 On VMWare Workstation. I added a SCSI Virtual Disk (.vmdk) to this Machine when it was Powered On. I decided to store the Disk as a single file & allocated all disk space ...
4
votes
1answer
1k views

Centos 6.5 not able to login with public key and login is sloooooow

I set up a new system with CentOS 6.5. I copied my public key key with: ssh-copy-id root@192.168.1.202 It took 15+ seconds for the password prompt to show, but then it copied. However ssh to ...
0
votes
1answer
249 views

Auto code completion in GEdit and VIM, for C++

Being a Visual Studio fan, I am just wondering if I can have same feature in GEdit and VIM. PS : I’m new to VIM and currently using CentOS and Ubuntu.
3
votes
1answer
2k views

Using X-Windows from Windows 8.1

I have a Linux box that I don't have physical access to, but I do have SSH access. I'd like to know is if there is something similar to SSH or Telnet that would allow me to use Gnome or KDE instead of ...
3
votes
1answer
343 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
2
votes
2answers
1k views

How to remote install CentOS/RHEL 7 using a rescue image like GRML?

Assuming a remote machine where you can PXE boot into a GRML image that also provides ssh access. Now the question is how to install CentOS in such an environment. Something like KVM access is not ...
13
votes
1answer
41k views

Nslookup: command not found error on RHEL/CentOS 7

During linux installation I selected "minimal" option: When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example ...
1
vote
1answer
3k views

CentOS 7 cpupower not setting the CPU's to maximum

On my machine, i have power savings disable on the BIOS. When I run Ubuntu on this machine, the CPU's are running maximum at 2100 MHz. However, when I'm running CentOS 7, even with the scaling ...
1
vote
1answer
599 views

Stopping postfix - are messages queued when postfix is idle?

I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out. I am planning to issue service postfix stop ...
1
vote
1answer
598 views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
1
vote
1answer
159 views

CentOS machine keeps “losing” active directory membership

All of our CentOS 6 machines have been joined to our active directory domain. Each of these machines eventually "loses" their domain membership, which breaks authentication for AD users. I created a ...
1
vote
0answers
183 views

Download & install Report Lab on CentOs

I am following this link to install report lab and download parts of googlebooks as pdf. However, I am on CentOs 5, can not use apt-get, probably I need to use yum, but I do not know how. Any ...
2
votes
0answers
249 views

CentOS invalid system activity files

CentOS 6.5 server has a cron job that converts system activity files to system activity reports once per day. Periodically, sometimes as a one-off, sometimes every day for a week or more, the cron job ...
2
votes
1answer
798 views

tmux unable to start a new session? “1;2c”

Introduction I just installed tmux onto my CentOS 7 machine, but I have encountered a bewildering issue. Whenever I try to attempt to start up a session using tmux or tmux new -s session-name, it ...
2
votes
2answers
2k views

How to use sudo to delete the contents of a directory

I have a legitimate need to empty a directory to which my account does not have access (it is a cache directory used by an application, and is owned by the account that runs the application.) My ...
4
votes
1answer
7k views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
0
votes
0answers
225 views

problem installing oracle instant client on my centOS machine

I have downloaded and extracted the rpm package instantclient-basic-linux.x64-12.1.0.1.0.zip from oracle website and extracted it in /usr/lib/ where the current path is: ...
2
votes
0answers
348 views

Why don't I hear audio playing from my CentOS 6.5 Vagrant box?

I want to play a wave file from my CentOS 6.5 Vagrant box using aplay and of course I want to hear the sound. This is what I do: > aplay sine.wav Playing WAVE 'sine.wav' : Signed 16 bit Little ...
1
vote
1answer
239 views

Why are --older-than and --younger-than killall options missing in RHEL/CentOS?

I've experienced this issue in cleaning up scripts written by developer who were writing for Ubuntu systems, as well as ServerFault questions like this. Is there any reason the -o, -y (--older-than ...
1
vote
1answer
30 views

Get summary count of all patches applied to a server?

Is there an easy way to get a count of the total number of patches applied to a server over a time frame, or even in summary?