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
0answers
3 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
3k views

With Centos 7 as a Virtualbox guest on a Mac Host, how can I change the screen resolution of the console / command line?

I am using the minimum install of CentOS 7 with command line access only (no graphic support installed). After spending hours reading online about editing grub files, installing guest additions, and ...
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 ...
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 ...
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 ...
0
votes
1answer
114 views

Using dnsmasq with KVM

I just installed KVM on a CentOS 7 x64 minimal installation version at home. And I got a problem when the guest is trying to get an IP from the internal DHCP server from KVM (dnsmasq). I already have ...
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 ...
-1
votes
0answers
23 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 ...
1
vote
2answers
9k views

Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)

I try to use a program and I get the following error. /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link). ...
0
votes
1answer
119 views

COD4 Linux game server doesn't send UDP packets as response to broadcast

I am setting up a bunch of Game servers for a medium sized LAN tournament using CentOS 6 and the various Linux binaries used for the game servers. With COD4 the servers did not show up in the server ...
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 ...
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) ...
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
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 ...
1
vote
1answer
42 views

tuning windows 7 to centos linux smb over a long distance VPN connection

I'll try to fill in as I can, but here's the basics We have a VPN (I believe running openvpn) between a site in singapore to a main site in london, with the main site.Its a purely ipv4network. We ...
2
votes
3answers
4k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
2
votes
5answers
2k views

How to work around shell limitation of 'Argument list too long'?

How can I work around the bash shell limitation of 'Argument list too long' when using filename wildcards that match a ton of files in /tmp/? [my-centos4 tmp] rm -rf /tmp/myLocalFiles* bash: /bin/rm: ...
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 ...
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 ...
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 ...
3
votes
2answers
3k views

After minimal install Centos 6.5 doesn't see network

I installed an minimal Centos 6.5 (with standart VGA) on my laptop beside Windows 7 as dual boot. Now I want to install some extra features like XWindows but Centos doesn't reach the internet. It ...
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
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
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
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
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 ...
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 ...
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; ...
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 ...
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 ...
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
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 ...
7
votes
3answers
3k views

“muxserver_listen bind(): No such file or directory” using todo.txt over ssh on Haiku OS

I'm getting this error after entering a password when connecting via ssh from a Terminal window, ever since I followed these directions to reuse ssh connections: "...consider appending the following ...
0
votes
2answers
3k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the ...
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
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 ...
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 ...
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: ...
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
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 ...
1
vote
4answers
5k views

CentOS installing jre/jdk error

[root@jony source]# sh run.sh Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...
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
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 ...