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
22 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
21 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
4 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
16 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 ...
1
vote
3answers
39 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
22 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
12 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
5 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
52 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
27 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
25 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
21 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
59 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
48 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
25 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 ...
0
votes
0answers
10 views

Eclipse on new VM cannot download stuff, why not?

I copied eclipse into a new VirtualBox CentOS 7 virtual machine from another computer, but how do I get it to allow eclipse to download stuff from the internet? Here is the problem: Eclipse works, ...
0
votes
2answers
28 views

udev - am i using it, where do i see it?

It is mentioned that udev present devices in /dev for devices that are presented to the kernel and it is use to create persistent naming. I have having 2 harddisk /dev/sda /dev/sdb. How does ...
-1
votes
0answers
23 views

Correct kmod-megasr driver to install CentOS 7 on Intel Embedded RAID Technology II?

I am trying to install CentOS 7 on a server using RAID 5 on Intel Embedded RAID Technology II. I did need to install a special hardware key to unlock the RAID 5 feature. I have succcessfully ...
0
votes
0answers
17 views

Unable to connect to the proxy server

I have a vps with centos 6.6 x64 and I installed Squid using this tutorial When I using the proxy in chrome with "Proxy SwitchyOmega" extension I got this error Unable to connect to the proxy server ...
0
votes
0answers
15 views

Failed to start nginx on CentOS

I installed nginx on Centos7, I'm unable to start the service: #service nginx start Starting nginx (via systemctl): Job for nginx.service failed. See 'systemctl status nginx.service' and ...
0
votes
2answers
33 views

DHCP server used reserved IP

I am using DHCP server on centOS 6.5, I reserved an IP for specific MAC address my config file /etc/dhcp/dhcpd.conf option domain-name-servers 192.168.1.5, 8.8.8.8; ...
1
vote
2answers
18 views

How to delete all files and directory except one named directory from a specific folder in centos [duplicate]

I want to delete all files and directories from a specific directory except for one directory. For the same operation I had run this command # rm -R -df !(dir_name_not_to_delete) It works in Ubuntu ...
1
vote
1answer
26 views

how do I copy large datasets between two VirtualBox virtual machines?

I have two separate CentOS 7 virtual machines running in VirtualBox that is installed in a Windows 8.1 host. How do I transfer large amounts of data from one of the CentOS 7 virtual machines to the ...
5
votes
3answers
58 views

Is sendmail a smtp server? Is there any difference between MTA and mail server?

I am new to mail and do not exactly know how it works. I have seen administrators use sendmail to send out email. Is sendmail a smtp server or is it a client that need to relies on smtp server to ...
0
votes
1answer
36 views

How do I configure VirtualBox to launch a VM from an external drive?

What steps do I need to take in order to use VirtualBox to access a CentOS 7 installation that is on a detached hard drive? Here is the situation: 1.) CentOS 7 and Windows 7 were installed on a ...
0
votes
0answers
11 views

Cannot mount CentOS 7 partition from external drive using Paragon ExtFS

I downloaded Paragon ExtFS to a Windows 8.1 computer and connected a detached hard drive using an Apricorn SATA Wire USB 3.0. But the Paragon ExtFS gui will not let me mount any of the components of ...
0
votes
2answers
30 views

2 Separate Machines, 2 Static IP Address. No connection Outside ISP Network

I have two separate physical machines. The first one is running CentOS 6.6 x86_64, and the second is running Ubuntu 14.04 LTS. (also 64-bit) Here's the issue. Both servers have a direct connection to ...
1
vote
1answer
43 views

how do I access a CentOS 7 file system from Windows 8.1

I am using an Apricorn SATA Wire to connect a hard drive removed from another PC to the USB drive of a Windows 8.1 machine. The external hard drive is from a machine that had both CentOS 7 and ...
0
votes
1answer
14 views

why do i keep getting the same $SHELL even i am on a different shell already

[oracle@SJOAM ~]$ echo $SHELL /bin/bash [oracle@SJOAM ~]$ sh sh-4.1$ echo $SHELL /bin/bash sh-4.1$ csh [oracle@SJOAM ~]$ echo $SHELL /bin/bash Why am i always in bash !? but the prompt are already ...
0
votes
1answer
16 views

VirtualBox claims a USB drive, but hosted CentOS 7 cannot access it

How can I get CentOS 7 to open a USB hard drive from within VirtualBox running inside Windows 8.1? I have VirtualBox installed in Windows 8.1 and I am using it to launch and use CentOS 7 within ...
1
vote
1answer
18 views

using rpm -i in Linux as a normal user

I'm trying to run rpm -i to install an rpm but it fails. I must always use root to do the installation. why ? [alankoh@sjoam2 Downloads]$ rpm -i sqldeveloper-4.0.3.16.84-1.noarch.rpm error: ...
0
votes
1answer
33 views

