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
24 views

“Failed to start SYSV” when starting self-made service

I'm trying to set up a service, on root, that will automatically start monetdb database after system startup because monetdb doesn't provide such mechanism. I've created /etc/init.d/monetdb script ...
-1
votes
2answers
4k views

How to disable text overwrite mode in Netbeans (CentOS)?

Everytime I type some text, it is overwriting what I have typed. I assume that the mode is set to overwriting, I want to insert the text not overwrite it, but I can't disable it because my insert ...
0
votes
1answer
2k 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 ...
9
votes
3answers
32 views

A way to trigger an SELinux policy violation?

I'm studying the basic workings of SELinux and would find it useful to trigger a denial. My test machine is running CentOS 7, it's a basic server install without any extra services, and getenforce ...
6
votes
1answer
4k views

How to configure a firewall on Centos using Vagrant and Chef

I've created a server box using Vagrant and Chef and everything is up and running correctly. However, when the box is installed from scratch the default iptables rules are in place and so I need to ...
0
votes
0answers
7 views

Resolve hostname of a Centos 6.5 dedicated server with a FQDN registered with Godddy

I have a domain registered with Godaddy and I am setting up a dedicated server for learning purposes. I want the server's hostname to be resolvable. I created custom NS records (ns1.mydomain.com & ...
0
votes
0answers
8 views

How do i attach running lftp process

so i have lftp process running for days at a time on a centos machine. I read the lftp man pages and discovered the attach command. However when i call it with the respective process id from the lftp ...
1
vote
2answers
60 views

Why do I see the unicode character è when I type Alt-h in my xterm on CentOS?

I am sshing into a centos box from an ubuntu box. I keep seeing è when I type alt+h (aka M-h). I want to use this key combo in tmux bindings but it doesn’t work because tmux doesn't recognize utf8 ...
0
votes
1answer
3k views

Start vino-server (VNC) before login on Linux CentOS

I'm using the default vino-server package to access my CentOS 6 workstation via VNC. It works ok, but only AFTER I locally login on the workstation. I need to have vino-server start BEFORE the login, ...
0
votes
1answer
15 views

Merge two partition without gparted on Centos 6.*

I have been trying to merge two partitions on my centos 6 virtual machine. I have only command line access to this machine. My system look like this: [x@x-y ~]$lsblk NAME ...
38
votes
8answers
152k views

How do you automatically detect a new network card in CentOS 6 / RedHat?

I'm using CentOS 6 in a virtual environment. When cloning a virtual version of CentOS, the old eth adapters are "removed" and replaced with new ones and net MAC addresses. However, the ifcfg-ethn ...
1
vote
1answer
248 views

Centos does not install on unallocated space

I have a 1TB hard disk on which I installed Windows 8. It has 100GB unallocated space. I have this partition on my Windows (click to enlarge): Now, I want to install CentOS 6.4 on the remaining ...
0
votes
1answer
2k views

Install CentOS on top of Ubuntu (dual boot)

I have a Ubuntu desktop and would like to install CentOS on top of it as a dual boot. The machine has two drives, each with one partition. I don't want to risk harming my Ubuntu installation. I'd ...
0
votes
0answers
14 views

Can't increase ulimit in Centos 6.6 - never persists

I'm trying to increase the nofiles limit in my Centos 6.6 system. My user is 'hchiu', and this is what I appended to my /etc/security/limits.conf: * hard nofile 128000 * soft nofile 128000 I've ...
1
vote
1answer
10 views

converting .VDI to .VHD CentOS will not boot

I have a CentOS vm created in VirtualBox. I need to convert it to VHD to use on my hyper-V server. I used the vbox manage tool and the conversion went fine. When i try to boot it up with Hyper-V it ...
1
vote
1answer
21 views

CentOS vhosts causing issues with Vagrant Share command

I'm running Vagrant on my Mac. I have a CentOS 6.4 box running with the Virtualbox provider and puppet (not important in this context). This is a basic Vagrantfile to show the issue I have: ...
0
votes
0answers
16 views

