CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

0
votes
1answer
9 views

CentOS 7 image naming conventions

I'm looking at the following on CentOS 7: boot$ ls config-3.10.0-229.7.2.el7.x86_64 config-3.10.0-229.el7.x86_64 grub grub2 initramfs-0-rescue-9fde7dd9a7884e1b8fdef68620955b36.img ...
0
votes
1answer
24 views

date keep showing wrongly everytime after reboot

[root@sjoam2 ~]# date Fri Jul 31 04:04:18 SGT 2015 [root@sjoam2 ~]# hwlock -bash: hwlock: command not found [root@sjoam2 ~]# hwclock Fri 31 Jul 2015 04:04:27 AM SGT -0.797288 seconds [root@sjoam2 ...
1
vote
0answers
34 views

Memory Usage of `yum update`

I was updating a slightly out of date server with yum update and ran into memory issues. It appears that yum requires enough free RAM to download each package. Updating single packages was not a ...
1
vote
2answers
15 views

Centos 6.5 directory size is incorrect using du command

I 'm running the du command on one of my websites directories and I'm getting 2 different result, I'm confused which one is accurate and why there is a big difference, here both command and the ...
-1
votes
0answers
18 views

Add a package(RPM) to CentOS ISO

I'm having some trouble trying to install CentOS 7 (Everything iso version) on my Laptop with OSX Yosemite installed (Hackintosh). The error prompts when starting installation because it looks for ...
0
votes
3answers
36 views

how to insert a text file in hosts.allow or hosts.deny?

So I read in man page of hosts.deny that i can input files in /etc/hosts.allow or hosts.deny to input ip addresses which i want to block or deny. So i tried doing this in hosts.allow sshd: ALL ...
1
vote
2answers
28 views

how to gzip and scp at the same time

I have a file in which i wanted to zip up and at the same time transfer over to another host using scp. I tried to do the following command but failed. I do not mind zipping up and scp over later, ...
0
votes
1answer
31 views

Simulate a serial port that actually is an internet port [on hold]

In CentOS, how do I make a fake USB serial port that is actually an internet port (like port 80 for http)? Edit: I'm sorry that I didn't make it clear. I'm trying to make a server-side compiler and ...
2
votes
1answer
18 views

CentOS - Trying to backup/restore a MySQL database?

My CentOS 6 server got a server issue, so customer support took a backup of my server and reinstalled it. The backup is in a folder called /home/42406. I'm trying to find my MySQL database called ...
0
votes
0answers
4 views

Execute script on failover Corosync Pacemaker

I'm searching to execute script on failover with Corosync Pacemaker. I use Centos 7 with pcs, I have 2 server master and slave. I used a copy of Dummy script and this is my code; <shortdesc ...
0
votes
0answers
12 views

CentOS - Mouse and keyboad do not work after deleting /var/cache

My mouse and keyboard do not work anymore in CentOS 6.5 after I deleted /var/cache and restarted my PC.
0
votes
0answers
12 views

Modprobe vboxdrv failed centos

I am trying get Virtual box running in Cent os7 So far the vbox kernel compiles but will not start I'm just told "modprobe vboxdrv failed, please use dmesg to find out why" I have looked at "dmesg" ...
1
vote
1answer
30 views

What's the equivalent of .bashrc for CentOS?

By configuring ~/.bashrc as desired, each time the user logs into their bash shell the configured settings (of .bashrc) will automatically be set. Now I must be missing something but despite thorough ...
0
votes
0answers
35 views

CentOS 7 - resolution on login screen

Ive set the screen resolution on my CentOS 7 VM. But although the resolution is correct once I've logged in, the login screen resolution is far too high. I cannot find a way to change it. Does anyone ...
2
votes
1answer
81 views

How can I install CentOS on the Windows Intel Compute Stick

Intel Compute Stick comes in two versions: one with Windows 8.1 and one with Ubuntu, but the Linux version has half the RAM and far less internal storage and nearly impossible to buy. So I am ...
0
votes
0answers
28 views

How do you setup SCM Manager to use SSL, and not run off of port 8080?

I am trying to use SCM Manager to host a Mercurial repository, running off of a CentOS box, and the accessing machines are Windows 7 (if it matters). I have gotten the default setup to work, however I ...
0
votes
0answers
22 views

Changing I/O scheduler for SSD