PPTPD on CentOS: no connection

I have installed PPTPD on my CentOS server and try to connect to it from my Mac and my Android smartphone. Both failed. This is the log on my Mac (from ppp client): Mon Jun 22 22:11:58 2015 : ...
0
votes
0answers
13 views

Stuck after reboot

I was trying to install centos on windows so I downloaded the iso image and I used unibootin to make a bootable usb device. After installing on my usb drive it asked me to reboot so I confirmed. I ...
0
votes
0answers
34 views

CentOS screen resolution on VirtualBox

I still have the same issue, and I stuck here for 2 days. Background: Install CentOS 6.6(64 bit) on VirtualBox 4.3.28. Already installed Guest Additions. The mouse works pretty fine after GA ...
0
votes
1answer
24 views

single user vs multi user mode (without networking) init level 1 vs 2

I tried init 1 (single user mode) and i am still able to switch between users. So this leads me to think that maybe other users is not able to login if i have a network (hence single user mode) Then ...
1
vote
1answer
29 views

understanding Stats on folder in Linux

This is my stat output on a folder stat Downloads/ File: `Downloads/' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fd02h/64770d Inode: 259595 Links: 3 What does it ...
1
vote
1answer
30 views

Maximizing Window for Virtual Machine in VirtualBox

I installed VirtualBox 4.3.28 in Windows 8.1 and am running CentOS 7 within it. But the problem is that VirtualBox is placing a size limit on the frame within which CentOS 7 is visible. Here is a ...
0
votes
1answer
46 views

Installing 64 bit CentOS using VirtualBox

I downloaded VirtualBox to a windows 8.1 machine by selecting the Windows (32-bit/64-bit) installer option at this link on the Oracle web ste. But when I try to create a new Virtual Machine using ...
0
votes
1answer
22 views

Windows 8.1 Virtual Machine pointing to CentOS 7

How do I set up a virtual machine within windows 8.1 pointing to a CentOS 7 installation which I would like to install on the same physical box? I have been encountering all sorts of problems ...
0
votes
0answers
32 views

How to access access virtual raid drives created by another linux system that died

I had a server, red hat 6.4, that had 2 raid systems connected to it, but then the server suddenly died. I connected one of the raid systems to another linux system with centos 6.3 after installing ...
0
votes
1answer
68 views

FFMPEG auto installer with latest version

I found this software which compiles FFMPEG with the older version. Is there something like it with the latest version of FFMPEG. Or how how can i update the FFMPEG after this auto install.
1
vote
1answer
28 views

xclock not showing (traditional X without X11 forwarding)

Server A -> 192.168.1.25 Server B -> 192.168.1.26 Both running Centos 6.6 with iptables off. No firewall in between. A$echo $DISPLAY :0.0 A$xclock -- Able to see xclock popup on the A screen ...
0
votes
0answers
14 views

Rename files if already exists centos7

I have a vsftpd installed in my centos 7 server. The problem is that i have mutiple clients sent files concurrently to the same ftp, and i am not able to rename the client file. The filename is ...
4
votes
1answer
39 views

What does chmod 7760 <directory> do in CentOS 7 bash?

I typed the command chmod 7760 by accident. I meant to type chmod 770 and now I'm curious what the first command did exactly. After typing chmod 7760 , I typed ls -Al and the directory name was ...
0
votes
0answers
30 views

Why does the EPEL Repo fail on a Centos 7 VM on VMWare Workstation 11?

I created a Centos 7 VM on VMware Workstation 11 on a windows 7 host. I am trying to reach the EPEL repo using sudo yum update -y and I get the following error: [root@localhost vagrant]# sudo ...
-1
votes
0answers
24 views

Server being compromised CentOS 7

I recently got a VPS with OVH, it was only Two pounds so I thought why not, when I started to play with it I noticed that I was getting alot of failed login reports, about 5 thousand a day... now when ...
0
votes
1answer
33 views

Using xhost, display and startx - confused

I have a client A (192.168.1.1)(vncviewer) accessing Server B (192.168.2.1) (RHEL6) to run a installer. The installation pre-requisite is to set the xhost and DISPLAY properly. Q1) Please correct me ...
0
votes
0answers
24 views

MacBook Pro - Install CentOS 5.7

Apologies if this appears to be solved by Google searches, but I've searched and tried all sorts of suggestions for 2 days and still cannot get this right. I would like to install CentOS 5.7 on my ...
2
votes
1answer
15 views

How to ensure ssh via cgroups on centos?

When some cpu-intensive processes are running on the server, chances are that we could not log in to this machine with error 'operation timeout' via ssh command. According to this post answered by ...
0
votes
0answers
13 views

Prevent processes from reading userspace

I was trying to read and write values from a process with a program (ceserver, part of the CheatEngine project) which both ran in user-space (without root). I didn't expect it to work, however ...