Setup https and http on wordpress nginx

[root@serv01 nginx]# cat nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: ...
0
votes
0answers
3 views

How to tune the XFS file system when you use LVM striping on top of HW RAID?

For example your LV strips (512k) over two PVs each HW RAID 7disk x 1MB RAID6. (what about if the LV is mirrored?) I cant seem to find information on tuning the su/sw values in this configuration. ...
1
vote
2answers
8k 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
49 views

Gitlab 7.10 install doesn't create proper ssh git user config?

I am setting up a Gitlab instance on my home VM lab and am baffled with the way SSH is configured in Gitlab so I would appreciate some insight into whether I am doing something wrong or is Gitlab ...
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 ...
1
vote
3answers
3k views

iptables syntax to forward remote desktop requests to a virtual machine on CentOS host

I can rdesktop into a VM running Windows XP hosted on my CentOS 5.4 machine from the hosting machine and work just fine using the private address (192.168.122.65), but I now need to allow remote ...
1
vote
1answer
6k views

How to upgrade libxml on CentOS

I have a following version of CentOS: $ cat /etc/issue CentOS release 5.5 (Final) Kernel \r on an \m and following version of libxml: $ php -i | grep libxml libxml Version => 2.6.26 libxml ...
0
votes
0answers
18 views

WordPress won't load unless iptables is disabled

I am running CentOS 6.6 using nginx. WordPress will not load unless iptables is disabled. I tried to add the 9000 port for fastcgi, but that did not work. I am guessing it has something to do with ...
1
vote
4answers
3k views

Which keys to use to copy and paste inside CentOS guest on MAC

Which keys to use to copy and paste inside CentOS guest on MAC. I am using VirtualBox on my MacBook Pro running CentOS 6.5 as a guest... I am trying to copy and paste some text in centOS (the guest) ...
0
votes
0answers
14 views

Im trying to user docker to install cloud9 ide

Im trying to user docker to install cloud9 ide on my centos7 vm. Im using this docker image: https://github.com/kdelfour/cloud9-docker Ive set firewalld to set 80 and 8080 to public, ive tried ...
0
votes
2answers
32 views

Samba: Need guest/everyone read-only and writeable by users in group

I can't get this to work correctly. I can login as guest fine but when I enter the username and password for a user on the server, it doesn't accept it. Not even root. smb.conf [global] ...
0
votes
0answers
15 views

Cross-Distro NFS Mount Not Fully Writeable in Ubuntu

I'm relatively new to setting up NFS mounts and I'm trying to get things started in the AWS cloud. I ultimately want to have a CentOS box which serves as the NFS server and can have different sorts of ...
9
votes
1answer
10k views

create tar with multiple directories and file locations

I have some scripts and files located in various locations like: /etc/dir1 /var/www/html /home/somedir I want to make a tar file so that it copies files and folders with the location structure. ...
0
votes
1answer
82 views

Starting rpcgssd on CentOS 7

I'm running CentOS 7.0.1406, and have problems with NFSv4, authenticating using krb5p. Neither idmapd nor gssd would start automatically. I could fix the former by doing systemctl enable nfs-idmap. ...
0
votes
2answers
92 views

Ubuntu 14.04 LTS with Centos desktop look and feel?

I'd like to install an up-to-date Ubuntu distro (14.04 LTS) at home since it is much easier to get desktop applications; however, I'm using Centos 6 at work and I'm used to (and prefer) the desktop ...
0
votes
0answers
13 views

I am having trouble getting yum update to run cleanly in Centos 7. It seems I have a conflict with the Network Manager that I cannot resolve

I am having trouble getting yum update to run cleanly in Centos 7. It seems I have a conflict with the Network Manager that I cannot resolve. CL output shows: Error: Package: ...
1
vote
1answer
19 views

MySql service start fails without anything meaningful (CentOS 7)