I have many CentOS systems, some of them have traditional hard disks, some SSD, and some mix of them. I would like to change scheduler for SSD to deadline. So at runtime I can simply scan check ...
0
votes
0answers
22 views

Execute script on failover Corosync Pacemaker [closed]

I'm searching to execute script on failover with Corosync Pacemaker. I use Centos 7 with pcs to administrate pacemaker. I have 2 server master and slave. I use failoverIP and I'm searching to ...
0
votes
0answers
15 views

Connecting via windows remote control to Centos(Xrdp)

I'm having a problem of printing text in code editor via rdp. I think problem a rise a specially using shift + key and F1- F6 keys, for example: When trying to print ":", I usually get: ...
1
vote
0answers
15 views

PostgreSQL and database cluster ownership on shared storage

For my research, I am using an always on virtual machine for the primary analysis of my data. In doing this I need (or, I suppose, would like to) create and store the data in a PostgreSQL database. ...
0
votes
0answers
14 views

How to install and configure Nagios-MNTOS? [migrated]

I just tried to configure MNTOS for my 2 Nagios server. I'm very new to this tool. I do not get a clarity on the installation. Should i install MNTOS on a separate server or any of my 2 Nagios ...
0
votes
0answers
16 views

Centos second router. After ~ 1 day no internet whole network

I have a weird situation. I have a TWC home internet line connected to a motorola sb6141 to a Linksys EA6300(w/ ddns) connected to a centos home built router I use for a second protected network ...
1
vote
1answer
31 views

Removing /tmp partition, what will happen?

We have a CentOS 6.6 server running, which is using a Raid0 on SSDs for the /tmp mount point (used for fast i/o). These SSDs need to be removed from the server, so the device where /tmp is pointing ...
0
votes
1answer
48 views

Can't write to an Intel 750 series PCIe SDD in CentOS 7

I am attempting to install an Intel 750 series 400 GB PCIe SSD card into a CentOS 7 system. The SSD shows up as /dev/nvme0 and /dev/nvme0n1 Attempting to format it with fdisk /dev/nvme0n1 results ...
0
votes
0answers
16 views

Postfix install fails. MySQL conflict

I'm using CentOS 6, and trying to create a virtual mirror on a new server of an old one (which someone else setup). As much as possible, I want keep everything with the same version, but I've started ...
0
votes
1answer
20 views

CentOS filesystem mount

I have set up a CentOS server and am administering it using Webmin. (I know webmin is generally frowned upon, but it is how I was taught to work on Linux and I only know basic ssh) The root drive ...
0
votes
1answer
28 views

Accepted publickey for userx from y.y.y.y (ssh authentication)

Server A and B is setup for autoSSH I am on ServerA (y.y.y.y) and is accessing ServerB. I understand that A's public key is store in B and is use by B to encrypt the challenge to A when A connect. ...
1
vote
1answer
17 views

“yum update” failed in Cent OS 6.4

Got strange error on Cent OS 6.4. I started a new Cent OS 6.4 and here is what I got: # yum update Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Error: Cannot ...
1
vote
1answer
42 views

redirection - why it doesn't work this way

I know there are 3 streams attached to a process when it is run namely the input, output and error stream. And redirection execution work from left to right. I intend to execute a command, redirect ...
1
vote
0answers
26 views

How to disable XAMPP/Apache from returning server IP address along with ServerSignature?

I am trying to configure a webserver on CentOS 6.4 using XAMPP. The only problem I am facing is that I don't seem to find a way to disable the server from returning server IP address along with ...
2
votes
2answers
32 views

bash script.sh vs ./script.sh vs #shebang

Assuming i am in a bash shell now and i execute the following [me@server]$ bash script.sh q1) Is a new child bash process created to execute the script ? If i do a [me@server]$ ./script.sh q2) ...
1
vote
1answer
46 views

Cannot SSH to localhost without password

First off, I want to say that I've tried everything in this question here, and it didn't help me: How to SSH to localhost without password? I had a file permissions issue recently because I don't ...
1
vote
0answers
89 views

OpenVZ fails on container create (Unable to get appcache tarball name)

I have OpenVZ installed on CentOS 7.1. after i execute vzctl create 101 --ostemplate debian-7.0-x86-minimal i get command /usr/sbin/vzpkg exited with error 8 Unable to get appcache tarball name ...
0
votes
1answer
41 views