[root@myserver my.cnf.d]# service mysql start Starting MySQL. ERROR! And this is all I get. I tried checking the logs but couldn't find anything related to this. The database worked perfectly fine ...
2
votes
1answer
132 views

How can you create a USB installation drive w/ partition for kickstart files in CentOS 7?

How would you create a CentOS 7 USB installer with a data partition to store kickstart files? We will be getting some new servers shortly and overall I’m expecting to do over 30 servers installs. ...
0
votes
1answer
1k views

Issues with Network interface card in CentOS 7

I have just installed centOS in machine having 4 NICs. CentOS detected 2 of them but two or them are still missing from network manager. Both two of them are of same kind, I suspect that it's a driver ...
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 ...
9
votes
7answers
15k views

Are we suppose to manually delete contents of /tmp?

I was under the impression that /tmp will regularly delete "old" files. Seems to me that /tmp will just grow as long as it wants to and won't delete anything. Some people say it's betetr to just leave ...
0
votes
1answer
11 views

Sub-domains keeps redirecting me to Main web-site

I have just upgraded my version of LAMP Environment. Rest all the things are working fine but with Sub-domains i have a challenge. I have a Main website abc.biz and 5 to 6 sub-domains with it as ...
0
votes
1answer
553 views

Why doesn't the maldet shortcut command work, but full path does?

As you can see in the screenshot, the shortcut doesn't work, but the full path does. How can I fix it? I am logged-in as a normal user then su to root, since direct root is disabled BTW.
0
votes
2answers
44 views

Centos 7 detecting only 3 GB of RAM

Centos 7 is detecting only less than 3GB of RAM instead of 4 [root@compute ~]# free -m total used free shared buffers cached Mem: 2913 425 ...
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 ...
2
votes
2answers
482 views

How can I change my gnome-terminal title?

Previously I changed my gnome-terminal title to display which server I was logged into. I don't remember how I did this and I can't change it now. I ran through my .bashrc and found nothing that ...
0
votes
1answer
215 views

Using Java in Chrome on Centos 7

I have installed java on my computer running CentOS 7. I've tried yum install java downloading the proper rpm for my bitness from java.com/en/download. I've also done as suggested in this how to ...
0
votes
1answer
3k views

MySQL ERROR 2002 (HY000) on CentOS 5

I have problem with starting up mysql. When I type service mysql start All I got is ERROR 2002 (HY000): Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock' (2)** ...
0
votes
1answer
95 views

Package: otrs-4.0.7-01.noarch Requires: perl(Template) while installing OTRS in centos 6

While I was trying to install OTRS 4.0.7 in centos 6, an error occurred. I tried to Google it, but I cant get the results to resolve the issue. Loaded plugins: product-id, refresh-packagekit, ...
0
votes
4answers
10k views

Unable to access the internet in centOS from a static IP

I'm trying to setup a centOS server with a public static IP address but if I try and ping the router (192.168.1.1) I get "Network is unreachable", if I try and ping google.com I get "unknown host ...
0
votes
4answers
2k views

CentOS 7 ESXi/VMware Hang on Boot

I installed CentoOS 7.0 1406 on a VMWare ESXi 5.5 hypervisor. I installed "Sever with GUI" and selected KDE. However on boot I get the following messages in under a second, before the process tops ...
0
votes
1answer
2k views

Install CodeLite on CentOS

I have CentOS 6.4 I want to install CodeLite. Their website http://codelite.org/LiteEditor/Download#toc5 says that you need to compile it (as they don't have a package for CentOS). I did git clone ...
1
vote
1answer
50 views

Docker : cannot access internet from container

I am running CentOS 6.6 behind a corporate proxy. I've installed docker, and I had to make some modifications in order for the daemon to access the Docker Hub through the proxy. This part is working ...
0
votes
1answer
3k views

domain MX record not found while installing Zimbra

I am getting this error: DNS ERROR resolving MX for localhost.localdomain It is suggested that the domain name have an MX record configured in DNS Re-Enter domain name? [Yes] named file: $ttl ...