application that uses xforwarding fails unless I use xhost +localhost

I'm connected to a remote system over nomachine enterprise. We use an internal application that I believe is essentially xforwarded from another machine as I run it - it runs there, and outputs the ...
1
vote
2answers
41 views

How can I put my CentOS on public IP so that I can access it WinSCP from home?

I have a centOS system at office and I want to access it from home via WinSCP. I have a static public IP at office. Please help!
0
votes
1answer
39 views

PuTTY working, Terminal SSH is not (with Private Key)

Setup a new server (on Rackspace), got it working in PuTTY/KiTTY. When I run from terminal (Cmder), it asks me to enter a passphrase (which PuTTY doesn't), I hit "enter" (there is no passphrase), ...
1
vote
1answer
38 views

Unable to view contents of directory on Linux server via FTP, or using “dir” via shell, able to find files within directory nonetheless

I have a directory on my Linux (CentOS) server which serves as a repository for uploaded files from a webpage. I noticed I was not able to open the file using Filezilla via FTP (was formerly able ...
0
votes
0answers
7 views

How do you get CentOS 6 to auto detect changes to NICs?

So, here's my issue. I'm managing many CentOS 6 based virtual machines, many of which are expected to be shared between different developers and some even are to be cloned and launched on central VM ...
1
vote
1answer
24 views

Error with command cut: the delimiter must be a single character

I am trying to run this command from console: # HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1` But got this error: Try `cut ...
2
votes
3answers
82 views

difference between ${} and $() in shell script

$ echo $(date) Thu Jul 2 16:33:11 SGT 2015 $ echo ${date} $ name=foo $ echo $(name) ksh: name: not found $ echo ${name} foo Seems like ${variable} is the same as $variable. while $() is to ...
-1
votes
0answers
40 views

shell script finish but doesn't exit

I have 2 shell script a.sh and b.sh which is running under ksh. a.sh does the following action #!/bin/ksh some action check condition and send email if fail or success call b.sh b.sh does the ...
0
votes
0answers
22 views

Linux Redhat account claims locked even after unlocking

The local linux account won't allow the user to login even after unlocking it. The following command provides the following output: [userBar@host]$ sudo usermod -U userFoo [sudo] password for ...
0
votes
0answers
6 views

Application icon in Gnome 2 panel

I am using a closed source application on CentOS 6.6. The application comes with a wrapper bash script, that sets some environment variables and then executes the actual binary. I have created a Gnome ...
3
votes
4answers
62 views

fdisk - do i need it or can i make a filesystem directly?

i read about fdisk being able to creation partition / which is to break down a physical disk into several logical partitions. If i intend to utilize the whole disk as a whole, is it still necessary ...
0
votes
1answer
45 views

In CentOS 6.6 yum update show some dependency error

When I update centos package it (sudo yum update). It shows following error like. Error: Package: 1:control-center-2.28.1-39.el6.x86_64 (@server1) Requires: libgnome-desktop-2.so.11()(64bit) ...
0
votes
1answer
33 views

Understanding fdisk -l output and calculating storage

I have basic understanding of disk. (Please correct me if i am wrong) I understand on 1 platter, there are 2 heads, 1 on top, and 1 on bottom. Both side of the platter is able to provide storage ? On ...
0
votes
0answers
24 views

CentOS / RedHat DHCP working, static is not

I have installed CentOS 7 minimal install without GUI when I setup network configuration with Webmin web interface or manually editing files with VI it does not work. When I use e.g. "yum search ...
0
votes
1answer
68 views

devices inside /dev - are their naming persistent by default?

Can i check if devices like sda , sdb naming in /dev/ are persistent by default or there are some udev rules in place to create persistent naming for them ? Does udev itself create device naming ...
2
votes
1answer
64 views

udev symbolic links - where is /dev/sda pointing to

It is said that udev create symbolic links identifying the actual device and /dev/disk/by-uuid is an example. [root@centos1 by-uuid]# pwd /dev/disk/by-uuid [root@centos1 by-uuid]# ls ...
1
vote
2answers
37 views

Allow SSH direct Root user login to particular IP addresses

I have configured ssh login disable direct root user, configuration are, /etc/ssh/sshd_config Port 1845 PermitRootLogin no AllowUsers SKBFSXDWA I would like to direct root login to specific ...